| Server IP : 162.214.74.102 / Your IP : 216.73.216.139 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/lrsys/public_html/lrsys_apps/marisol/AR/aframe/examples/ |
Upload File : |
<!-- include a-frame --> <script src="vendor/aframe/build/aframe.min.js"></script> <!-- include aframe-ar.js --> <script src='../build/aframe-ar.js'></script> <script>ARjs.Context.baseURL = '../../three.js/'</script> <body style='margin : 0px; overflow: hidden;'> <div style='position: fixed; top: 10px; width:100%; text-align: center; z-index: 1;'> <a href="https://github.com/jeromeetienne/AR.js/" target="_blank">AR.js</a> - tango example for a-frame by <a href='https://twitter.com/jerome_etienne' target='_blank'>@jerome_etienne</a> </div> <!-- Define your scene --> <a-scene embedded arjs='trackingMethod: tango;'> <!-- Create a anchor to attach your augmented reality --> <a-anchor hit-testing-enabled='true'> <!-- Add your augmented reality here --> <a-box position='0 0.5 0' material='opacity: 0.5; side:double; color:red;'> <a-torus-knot radius='0.26' radius-tubular='0.05'> <a-animation attribute="rotation" to="360 0 0" dur="5000" easing='linear' repeat="indefinite"></a-animation> </a-torus-knot> </a-box> </a-anchor> <!-- Define a static camera --> <a-camera-static/> </a-scene> </body>