-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
62 lines (35 loc) · 1.48 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
<!DOCTYPE html>
<html lang="en">
<head>
<script src="https://cdn.jsdelivr.net/npm/p5@1.4.1/lib/p5.js"></script>
<script src="https://webglfundamentals.org/webgl/resources/m3.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
<meta charset="utf-8" />
</head>
<body>
<canvas id="mycanvas" width="800" height="800" z-index="-2">
HTML5 Canvas is not supported
</canvas>
<div id="settings" style="visibility: visible;">
<span class="heading">Press C to Toggle Settings</span>
<span id="hsb-label">HSB Offset: 100</span>
<input id="hsboffset" type="range", min="0", max="255" value="100" class="slider">
<span id="spread-label">Spread: 1.0</span>
<input id="spread" type="range", min="-10", max="10" step="0.01" class="slider">
<span id="iter-label">Iterations: 130</span>
<input id="iterations" type="range", min="2", max="1000" value="130" class="slider">
<span id="mandel-label">Mandelbrot</span>
<input id="mandelbrot" type="checkbox">
</div>
<main>
</main>
<script src="src/shaders.js"></script>
<script src="src/shaders/vertex-shader.js"></script>
<script src="src/shaders/fragment-shader.js"></script>
<script src="src/actions.js"></script>
<script src="src/elements.js"></script>
<script src="src/webgl.js"></script>
<script src="src/gl-builder.js"></script>
<script src="src/start.js"></script>
</body>
</html>