-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
52 lines (52 loc) · 985 Bytes
/
index.html
File metadata and controls
52 lines (52 loc) · 985 Bytes
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
<html>
<head>
<title>clouds</title>
<style>
html, head, body {
margin: 0;
padding: 0;
background: black;
color: white;
}
canvas {
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
width: 100%;
height: 100%;
}
#fps-counter {
position: absolute;
top: 0; left: 0;
color: black;
font-family: monospace;
margin: 8px;
}
#tools {
position: absolute;
right: 8px;
top: 8px;
}
#tools > .dg {
margin: 0;
}
</style>
</head>
<body>
<canvas></canvas>
<div id="fps-counter">
FPS: <span id="fps">...</span><br>
<span id="resolution">...</span>
<br><br>
<i style="opacity: 0.4">
Click to rotate camera<br>
WASD to fly<br>
Shift to fly faster
</i>
</div>
<div id="tools"></div>
<script src="./gl-matrix-min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.7.9/dat.gui.min.js"></script>
<script src="https://mrdoob.github.io/stats.js/build/stats.min.js"></script>
<script src="./main.js"></script>
</body>
</html>