-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
79 lines (75 loc) · 2.46 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Nova</title>
<script src="./lib/vendor/three.min.js"></script>
<script src="./lib/vendor/detector.js"></script>
<script src="./lib/vendor/stats.js"></script>
<script src="./lib/vendor/requestAnimationFrame.js"></script>
<link rel="shortcut icon" type="image/png" href="./favicon.png"/>
<link rel=stylesheet type="text/css" href="./stylesheets/reset.css"></link>
<link rel=stylesheet type="text/css" href="./stylesheets/fractal_generator.css"></link>
</head>
<body>
<button id="show-about-button">About</button>
<button id="hide-about-button" style="display: none;">X</button>
<button id="show-form-button">Parameters</button>
<button id="hide-form-button" style="display: none;">X</button>
<script src="./lib/variables.js"></script>
<script src="./lib/listeners.js"></script>
<script src="./lib/generator.js"></script>
<script src="./lib/animation.js"></script>
<script src="./lib/formVars.js"></script>
<script src="./lib/form.js"></script>
<ul id="header">
<h1 id="first-header-letter" class="header-letter">N</h1>
<h1 id="second-header-letter" class="header-letter">O</h1>
<h1 id="third-header-letter" class="header-letter">V</h1>
<h1 id="fourth-header-letter" class="header-letter">A</h1>
</ul>
<div id="about" class="scrollable" style="display: none;">
<h3 id="about">About</h3>
<br>
<p class="about">
Nova was made using THREE.js and WebGL.
<br>
<br>
The following modification of the Hopalong Attractor formula is used to generate fractal point maps:
<br>
<br>
x = y + (d + (|b * x - c|)^exponent) + e
<br>
y = a - x
<br>
<br>
This work was inspired by the Google Experiment made by Iacopo Sassarini.
<br>
</p>
<br>
<h3 id="controls">Controls</h3>
<ul class="controls">
<br>
<li>[Mouse Move] Change camera position</li>
<li>[F] Fix camera position</li>
<br>
<li>[Up-Down] Change particle velocity</li>
<li>[Left-Right] Change rotation speed</li>
<br>
<li>[A] Toggle about section</li>
<li>[P] Toggle parameters</li>
<li>[H] Toggle display</li>
</ul>
<br>
<br>
<div class="links">
<a href="https://github.com/dustin-chan">
<img src="./assets/github-icon.png" class="link"/>
</a>
<a href="https://www.linkedin.com/in/dustin-chan-47bb1616b/">
<img src="./assets/in-icon.png" class="link"/>
</a>
</div>
</div>
</body>
</html>