-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (45 loc) · 1.45 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<script src="https://npmcdn.com/[email protected]/dist/regl.js"></script>
<script src="https://unpkg.com/[email protected]/gl-matrix.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<style>
body {
background-color: black;
}
.overlay {
--width: 250px;
position: fixed;
opacity: 0.5;
background-color: black;
z-index: 1;
box-shadow: 0px 0px 5px 0px black;
}
.overlay:hover {
opacity: 1;
}
.stats {
white-space: pre-wrap;
width: 200px;
z-index: 1;
position: fixed;
top: 0px;
left: 0px;
font-family: monospace;
pointer-events: none;
}
</style>
</head>
<body>
<div class="overlay"></div>
<div class="stats" id="stats_elem"></div>
<script src="./zig-mesh/wasm.js"></script>
<script src="./spring.js"></script>
</body>
</html>