forked from Petroochio/aframe_physics_webpack_test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
21 lines (19 loc) · 1.23 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<html>
<head>
<script src="build/app.js"></script>
</head>
<body>
<a-scene background="color: #FAFAFA">
<a-camera position="0 8 2"></a-camera>
<a-box static-body width="0.75" height="0.75" depth="0.75" move-circle position="-1 0.8 -3" rotation="0 45 0" color="#4CC3D9" shadow></a-box>
<a-sphere dynamic-body position="0 2.5 -4.1" radius="0.25" color="#EF2D5E" shadow></a-sphere>
<a-sphere dynamic-body position="0 2.1 -4" radius="0.25" color="#EF2D5E" shadow></a-sphere>
<a-plane static-body position="0 0 -4" rotation="-90 0 0" width="4" height="4" color="#7BC8A4" shadow></a-plane>
<a-plane static-body position="0 4 -4" rotation="90 0 0" width="4" height="4" color="#7BC8A4" shadow></a-plane>
<a-plane static-body position="0 2 -6" rotation="0 0 0" width="4" height="4" color="#7BC8A4" shadow></a-plane>
<a-plane static-body position="-2 2 -4" rotation="0 90 0" width="4" height="4" color="#7BC8A4" shadow></a-plane>
<a-plane static-body position="2 2 -4" rotation="0 -90 0" width="4" height="4" color="#7BC8A4" shadow></a-plane>
<a-plane static-body position="0 2 -2" rotation="-180 0 0" width="4" height="4" color="#7BC8A4" shadow></a-plane>
</a-scene>
</body>
</html>