Skip to content

Instantly share code, notes, and snippets.

@vettorazi
Created April 5, 2018 21:20
Show Gist options
  • Save vettorazi/f66047086d8de08ea9ef0f89fe6de69e to your computer and use it in GitHub Desktop.
Save vettorazi/f66047086d8de08ea9ef0f89fe6de69e to your computer and use it in GitHub Desktop.
BrqRaa
<!doctype HTML>
<html>
<script src="https://aframe.io/releases/0.6.1/aframe.min.js"></script>
<script src="https://cdn.rawgit.com/jeromeetienne/AR.js/1.5.0/aframe/build/aframe-ar.js"> </script>
<body style='margin : 0px; overflow: hidden;'>
<a-scene embedded arjs>
<a-marker preset="hiro">
<a-box position='0 0.5 0' material='color: black;'></a-box>
</a-marker>
<a-entity camera></a-entity>
</a-scene>
</body>
</html>
body {
background-color: #a3d5d3;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment