Last active
June 21, 2018 08:21
-
-
Save HackyRoot/c33ef910edceb655e00778bb11a60e9b to your computer and use it in GitHub Desktop.
Basic AR scene
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
<!doctype HTML> | |
<html> | |
<head> | |
<title>HBD Krupa</title> | |
<script src="https://aframe.io/releases/0.7.1/aframe.min.js"></script> | |
<script src="https://cdn.rawgit.com/jeromeetienne/AR.js/1.5.0/aframe/build/aframe-ar.js"> </script> | |
</head> | |
<body style='margin : 0px; overflow : hidden;'> | |
<a-scene embedded arjs='sourceType: webcam;'> | |
<a-box position='0 0.5 0' material='opacity: 0.5;'></a-box> | |
<a-marker-camera preset='hiro'></a-marker-camera> | |
</a-scene> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment