-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
18 lines (18 loc) · 781 Bytes
/
index.html
File metadata and controls
18 lines (18 loc) · 781 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<html>
<script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script>
<!-- we import arjs version without NFT but with marker + location based support -->
<script src="https://raw.githack.com/AR-js-org/AR.js/master/aframe/build/aframe-ar.js"></script>
<body style="margin : 0px; overflow: hidden;">
<a-scene embedded arjs>
<a-marker type="pattern" url="https://raw.githubusercontent.com/Archinect/archinect.github.io/main/pattern-ar.patt">
<a-entity
position="0 0 0"
scale="0.05 0.05 0.05"
gltf-model="raw.githack.com/AR-js-org/AR.js/master/aframe/examples/image-tracking/nft/trex/scene.gltf">
</a-entity>
</a-marker>
<a-entity camera></a-entity>
</a-scene>
</body>
</html>