-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
65 lines (65 loc) · 2.42 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Google I/O Extended Hanoi 2024 | AR Photobooth</title>
<script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script>
<script src="../static/js/build/mindar-image-aframe.prod.js"></script>
<script src="../static/js/build/aframe-gif-shader.js"></script>
<link rel="stylesheet" href="../static/css/style.css" />
<script src="../static/js/screenshot.js"></script>
</head>
<body>
<a-scene
mindar-image="imageTargetSrc: ../static/mindar-target/5/targets.mind; uiScanning:no; maxTrack:5"
renderer="colorManagement: true, physicallyCorrectLights"
color-space="sRGB"
vr-mode-ui="enabled: false"
device-orientation-permission-ui="enabled: false"
>
<a-entity mindar-image-target="targetIndex: 0">
<a-entity
geometry="primitive:plane"
material="shader:gif;src:url(../static/gifs/ultilize/flutter.gif);"
scale="0.4 0.4 0.4"
position="-0.65 -0.4 1"
></a-entity>
</a-entity>
<a-entity mindar-image-target="targetIndex: 1">
<a-entity
geometry="primitive:plane"
material="shader:gif;src:url(../static/gifs/ultilize/firebase.gif);"
scale="0.4 0.4 0.4"
position="-3 -0.25 1"
></a-entity>
</a-entity>
<a-entity mindar-image-target="targetIndex: 2">
<a-entity
geometry="primitive:plane"
material="shader:gif;src:url(../static/gifs/ultilize/gdg.gif);"
scale="0.2 0.2 0.2"
position="-0.5 0.65 1"
></a-entity>
</a-entity>
<a-entity mindar-image-target="targetIndex: 3">
<a-entity
geometry="primitive:plane"
material="shader:gif;src:url(../static/gifs/ultilize/io.gif);"
scale="0.4 0.4 0.4"
position="-2.25 0.6 1"
></a-entity>
</a-entity>
<a-entity mindar-image-target="targetIndex: 4">
<a-entity
geometry="primitive:plane"
material="shader:gif;src:url(../static/gifs/ultilize/random.gif);"
scale="0.4 0.4 0.4"
position="-2.75 0.6 1"
></a-entity>
</a-entity>
<a-camera position="0 0 0" look-controls="enabled: false"></a-camera>
</a-scene>
<button id="screenshot" onclick="takeScreenshot()"></button>
</body>
</html>