-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
42 lines (26 loc) · 1.49 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Happy New Year!</title>
<script type="text/javascript" src="dist/vendors~main_head.vendor.bundle.js"></script><script type="text/javascript" src="dist/main_head.bundle.js"></script><script src="./dist/third_party/aframe-ar.js" type="text/javascript"></script></head>
<body style='margin : 0px; overflow: hidden;'>
<a-scene embedded arjs="sourceType: webcam; debugUIEnabled: false; patternRatio: 0.7;" vr-mode-ui="enabled: false">
<a-assets>
<a-asset-item id="tree" src="dist/assets/models/7d1689ce74fc97cfbab76b329cdb0970.glb"></a-asset-item>
</a-assets>
<a-marker type='pattern' url="dist/assets/patterns/74e03af1277c90b897be3b664407c259.patt">
<a-entity light="type: ambient; color: #BBB"></a-entity>
<a-entity light="type: hemisphere; color: #c8e9ff; groundColor: #000; intensity: 0.5"></a-entity>
<a-entity gltf-model="#tree" scale="0.3 0.3 0.3" position="0 -0.1 0" particles change-garland-lights gestures>
</a-entity>
<a-text value="HAPPY NEW YEAR!" font="sourcecodepro" color="red" side="double" scale="2 2 1" position="0 3 0"
letterSpacing="2" align="center"></a-text>
<a-text value="(from Alex)" font="sourcecodepro" color="red" side="double" scale="1.5 1.5 1" position="2 2.5 0"
letterSpacing="2" align="right"></a-text>
</a-marker>
<a-entity camera></a-entity>
</a-scene>
</body>
</html>