-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwayfinding.html
More file actions
30 lines (28 loc) · 1.1 KB
/
wayfinding.html
File metadata and controls
30 lines (28 loc) · 1.1 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<title>GeoAR Camera Frame</title>
<script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script>
<script src="https://unpkg.com/aframe-look-at-component@0.8.0/dist/aframe-look-at-component.min.js"></script>
<script src="https://raw.githack.com/AR-js-org/AR.js/master/aframe/build/aframe-ar-nft.js"></script>
<script src="/js/places.js"></script>
</head>
<body style='margin: 0; overflow: hidden;'>
<a-scene
debug
cursor='rayOrigin: mouse; fuse: true; fuseTimeout: 0;'
raycaster="objects: [gps-entity-place];"
vr-mode-ui="enabled: false"
embedded
arjs='sourceType: webcam; sourceWidth:1080; sourceHeight:764; displayWidth: 1080; displayHeight: 764; debugUIEnabled: false;'>
<a-entity id = "place-label" distance-check>
<span id = "place-name"></span >
</a-entity>
<a-camera
gps-camera rotation-reader look-controls position="0 1.6 0">
</a-camera>
</a-scene>
</body>
</html>