-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
92 lines (75 loc) · 2.93 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
80
81
82
83
84
85
86
87
88
89
90
91
92
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<meta name="robots" content="all" />
<meta name="theme-color" content="black" />
<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="css/leftContainer.css">
<link rel="stylesheet" href="css/info.css">
<link rel="icon" href="./assets/icon.png" />
<link rel="manifest" href="./app.webmanifest" />
<title>WebGL Mandelbrot</title>
<script type="module" src="./js/main.js"></script>
<script type="module" src="./js/buttons.js"></script>
<link rel="prefetch" as="fetch" href="shaders/vertex.glsl" />
<link rel="prefetch" as="fetch" href="shaders/fragment.glsl" />
</head>
<body>
<div class="top-left-container">
<label class="max-iterations">
<span>Max iterations: <span id="max-iterations">256</span></span>
<input type="range" min="0" max="15" value="8" step="1" />
</label>
<div class="color-compression">
<label for="colorCompressionRange">Color Compression: <span id="colorCompressionDisplay">1.0</span></label>
<input type="range" id="colorCompressionRange" min="0.1" max="10" step="0.1" value="1">
</div>
<span>Zoom level: <span id="zoom-level">0</span></span>
<label>
Re: <input type="text" id="Re" readonly>
</label>
<label>
Im: <input type="text" id="Im" readonly>
</label>
<!-- <label for="theme-select">Select color map:</label> -->
<select id="theme-select">
<option value="" disabled selected>Select the theme:</option>
<option value="1">Emerald Flow</option>
<option value="2">Noisy Rainbow</option>
<option value="3">Thermal Vision</option>
<option value="4">Binary Decomposition</option>
<option value="5">Palette Indexing</option>
<option value="6">Smooth Cycles</option>
<option value="7">Vintage Sepia</option>
</select>
<!-- Button container with images inside buttons -->
<div class="button-container">
<button id="hide-button">
<img src="assets/left_arrow.png" alt="Hide container">
</button>
<button id="fullscreen-button">
<img src="assets/fullscreen.png" alt="Fullscreen">
</button>
<button id="screenshot-button">
<img src="assets/screenshot.png" alt="Screenshot">
</button>
<!-- <button id="no-action-button">
<img src="assets/gh.png" alt="No Action">
</button> -->
<button id="info">
<img src="assets/info.png" alt="Info">
</button>
</div>
<!-- Overlay for the screenshot flash effect -->
<div id="screenshot-flash"></div>
</div>
<div id="github-button">
<iframe src="https://ghbtns.com/github-btn.html?user=VyvaHart&repo=MandelbrotGL&type=star&count=true&size=large" frameborder="0" scrolling="0" width="70" height="30" title="GitHub"></iframe>
</div>
<!-- <div id="coordinates"></div> -->
<canvas id="canvas"></canvas>
<canvas id="small_canvas"></canvas>
</body>
</html>