forked from acmpesuecc/dablob
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
39 lines (39 loc) · 936 Bytes
/
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>boilerplate</title>
<style>
body {
margin: 0;
background-color: black;
position: relative;
overflow: hidden;
}
canvas {
width: 100vw;
height: 100vh;
display: block;
}
#fps {
position: absolute;
color: yellow;
font-size: 20px;
background-color: rgba(0, 0, 0, 0.5);
}
</style>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/gl-matrix/2.8.1/gl-matrix-min.js"
integrity="sha512-zhHQR0/H5SEBL3Wn6yYSaTTZej12z0hVZKOv3TwCUXT1z5qeqGcXJLLrbERYRScEDDpYIJhPC1fk31gqR783iQ=="
crossorigin="anonymous"
defer
></script>
<script type="module" src="src/main.js"></script>
<script src="debug/webgl-debug.js"></script>
</head>
<body>
<span id="fps"></span>
<canvas id="glcanvas"></canvas>
</body>
</html>