-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprimitives_sample.html
67 lines (66 loc) · 1.68 KB
/
primitives_sample.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
<html>
<head>
<script src="https://aframe.io/releases/1.0.3/aframe.min.js"></script>
</head>
<title>Primitives Sample</title>
<body>
<a-scene>
<a-box position="-1.5 0.5 -3" rotation="0 45 0" color="#4CC3D9"></a-box>
<a-sphere position="0 1.2 -5" radius="1.25" color="#EF2D5E"></a-sphere>
<a-cylinder
position="1.4 0.75 -3"
radius="0.5"
height="1.5"
color="#FFC65D"
></a-cylinder>
<a-cone position="3 0.4 -3.5" color="tomato"></a-cone>
<a-plane
position="0 0 -4"
rotation="-90 0 0"
width="8"
height="4"
color="#7BC8A4"
></a-plane>
<a-circle position="2 1.9 -3.5" color="#aaaaaa" radius="1"></a-circle>
<a-dodecahedron
color="#FF926B"
position="-2 1.9 -3.5"
radius="0.9"
></a-dodecahedron>
<a-icosahedron
position="-3 1 -3"
color="#FF926B"
radius="0.7"
></a-icosahedron>
<!-- <a-light type="point" position="-3 3 -3" color="blue"></a-light> -->
<a-torus
color="#43A367"
position="-3 3.5 -3.5"
arc="270"
radius="1"
radius-tubular="0.1"
></a-torus>
<a-torus-knot
color="#B84A39"
position="2 4 -3.5"
arc="100"
p="4"
q="3"
radius="1"
radius-tubular="0.1"
></a-torus-knot>
<a-triangle
position="2 2 -3.5"
color="#333333"
vertex-c="1 -1 0"
></a-triangle
><a-ring
position="1 4 -4"
color="teal"
radius-inner="1"
radius-outer="1"
></a-ring>
<a-sky color="#ECECEC"></a-sky>
</a-scene>
</body>
</html>