-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
49 lines (44 loc) · 1.82 KB
/
Copy pathindex.html
File metadata and controls
49 lines (44 loc) · 1.82 KB
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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>WebGPU Planet Generator</title>
<link rel="stylesheet" href="style.css">
<script src="rendering/gl-matrix-min.js"></script>
<script type="module" src="core/webGPU.js"></script>
</head>
<body style="text-align:center;">
<canvas width="1600" height="900" id="page" tabindex='2'></canvas>
<br>
<a id="fps">FPS: 10</a>
<br>
<a id="sim">Simulation: 0%</a>
<br>
<div class="slidercontainer">
<input type="range" list="tickmarks" min="0" max="7" value="7" class="slider" id="displayType" oninput="updateSettings()">
<datalist id="tickmarks">
<option value="0" label="Plates"></option>
<option value="1" label="Height"></option>
<option value="2" label="Temperature"></option>
<option value="3" label="Humidity"></option>
<option value="4" label="Plate Boundaries"></option>
<option value="5" label="Ores"></option>
<option value="6" label="Biomes"></option>
<option value="7" label="Rendered"></option>
</datalist>
</div>
<div>
<input type="checkbox" id="3d" checked />
<label for="3d">Planet View</label>
</div>
<!-- <div style="text-align: left; white-space-collapse:preserve; font-size: large;" id="stats">
<a id="perf">FPS: 10</a>
<a id="perf_input">FPS: 10</a>
<a id="perf_tectonic">FPS: 10</a>
<a id="perf_climate">FPS: 10</a>
<a id="perf_render">FPS: 10</a>
<a id="perf_render_star">FPS: 10</a>
<a id="perf_render_planet">FPS: 10</a>
</div> -->
</body>
</html>