Commit 3a6964d 1 parent 94645be commit 3a6964d Copy full SHA for 3a6964d
File tree 1 file changed +13
-11
lines changed
1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change 1
1
<!DOCTYPE html>
2
2
< html >
3
- < script src ="https://aframe.io/releases/1.3.0/aframe.min.js "> </ script >
4
- <!-- we import arjs version without NFT but with marker + location based support -->
5
- < script src ="https://raw.githack.com/AR-js-org/AR.js/dev/aframe/build/aframe-ar.js "> </ script >
6
- < body style ="margin : 0px; overflow: hidden; ">
7
- < a-scene embedded arjs >
8
- < a-nft type ='nft '>
9
- < a-image src ='6628cba43e5e6_1647160462_fq.jpg ' width ='1 ' height ='1 '> </ a-image >
10
- </ a-nft >
11
- < a-entity camera > </ a-entity >
12
- </ a-scene >
13
- </ body >
3
+ <!-- include A-Frame obviously -->
4
+ < script src ="https://aframe.io/releases/1.3.0/aframe.min.js "> </ script >
5
+ <!-- include ar.js for A-Frame -->
6
+ < script src ="https://raw.githack.com/AR-js-org/AR.js/dev/aframe/build/aframe-ar.js "> </ script >
7
+ < body style ="margin: 0px; overflow: hidden ">
8
+ < a-scene embedded arjs >
9
+ <!-- create your content here. just a box for now -->
10
+ < a-box position ="0 0.5 0 " material ="opacity: 0.5; "> </ a-box >
11
+ < a-image src ="6628cba43e5e6_1647160462_fq.jpg "> </ a-image >
12
+ <!-- define a camera which will move according to the marker position -->
13
+ < a-marker-camera preset ="hiro "> </ a-marker-camera >
14
+ </ a-scene >
15
+ </ body >
14
16
</ html >
You can’t perform that action at this time.
0 commit comments