-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
52 lines (52 loc) · 2.09 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
50
51
52
<!doctype html>
<html lang="en">
<head>
<title>Robot</title>
<meta charset="UTF-8" />
<meta name="description" content="Three.js Template" />
<meta
name="viewport"
content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, user-scalable=0.0, viewport-fit=cover"
/>
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-title" content="Three.js" />
<link rel="icon" type="image/png" href="img/favicon.png" />
<link rel="shortcut icon" type="image/png" href="img/touch-icon-152.png" />
<link rel="apple-touch-icon" href="img/touch-icon-152.png" />
<link rel="apple-touch-icon" sizes="152x152" href="img/touch-icon-152.png" />
<link rel="apple-touch-icon" sizes="180x180" href="img/touch-icon-180.png" />
<link rel="manifest" href="site.webmanifest" />
<link type="text/css" rel="stylesheet" href="css/style.css" />
</head>
<script src="./lib/es-module-shims.js"></script>
<script type="importmap">
{
"imports": {
"three": "./lib/three.module.min.js",
"OrbitControls": "./lib/OrbitControls.js",
"RoundedBoxGeometry": "./lib/RoundedBoxGeometry.js",
"RGBELoader": "./lib/RGBELoader.js",
"Tween": "./lib/tween.module.min.js",
"lilgui": "./lib/lil-gui.module.js",
"sandbox": "./src/sandbox.js",
"gui": "./src/gui.js",
"robot": "./src/robot.js",
"robotViz": "./src/robotViz.js",
"control": "./src/control.js",
"apiPoweredUp": "./src/api/poweredup.js",
"apiMoveHub": "./src/api/movehub.js"
}
}
</script>
<body>
<script src="./lib/poweredup.js"></script>
<script src="./lib/movehub.js"></script>
<script src="./lib/joy.js"></script>
<script type="module" src="src/index.js"></script>
<div id="container" class="container"></div>
<div id="gui"></div>
<div id="joystick" class="joystick"></div>
</body>
</html>