Return to Snippet

Revision: 77468
at September 24, 2019 21:23 by freediver


Initial Code
<!-- AR.js by @jerome_etienne - github: https://github.com/jeromeetienne/ar.js - info: https://medium.com/arjs/augmented-reality-in-10-lines-of-html-4e193ea9fdbf -->
<script src="https://aframe.io/releases/0.8.0/aframe.min.js"></script>
<script src="https://cdn.rawgit.com/jeromeetienne/AR.js/1.6.0/aframe/build/aframe-ar.js"></script>
<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>

source: https://codepen.io/jeromeetienne/pen/mRqqzb

Initial URL
https://skywell.software/augmented-reality-development/

Initial Description
Augmented Reality in HTML

Initial Title
AR code in HTML

Initial Tags
js, html

Initial Language
HTML