-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
70 lines (65 loc) · 3.14 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<html lang="en">
<head>
<title>Ammo.js Raycast vehicle demo</title>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"
/>
<style>
body {
color: #61443e;
font-family: Monospace;
font-size: 13px;
text-align: center;
background-color: #bfd1e5;
margin: 0px;
overflow: hidden;
}
#speedometer {
color: #ffffff;
background-color: #990000;
position: absolute;
bottom: 0px;
padding: 5px;
}
#info {
position: absolute;
top: 0px;
width: 100%;
padding: 5px;
}
a {
color: #a06851;
}
</style>
</head>
<body>
<div id="container"><br /><br /><br /><br /><br />Loading...</div>
<div id="speedometer">0.0 km/h</div>
<div id="info">
Ammo.js Raycast vehicle demo<br />Press W,A,S,D to move.
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/umd/index.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/kripken/ammo.js@HEAD/builds/ammo.wasm.js"></script>
<script src="https://cdn.jsdelivr.net/gh/mrdoob/three.js@r142/build/three.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/mrdoob/three.js@r142/examples/js/controls/OrbitControls.js"></script>
<script src="https://cdn.jsdelivr.net/gh/mrdoob/three.js@r142/examples/js/libs/stats.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/mrdoob/three.js@r142/examples/js/loaders/STLLoader.js"></script>
<script src="https://cdn.jsdelivr.net/gh/mrdoob/three.js@r142/examples/js/loaders/GLTFLoader.js"></script>
<script src="https://cdn.jsdelivr.net/gh/mrdoob/three.js@r142/examples/js/loaders/FBXLoader.js"></script>
<script src="https://cdn.jsdelivr.net/gh/mrdoob/three.js@r142/examples/js/shaders/LuminosityHighPassShader.js"></script>
<script src="https://cdn.jsdelivr.net/gh/mrdoob/three.js@r142/examples/js/shaders/CopyShader.js"></script>
<script src="https://cdn.jsdelivr.net/gh/mrdoob/three.js@r142/examples/js/shaders/AfterimageShader.js"></script>
<script src="https://cdn.jsdelivr.net/gh/mrdoob/three.js@r142/examples/js/geometries/TextGeometry.js"></script>
<script src="https://cdn.jsdelivr.net/gh/mrdoob/three.js@r142/examples/js/postprocessing/Pass.js"></script>
<script src="https://cdn.jsdelivr.net/gh/mrdoob/three.js@r142/examples/js/postprocessing/ShaderPass.js"></script>
<script src="https://cdn.jsdelivr.net/gh/mrdoob/three.js@r142/examples/js/postprocessing/EffectComposer.js"></script>
<script src="https://cdn.jsdelivr.net/gh/mrdoob/three.js@r142/examples/js/postprocessing/RenderPass.js"></script>
<script src="https://cdn.jsdelivr.net/gh/mrdoob/three.js@r142/examples/js/postprocessing/UnrealBloomPass.js"></script>
<script src="https://cdn.jsdelivr.net/gh/mrdoob/three.js@r142/examples/js/postprocessing/AfterimagePass.js"></script>
<script src="https://cdn.jsdelivr.net/gh/mrdoob/three.js@r142/examples/js/loaders/FontLoader.js"></script>
<script src="./script.js"></script>
</body>
</html>