Skip to content

Instantly share code, notes, and snippets.

@rayning0
Created January 10, 2018 20:25
Show Gist options
  • Save rayning0/f05ee4ba39bacaff3a4d0244aa8a12e1 to your computer and use it in GitHub Desktop.
Save rayning0/f05ee4ba39bacaff3a4d0244aa8a12e1 to your computer and use it in GitHub Desktop.
<!doctype HTML>
<html>
<script src="aframe.min.js"></script>
<script src="aframe-ar-modified.js"> </script>
<body style='margin : 0px; overflow: hidden;'>
<a-scene embedded arjs>
<a-marker-camera preset='custom' type='pattern' url='pattern-marker.patt'>
<a-box position='0 0.5 0' material='color: red; opacity: 0.5;'></a-box>
</a-marker-camera>
<a-entity camera></a-entity>
</a-scene>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment