-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
42 lines (42 loc) · 1.2 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
<!DOCTYPE html>
<html>
<head>
<title>2020 CAD Renderer</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
html, body {
width: 100vw;
height: 100vh;
overflow: hidden;
padding: 0;
margin: 0;
background: #1d2123;
}
#output {
position: absolute;
left: 0;
top: 0;
font-family: monospace;
color: white;
padding: 10px;
font-size: 12px;
white-space: pre;
}
</style>
<script type="importmap">
{
"imports": {
"three": "https://unpkg.com/three@0.160.0/build/three.module.js",
"three/addons/": "https://unpkg.com/three@0.160.0/examples/jsm/",
"threading-js/": "https://unpkg.com/threading-js@1.0.6/"
}
}
</script>
</head>
<body>
<div id="output">...</div>
<script src="./src/lib/Inflate.min.js"></script>
<script type="module" src="index.js"></script>
</body>
</html>