-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
75 lines (54 loc) · 2.58 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
<!doctype HTML>
<html>
<!--
https://aframe.io/blog/arjs/
-->
<head>
<meta charset="UTF-8">
<meta name="robots" content="noindex, nofollow">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Upload Test">
<meta name="application-name" content="AR Example">
<meta name="mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<link rel="apple-touch-icon" sizes="180x180" href="/favico/white/apple-touch-icon.png">
<link rel="icon" type="image/png" href="/favico/white/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/favico/white/android-chrome-192x192.png" sizes="192x192">
<link rel="icon" type="image/png" href="/favico/white/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="/manifest.json">
<!--
<link rel="mask-icon" href="/favico/white/safari-pinned-tab.svg" color="#000000">
<link rel="shortcut icon" href="/favico/white/favicon.ico">
<meta name="msapplication-config" content="/browserconfig.xml">
<meta name="theme-color" content="#000000">
-->
<script src="https://aframe.io/releases/0.8.2/aframe.min.js"></script>
<script src="https://cdn.rawgit.com/jeromeetienne/AR.js/1.6.2/aframe/build/aframe-ar.js"></script>
</head>
<body _style='margin : 0px; overflow: hidden;'>
<a-scene embedded arjs='sourceType: webcam;'>
<!--
<a-assets>
<a-asset-item id="tree" src="/path/to/tree.gltf"></a-asset-item>
</a-assets>
-->
<a-assets>
<img id="my-image" src="Scott_McOlash.jpg">
</a-assets>
<a-image rotation="90 0 180" src="#my-image"></a-image>
<!-- <a-text value="Hello, World!"></a-text> -->
<!--
<a-entity gltf-model="##tree"></a-entity>
-->
<!-- <a-marker-camera preset='hiro'></a-marker-camera> -->
<a-marker-camera type='pattern' url='pattern-marker.patt'></a-marker-camera>
<!-- <a-box position='0 0 0.5' rotation="0 0 0" width="1.0" length="1.0" height="1.0" color="red" material='opacity: 0.50;'></a-box> -->
<!-- <a-sphere _position="0 0.5 -0.5" radius="0.25" material="opacity: 0.25;" color="#EF2D5E"></a-sphere> -->
<!-- <a-cylinder position="1 0.75 1" radius="0.5" height="0.25" color="#FFC65D"></a-cylinder> -->
<!-- <a-plane position="0 0 -1" rotation="-90 0 0" width="4" height="4" color="#7BC8A4"></a-plane> -->
<a-sky color="#ECECEC"></a-sky>
</a-scene>
</body>
</html>