-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
50 lines (50 loc) · 1.34 KB
/
index.html
File metadata and controls
50 lines (50 loc) · 1.34 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
50
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
<title>Space</title>
<style type="text/css">
html,
body {
height: 100%;
background-color: black;
margin: 0;
padding: 0;
overflow: hidden;
display: flex;
flex-direction: column;
overflow: hidden;
}
canvas {
height: 0;
flex: 1 1;
}
#debug {
position: fixed;
padding: 8px;
color: white;
font-family: monospace;
}
</style>
</head>
<body>
<div id="debug"></div>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/gl-matrix/3.4.2/gl-matrix.min.js"
integrity="sha512-OLHsi9pTFoIFEdQUokm14DmQismCtKW+oBEKlpHVt0YU8SjMNIgfS6/CxJQpjLC0Ea8iPpVxPxr08swk1vSePQ=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/twgl.js/6.1.0/twgl.min.js"
integrity="sha512-Sq/DZNtCti7bzZJQOaMLj8A/JrHC2ISJQgZvKWYNkMBM8LssJr0Vn/K7J3GbPBjf/G4pOXqtvEVHeI6tb7PcDQ=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<script src="space.js" charset="utf-8"></script>
</body>
</html>