<!doctype HTML> <html> <!-- A-FrameとAR.jsを読み込む --> <script src="https://aframe.io/releases/1.0.0/aframe.min.js"></script> <script src="https://raw.githack.com/jeromeetienne/AR.js/2.0.8/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: yellow;'></a-box> </a-marker> <!-- カメラ起動 --> <a-entity camera></a-entity> </a-scene> </body> </html>