<!DOCTYPE html> <html> <head> <title> a-frame 360 image </title> <script src="https://aframe.io/releases/1.2.0/aframe.min.js"></script> </head> <body> <a-scene> <a-assets> <img id="sky" src="B.jpeg"> <a-asset-item id="bird-o" src="bi.obj"></a-asset-item> <a-asset-item id="bird-m" src="Bird.mtl"></a-asset-item> </a-assets> <a-sky src="#sky"></a-sky> <a-entity position="0 0 0"> <a-camera> <a-entity cursor="fuse: true; fuseTimeout:1000" position="0 0 -1" geometry="primitive: ring" scale="0.03 0.03 0.03" material="color: red; shader: flat"></a-entity> <a-animation begin="cursor-fusing" easing="ease-in" attribute="scale" fill="none" from="0.03 0.03 0.03" to="0.001 0.001 0.001"></a-animation> </a-camera> </a-entity> <a-entity obj-model="obj: #bird-o; mtl: #bird-m" position="10 20 -10" scale="0.07 0.07 0.07" rotation="-95 65 -65" id="WebVR"></a-entity> <script type="text/javascript"> <!-- var clickElement = document.getElementById('WebVR'); clickElement.addEventListener("click", function() { location.href = "https://www.yatex.org/gitbucket/SKIP/renshu-2021/pages/SWAN/prototype1-1.html"; }, false); // --> </script> </a-scene> </body> </html>