Created
January 12, 2021 15:04
-
-
Save tst32/0923f885926e8947afde9befe2241f6f to your computer and use it in GitHub Desktop.
Untitled
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<body style="margin : 0px; overflow: hidden;"> | |
<script src="https://aframe.io/releases/1.0.0/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> <a-scene embedded arjs> | |
<a-marker preset="hiro"> | |
<a-entity | |
position="0 -1 0" | |
scale="0.05 0.05 0.05" | |
gltf-model="https://arjs-cors-proxy.herokuapp.com/https://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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// alert('Hello world!'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"html"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment