Newer
Older
AegisforEcosystem / next / AR.js-3.4.0 / aframe / examples / marker-based / minimal.html
@KAOKA Daisuke KAOKA Daisuke on 31 May 2022 591 bytes into AR.js
<!-- Augmented Reality on the Web in 10 lines of html! https://github.com/jeromeetienne/ar.js -->
<script src="https://cdn.jsdelivr.net/gh/aframevr/aframe@1c2407b26c61958baa93967b5412487cd94b290b/dist/aframe-master.min.js"></script>
<script src="../../build/aframe-ar.js"></script>
<body style='margin : 0px; overflow: hidden;'>
	<a-scene embedded arjs renderer='precision: medium;'>
		<a-marker preset="hiro">
			<a-cone position='0 0.5 0' rotation="0 0 0" radius-bottom="0.5" material='opacity: 0.75; color: red;'></a-cone>
		</a-marker>
		<a-entity camera></a-entity>
	</a-scene>
</body>