-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
31 lines (25 loc) · 1.43 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
<html>
<head>
<script src="https://aframe.io/releases/0.9.2/aframe.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/aframe-physics-system.min.js"></script>
<!-- <script src="//cdn.rawgit.com/donmccurdy/aframe-extras/v6.0.0/dist/aframe-extras.min.js"></script> -->
<script src="components/rain-of-entities.js"></script>
<script src="components/rain-of-posts.js"></script>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
</head>
<body>
<a-scene physics id="theScene" rain-of-entities="spread:13" rain-of-posts="spread: 5">
<a-entity id="rig" position="0 1.6 0" rotation="0 180 0">
<a-entity id="camera" camera look-controls wasd-controls></a-entity>
</a-entity>
<!-- <a-box position="-1 10 -3" rotation="0 45 0" color="#4CC3D9" height="2" dynamic-body></a-box> -->
<!-- <a-box position="-1 4 -3" rotation="0 45 0" color="#4CC3D9" height="2" dynamic-body></a-box> -->
<a-box position="0 -0 -4" rotation="-90 0 0" width="4" height="4" color="#3E3E3E" static-body></a-box>
<a-sky color="#ea3456"></a-sky>
</a-scene>
<script src="./kaaro.js"></script>
</body>
</html>