-
Notifications
You must be signed in to change notification settings - Fork 8
/
index.html
47 lines (43 loc) · 1.27 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>GDS2WebGL</title>
<meta charset="utf-8">
<style>
html, body {
margin: 0 !important;
padding: 0 !important;
overflow: hidden;
touch-action: none;
background-color: black;
}
#glcanvas {
position: fixed;
left: 0;
top: 0;
width: 100vw;
height: 100vh;
}
#navbox {
position: fixed;
left: 0;
bottom: 0;
width: 100vw;
padding: 5px;
background-color: #00000080;
color: #eeeeff;
font-family: sans-serif;
}
a {
color: #aaaaff;
text-decoration: none;
}
</style>
</head>
<body onresize="resizeHandler()">
<canvas id="glcanvas"></canvas>
<div id="navbox"><center>drag / pinch / mouse wheel to navigate - generated by <a href="https://github.com/s-holst/GDS2WebGL">GDS2WebGL</a></center></div>
</body>
<script src="data.js"></script>
<script src="bundle.js"></script>
</html>