A Pen by Jason Bernert on CodePen.
Created
January 3, 2020 01:17
-
-
Save JasonBernert/9b89e8e6bbe324cffabaed851c6976ee to your computer and use it in GitHub Desktop.
Ar.js Demo
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
<script src="https://aframe.io/releases/1.0.0/aframe.min.js"></script> | |
<script src="https://raw.githack.com/jeromeetienne/AR.js/1.7.5/aframe/build/aframe-ar.js"></script> | |
<body style='margin : 0px; overflow: hidden;'> | |
<a-scene embedded arjs='detectionMode: mono_and_matrix; matrixCodeType: 3x3;'> | |
<a-marker type='barcode' value='12'> | |
<a-box position='0 0.5 0' material='color: #0EEE56;'></a-box> | |
</a-marker> | |
<a-entity camera></a-entity> | |
</a-scene> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment