diff options
| author | Unknown <Alee14498@gmail.com> | 2017-08-20 18:33:49 -0400 |
|---|---|---|
| committer | Unknown <Alee14498@gmail.com> | 2017-08-20 18:33:49 -0400 |
| commit | 3124733fb15b460e1adf5458603ff64a93e3f49d (patch) | |
| tree | c4d75a4b6d89efebd3c24643c778f300c6393170 /vr.html | |
| parent | b1bfad80d2be1da1b071865a999be162f382cfae (diff) | |
| download | aleecorp-website-3124733fb15b460e1adf5458603ff64a93e3f49d.tar.gz aleecorp-website-3124733fb15b460e1adf5458603ff64a93e3f49d.tar.bz2 aleecorp-website-3124733fb15b460e1adf5458603ff64a93e3f49d.zip | |
Updates
Diffstat (limited to 'vr.html')
| -rw-r--r-- | vr.html | 17 |
1 files changed, 8 insertions, 9 deletions
@@ -3,18 +3,17 @@ <head> <!-- include A-Frame obviously --> <script src="https://aframe.io/releases/0.6.0/aframe.min.js"></script> - <!-- include ar.js for A-Frame --> - <script src="https://jeromeetienne.github.io/AR.js/aframe/build/aframe-ar.js"></script> <title>VR Game</title> </head> -<body style='margin : 0px; overflow: hidden;'> - <a-scene embedded arjs> - <!-- create your content here. just a box for now --> - <a-box position='0 0.5 0' material='opacity: 0.5;'></a-box> - <!-- define a camera which will move according to the marker position --> - <a-marker-camera preset='hiro'></a-marker-camera> - </a-scene> +<body> + <a-scene> + <a-box position="-1 0.5 -3" rotation="0 45 0" color="#4CC3D9"></a-box> + <a-sphere position="0 1.25 -5" radius="1.25" color="#EF2D5E"></a-sphere> + <a-cylinder position="1 0.75 -3" radius="0.5" height="1.5" color="#FFC65D"></a-cylinder> + <a-plane position="0 0 -4" rotation="-90 0 0" width="4" height="4" color="#7BC8A4"></a-plane> + <a-sky color="#ECECEC"></a-sky> + </a-scene> </body> </html> |
