-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
31 lines (31 loc) · 2 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Tree</title>
<script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script>
<link rel="apple-touch-icon" sizes="180x180" href="favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon/favicon-16x16.png">
<link rel="manifest" href="favicon/site.webmanifest">
</head>
<body>
<a-scene>
<a-camera>
<a-cursor></a-cursor>
</a-camera>
<a-cylinder position="0 2.25 -8" color="#854b00" height="4.5" width="1"></a-cylinder>
<a-cone position="0 3 -8" color="#35bd04" scale="3 3 3"></a-cone>
<a-cone position="0 3.8 -8" color="#35bd04" scale="2.5 2.5 2.5"></a-cone>
<a-cone position="0 4.6 -8" color="#35bd04" scale="2 2 2"></a-cone>
<a-sphere position="2 2 -8" color="#e60000" radius="0.3" animation="property: object3D.position.y; to: 0.29; dir: alternate; dur: 650; loop: false" scale="1 1 1"></a-sphere>
<a-box position="2 2 -8" color="#8f4700" scale="0.06 0.15 0.06" animation="property: object3D.position.y; to: 0.65; dir: alternate; dur: 650; loop: false"></a-box>
<a-sphere position="1.9 2 -8" color="#00ed3f" scale="0.06 0.15 0.06" rotation="0 0 70" animation="property: object3D.position.y; to: 0.6; dir: alternate; dur: 650; loop: false"></a-sphere>
<a-dodecahedron position="-2 0.8 -5" color="#9c9c9c" scale="1 0.8 1"></a-dodecahedron>
<a-box position="0 1.5 -5" color="#4CC3D9" animation="property: object3D.position.y; to: 0.5; dir: alternate; dur: 550; loop: true" scale="1 1 1"></a-box>
<a-cone position="0 2.25 -5" scale="0.5 0.5 0.5" color="#ff8787" animation="property: object3D.position.y; to: 1.2; dir: alternate; dur: 550; loop: true"></a-cone>
<a-plane position="0 0 -8" rotation="-90 0 0" width="7" height="7" color="#00e622"></a-plane>
<a-sky color="#adc5ff"></a-sky>
</a-scene>
</body>
</html>