-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
58 lines (53 loc) · 2.86 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<html lang="en">
<head>
<title>Julia Set Grapher</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link href="css/style.css" rel="stylesheet">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
<script src="js/main.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-91442822-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
<header>
<nav>
<h1>Julia Set Grapher</h1>
</nav>
</header>
<main>
<div class="text">
<p>
This is an interactive Julia set grapher. All you have to do is to enter two parameters - real and imaginary components of a complex number
(example: <samp>Re: 0.285 | Im: 0.01</samp>).<br><br>
You can also save the fractal you see by clicking on "Save as image" button.
</p>
<p>
If you wish to see and use a standalone version written in C then visit my
<a href="https://github.com/jelenaljaz/julia-set-visualisation">GitHub</a> page.
If you'd like to clone this project, then click
<a href="https://github.com/jelenaljaz/julia-set-html5" target="_blank">here (GitHub)</a>
or <a href="https://gitlab.com/jelenaljaz/julia-set-html5" target="_blank">here (GitLab)</a>.
</p>
<form id="form">
<input type="text" name="re" value="" placeholder="real component">
<input type="text" name="im" value="" placeholder="imaginary component">
<input type="button" name="post" value="Submit">
<a href="" class="save" download="fractal.png">Save as image</a>
</form>
</div>
<canvas id="fractal" width="800" height="800"></canvas>
</main>
<footer>
<span class="copyright"><a href="http://jelen.graphics">Aljaž Jelen</a> © </span>
</footer>
</body>
</html>