-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdemo2.html
More file actions
29 lines (18 loc) · 811 Bytes
/
demo2.html
File metadata and controls
29 lines (18 loc) · 811 Bytes
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
<html>
<head>
<script src="https://aframe.io/releases/1.3.0/aframe.min.js"></script>
</head>
<body>
<a-scene loading-screen="enabled: false" vr-mode-ui="enabled: false" renderer="colorManagement: true" material="shader:standard" background="color: #F0EDEA" device-orientation-permission-ui="enabled: false" vr-mode-ui="enabled: false">
<a-assets>
<a-asset-item id="shoe" src="demo2/shoe.gltf"></a-asset-item>
</a-assets>
<!-- Using the asset management system. -->
<a-entity animation="property: rotation; to: 0 360 0; loop: true; dur: 140000; easing: linear">
<a-gltf-model src="#shoe"></a-gltf-model>
</a-entity>
<a-entity camera position="0 3 7" rotation="-16 0 0">
</a-entity>
</a-scene>
</body>
</html>