-
Notifications
You must be signed in to change notification settings - Fork 1
/
globe.html
19 lines (17 loc) · 894 Bytes
/
globe.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<script src="https://cdn.rawgit.com/jeromeetienne/AR.js/1.5.0/aframe/examples/vendor/aframe/build/aframe.min.js">
</script>
<script src="https://cdn.rawgit.com/jeromeetienne/AR.js/1.5.0/aframe/build/aframe-ar.js">//test</script>
<body style='margin : 0px; overflow: hidden;'>
<a-scene embedded arjs='sourceType: webcam;'>
<a-sphere src="https://raw.githubusercontent.com/aframevr/sample-assets/master/assets/images/space/earth_atmos_4096.jpg" radius="1" segments-height="10">
<a-animation attribute="scale"
dur="1000"
from= "1 1 1"
to="1 1 1"
direction='alternate-reverse'
easing= "ease-in-out-circ"
repeat="indefinite"></a-animation>
</a-sphere>
<a-marker-camera type='pattern' url='https://metaline.it/pattern-marker.patt'></a-marker-camera>
</a-scene>
</body>