Skip to content

Instantly share code, notes, and snippets.

@tst32
Last active January 12, 2021 15:19
Show Gist options
  • Save tst32/2416a48829f6c36975f3bc02acb16f5b to your computer and use it in GitHub Desktop.
Save tst32/2416a48829f6c36975f3bc02acb16f5b to your computer and use it in GitHub Desktop.
Untitled
<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>
// alert('Hello world!');
{"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