Last active
January 12, 2021 15:19
-
-
Save tst32/2416a48829f6c36975f3bc02acb16f5b to your computer and use it in GitHub Desktop.
Untitled
This file contains 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.githubusercontent.com/KhronosGroup/glTF-Sample-Models/master/2.0/Fox/glTF/Fox.gltf" | |
></a-entity> | |
</a-marker> | |
<a-entity camera></a-entity> | |
</a-scene> | |
</body> |
This file contains 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 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":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment