-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (49 loc) · 1.38 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
48
49
<!DOCTYPE html>
<html lang="us-en">
<head>
<title>logic lab simulator by thrax</title>
<style>
html, body {
width: 100%;
height: 100%;
background-color: black;
background-size: 20%;
background-repeat: repeat;
}
body {
font-family: 'Verdana';font-size: 22px;
position: relative;
margin: 0;
overflow: hidden;
}
canvas {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 2;
}
#loader{
color:white;
display:table;
margin:0 auto;
align-items: center;
}
</style>
<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
<script type="importmap">
{
"imports": {
"three": "https://unpkg.com/[email protected]/build/three.module.js",
"three/addons/": "https://unpkg.com/[email protected]/examples/jsm/",
"dat.gui": "https://unpkg.com/[email protected]/build/dat.gui.module.js"
}
}
</script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/tweakpane.min.js"></script>
</head>
<body>
<script type="module" src="./js/app.js"></script>
<span id='loader'>lloading...</span>
</body>
</html>