-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
205 lines (184 loc) · 13.9 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
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<html>
<head>
<script src="https://aframe.io/releases/0.7.0/aframe.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/aframe-particle-system-component.min.js"></script>
<script src="https://rawgit.com/andreasplesch/aframe-star-component/master/dist/aframe-star-component.min.js"></script>
</head>
<body>
<a-scene>
<a-camera position="14 3 14" rotation="0 50 0"></a-camera>
<!-- Snow -->
<a-entity particle-system="preset: snow; particleCount:20000; texture:snowflake.png"></a-entity>
<!-- Tree -->
<a-entity scale="3 3 3">
<!-- Star -->
<a-entity>
<a-cone color="gold" position="0 3.75 0" radius-bottom=".1" height=".3"></a-cone>
<a-cone color="gold" position="0 3.595 0.15" radius-bottom=".1" height=".3" rotation=" 72"></a-cone>
<a-cone color="gold" position="0 3.595 -.15" radius-bottom=".1" height=".3" rotation=" -72"></a-cone>
<a-cone color="gold" position="0 3.45 0.09" radius-bottom=".1" height=".3" rotation=" 144"></a-cone>
<a-cone color="gold" position="0 3.45 -0.1" radius-bottom=".1" height=".3" rotation=" -144"></a-cone>
</a-entity>
<!-- Top tree -->
<a-cone color="green" radius-bottom="0.8" radius-top="0" position="0 3"></a-cone>
<!-- Mid tree -->
<a-cone color="green" radius-bottom="1.5" radius-top="0.3" position="0 2"></a-cone>
<!-- Bauble -->
<a-cylinder color="gold" radius="0.05" height="0.05" position="1 1.5"></a-cylinder>
<a-sphere color="red" radius=0.2 position="1 1.3"></a-sphere>
<!-- Tinsel -->
<a-torus-knot color="silver" metalness="0.25" position="0 1.5" p="8" radius-tubular=".025" scale="1 1 2.5" roughness="0.2" rotation="-90 0"></a-torus-knot>
<!-- Bottom tree -->
<a-cone color="green" radius-bottom="2" radius-top="0.7" position="0 1"></a-cone>
<!-- Stump -->
<a-cylinder color="#773f00" radius="0.5" position="0 0.5"></a-cylinder>
</a-entity>
<!-- Member ball ornament -->
<a-sphere src="amber.jpg" radius="1.25" position="3.030 3.564 2.724" rotation="0 -40 0"></a-sphere>
<!-- Snowman -->
<a-entity position="5 0 -5">
<a-sphere radius="1" color="white" position="0 0.90"> </a-sphere>
<a-sphere radius="0.8" color="white" position="0 1.90"> </a-sphere>
<a-sphere radius="0.6" color="white" position="0 2.90"> </a-sphere>
<a-cone color="tomato" height="1" radius-bottom="0.2" radius-top="0" rotation="80 0 0" position="0 3.1 0.85"> </a-cone>
<a-cylinder color="black" height="0.7" radius="0.5" position="0 3.5 -0.32" rotation="-35 0 0 "></a-cylinder>
<a-cylinder color="black" height="0.2" radius="0.7" position="0 3.2 -0.15" rotation="-35 0 0"></a-cylinder>
<a-sphere radius="0.1" color="black" position="0 0.7 0.95"> </a-sphere>
<a-sphere radius="0.1" color="black" position="0 1.25 0.93"> </a-sphere>
<a-sphere radius="0.1" color="black" position="0 1.85 0.77"> </a-sphere>
<a-sphere radius="0.1" color="black" position="0 2.35 0.65"> </a-sphere>
<a-sphere radius="0.1" color="black" position="-0.25 3.3 0.4"> </a-sphere>
<a-sphere radius="0.1" color="black" position="0.25 3.3 0.4"> </a-sphere>
<a-cylinder color="brown" height="1.5" radius="0.07" position="1 2.25 0" rotation="0 0 -45 "></a-cylinder>
<a-cylinder color="brown" height="1.5" radius="0.07" position="-1 2.25 0" rotation="0 0 45 "></a-cylinder>
</a-entity>
<!--Trevor's Tree-->
<a-entity position="-11 0 10.59" rotation="0 45 0">
<!--Tree-->
<a-entity>
<a-cylinder position="0 1 0" color="brown" height="2" radius=".5"></a-cylinder>
<a-cone position="0 4 0" color="green" radius-bottom="4" radius-top="0" height="4" segments-radial="4"></a-cone>
<a-cone position="0 4 0" color="green" radius-bottom="4" radius-top="0" height="4" segments-radial="4" theta-start="45"></a-cone>
<a-cone position="0 4.75 0" color="green" radius-bottom="3.5" radius-top="0" height="3.5" segments-radial="4"></a-cone>
<a-cone position="0 4.75 0" color="green" radius-bottom="3.5" radius-top="0" height="3.5" segments-radial="4" theta-start="45"></a-cone>
<a-cone position="0 5.5 0" color="green" radius-bottom="3" radius-top="0" height="3" segments-radial="4"></a-cone>
<a-cone position="0 5.5 0" color="green" radius-bottom="3" radius-top="0" height="3" segments-radial="4" theta-start="45"></a-cone>
<a-cone position="0 7 0" color="green" radius-bottom="2.5" radius-top="0" height="4" segments-radial="4"></a-cone>
<a-cone position="0 7 0" color="green" radius-bottom="2.5" radius-top="0" height="4" segments-radial="4" theta-start="45"></a-cone>
</a-entity>
<!-- Star -->
<a-entity position="0 9 0">
<a-sphere color="gold" position="0 .1 0" radius=".35"></a-sphere>
<a-cone color="gold" position="0 .75 0" radius-bottom=".3" radius-top="0" height="1.5"></a-cone>
<a-cone color="gold" position="-0.75 .3 0" radius-bottom=".3" radius-top="0" height="1.5" rotation="0 0 72"></a-cone>
<a-cone color="gold" position="0.75 .3 0" radius-bottom=".3" radius-top="0" height="1.5" rotation="0 0 -72"></a-cone>
<a-cone color="gold" position="-0.5 -.5 0" radius-bottom=".3" radius-top="0" height="1.5" rotation="0 0 144"></a-cone>
<a-cone color="gold" position="0.5 -.5 0" radius-bottom=".3" radius-top="0" height="1.5" rotation="0 0 -144"></a-cone>
</a-entity>
<!--Presents-->
<a-box position="2 .5 0" color="blue" change-color-on-hover>
<a-text id="boxText" value="Click Me!" align="center" color="#FFF" visible="false" position="1.4 .5 0.55" geometry="primitive: plane; width: 1.75" material="color: #333"></a-text>
</a-box>
<a-box position="-2 .5 0" color="red">
</a-box>
</a-entity>
<!--Sled-->
<a-entity position="12 0 -7" rotation="0 -45 0">
<a-box position="1.011 0.133 -3.767" scale="0.346 0.235 4.393" material="color:#474747"></a-box>
<a-box position="0.876 2.879 4.799" scale="0.201 0.235 1.81" material="color:#542b14" rotation="53.45696228570581 -36.21093265226803 0"></a-box>
<a-box position="-0.655 2.879 4.799" scale="0.201 0.235 1.81" material="color:#542b14" rotation="53.45696228570581 25.496621883321634 0"></a-box>
<a-box position="0.044 0.88 2.61" scale="0.564 0.235 3.62" material="color:#542b14"></a-box>
<a-box position="0.044 1.385 3.152" scale="1.251 0.235 1.141" material="color:#000000" rotation="89.83978227651309 0 0"></a-box>
<a-box position="0.526 1.419 1.259" scale="0.228 0.235 3.772" material="color:#000000" rotation="-12.032113697747288 0 0"></a-box>
<a-box position="-0.39 1.419 1.259" scale="0.228 0.235 3.772" material="color:#000000" rotation="-12.032113697747288 0 0"></a-box>
<a-box position="0.526 0.858 -0.82" scale="0.228 0.235 0.709" material="color:#000000" rotation="-55.748793466229095 0 0"></a-box>
<a-box position="-0.397 0.858 -0.82" scale="0.228 0.235 0.709" material="color:#000000" rotation="-55.748793466229095 0 0"></a-box>
<a-box position="0.044 1.415 4.497" scale="0.564 0.235 1.621" material="color:#542b14" rotation="-54.488286316941284 0 0"></a-box>
<a-box position="0.044 1.998 5.285" scale="1.282 0.94 0.707" material="color:#542b14" rotation="-89.32412026089534 0 0"></a-box>
<a-box position="0.044 1.778 5.69" scale="0.459 0.392 0.276" material="color:#ff1111" rotation="-89.324 0 0"></a-box>
<a-box position="-0.432 2.232 5.69" scale="0.459 0.392 0.276" material="color:#000000" rotation="-89.324 0 0"></a-box>
<a-box position="0.516 2.232 5.69" scale="0.459 0.392 0.276" material="color:#000000" rotation="-89.324 0 0"></a-box>
<a-box position="0.701 0.255 0.484" scale="0.564 0.235 2.058" material="color:#542b14" rotation="-36.38281999080728 -51.909976238852586 37.07036934496426"></a-box>
<a-box position="0.701 0.255 3.554" scale="0.564 0.235 2.058" material="color:#542b14" rotation="-36.38281999080728 -51.909976238852586 37.07036934496426"></a-box>
<a-box position="-0.351 0.327 0.484" scale="0.564 0.235 2.058" material="color:#542b14" rotation="-36.38281999080728 37.35684824252968 37.07036934496426"></a-box>
<a-box position="-0.351 0.327 3.454" scale="0.564 0.235 2.058" material="color:#542b14" rotation="-36.383 62.338 37.07"></a-box>
<a-box position="-0.016 0.739 -3.748" rotation="0 -89.725 0" scale="0.885 0.235 2.521" material="color:#474747"></a-box>
<a-box position="0.855 0.443 -3.748" rotation="-88.23550045014677 81.13082379052456 -171.14249340557691" scale="0.885 0.235 0.623" material="color:#474747"></a-box>
<a-box position="-0.984 0.443 -3.748" rotation="-88.23550045014677 81.13082379052456 -171.14249340557691" scale="0.885 0.235 0.623" material="color:#474747"></a-box>
<a-box position="-0.06 0.997 -5.678" scale="-2.734 -1.723 0.713" material="color:#b92424"></a-box>
<a-box position="-1.338 0.778 -4.632" rotation="0 90.413 180.023" scale="-1.744 -1.317 0.3" material="color:#b92424"></a-box>
<a-box position="1.151 0.778 -4.632" rotation="0 90.413 180.023" scale="-1.744 -1.317 0.3" material="color:#b92424"></a-box>
<a-box position="1.151 0.521 -1.823" rotation="0 90.413 180.023" scale="-1.006 -0.797 0.3" material="color:#b92424"></a-box>
<a-box position="-1.313 0.521 -1.823" rotation="0 90.413 180.023" scale="-1.006 -0.797 0.3" material="color:#b92424"></a-box>
<a-box position="-1.215 0.31 -1.494" rotation="-37.013 0 0" scale="0.346 0.235 1.27" material="color:#474747"></a-box>
<a-box position="1.03 0.31 -1.494" rotation="-37.013 0 0" scale="0.346 0.235 1.27" material="color:#474747"></a-box>
<a-box position="1.03 0.801 -1.322" rotation="27.559269945792597 0 0" scale="0.346 0.235 0.635" material="color:#474747"></a-box>
<a-box position="-1.218 0.801 -1.322" rotation="27.559269945792597 0 0" scale="0.346 0.235 0.635" material="color:#474747"></a-box>
<a-box position="-1.208 0.133 -3.767" scale="0.346 0.235 4.393" material="color:#474747"></a-box>
<a-box position="-0.112 0.257 -3.798" scale="2.542 0.015 4.393" material="color:#b92424"></a-box>
<a-box position="-0.112 0.46 -1.503" rotation="-37.013 0 0" scale="2.523 0.015 0.827" material="color:#b92424"></a-box>
<a-box position="-0.112 0.734 -1.393" rotation="27.559 0 0" scale="2.523 0.015 0.63" material="color:#b92424"></a-box>
<a-box position="-0.112 0.874 -1.184" rotation="27.559 0 0" scale="2.523 0.015 0.872" material="color:#b92424"></a-box>
<a-box position="-0.088 0.946 -1.61" rotation="62.051 -179.96604345059157 -179.96604345059157" scale="2.523 0.015 0.306" material="color:#b92424"></a-box>
<a-box position="-0.112 0.318 -1.278" rotation="-37.013 0 0" scale="2.523 0.015 1.153" material="color:#b92424"></a-box>
</a-entity>
<!-- Candy Cane -->
<a-obj-model src="./CandyCane.obj"
mtl="./CandyCane.mtl"
position="6 0.05 -9"
scale="1 1 1"
></a-obj-model>
<!-- Presents -->
<a-obj-model src="./PresentBlue.obj"
mtl="./PresentBlue.mtl"
position="0 0.05 7"
scale="1 1 1"
></a-obj-model>
<a-obj-model src="./PresentGreen.obj"
mtl="./PresentGreen.mtl"
position="2 0.05 6"
scale="1 1 1"
></a-obj-model>
<a-obj-model src="./PresentOrange.obj"
mtl="./PresentOrange.mtl"
position="4 0.05 5"
scale="1 1 1"
></a-obj-model>
<!-- Christmas Message -->
<a-entity
position="-8.5 12.5 10.5"
rotation="0 50 0"
text="width: 12;
lineheight: 50;
color: red;
anchor: left;
baseline: top;
wrapCount: 17;
value: Merry Christmas and a Happy New Year from GDG Sudbury"
></a-entity>
<a-plane color="#CCC" height="200" width="200" rotation="-90 0 0"></a-plane>
<!-- Santa -->
<a-entity position="15.12 -1.87 -1.55" rotation="0 165.9 0" scale="2.5 2.5 2.5">
<!-- body -->
<a-sphere color="red" radius=0.5 position="0 1.5 0"></a-sphere>
<!-- head -->
<a-sphere color="#f4d8be" radius=0.25 position="0 2.2 0"></a-sphere>
<!-- hat -->
<a-cone color="red" position="0 2.6 0" height=0.5 radius-bottom=0.2></a-cone>
<a-cylinder color="white" position="0 2.3 0" height=0.08 radius=0.22></a-cylinder>
<a-sphere color="white" position="0 2.823 0" radius=0.034></a-sphere>
<!-- arms -->
<a-cylinder color="red" position="0.5 1.7 0" rotation="0 0 90" height=0.4 radius=0.075></a-cylinder>
<a-cylinder color="red" position="-0.5 1.7 0" rotation="0 0 90" height=0.4 radius=0.075></a-cylinder>
<!-- belt -->
<a-cylinder color="black" radius=0.55 height=0.01 position="0 1.5 0"></a-cylinder>
<a-box color="gold" depth=0.05 height=0.05 width=0.1 position="0 1.5 -0.5"></a-box>
<!-- legs -->
<a-cylinder color="red" radius=0.1 height=0.5 position="0.16 1 0"></a-cylinder>
<a-cylinder color="red" radius=0.1 height=0.5 position="-0.16 1 0"></a-cylinder>
</a-entity>
<!-- Blue sky -->
<a-sky color="#4286f4"></a-sky>
</a-scene>
</body>
</html>