-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgrocery.html
50 lines (48 loc) · 2.58 KB
/
grocery.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<html>
<head>
<script src="https://aframe.io/releases/0.7.0/aframe.min.js"></script>
<script src="https://unpkg.com/aframe-event-set-component@3.0.3/dist/aframe-event-set-component.min.js"></script>
<script src="https://unpkg.com/aframe-href-component@0.5.1/dist/aframe-href-component.min.js"></script>
</head>
<script>
</script>
<body>
<a-scene>
<a-assets>
<img id="skyTexture" src="https://cdn.glitch.com/4591eb96-0e6c-40d3-bbfd-0d88e186e30b%2FWhite-Wallpaper-HD-Texture-6Q-1024x576.jpg?1506014038899">
</a-assets>
<a-sky id="background" src="#skyTexture" ></a-sky>
<a-image id="back_button"
src="https://cdn.glitch.com/4591eb96-0e6c-40d3-bbfd-0d88e186e30b%2Fimage%20(1).jpg?1506053995239"
geometry="height:2.14;width:4.48" position="-9.9 2.6 -4.0" material="height:2.99;width:5"
href="index.html">
</a-image>
<a-image id="category2-product1"
src="https://cdn.glitch.com/4591eb96-0e6c-40d3-bbfd-0d88e186e30b%2FJeans-28.png?1506005310767"
position="-1.6 1.200 -3.21"
href="category2-product1.html">
</a-image>
<a-image id="category2-product2"
event-set__click="_event: click; _target: #cartText1; visible: true"
src="https://cdn.glitch.com/4591eb96-0e6c-40d3-bbfd-0d88e186e30b%2FJeans-30.png?1506005308753"
position="-2.6 1.200 -3.21"
href="category2-product2.html" >
</a-image>
<a-image id="category2-product3"
event-set__click="_event: click; _target: #cartText2; visible: true"
src="https://cdn.glitch.com/4591eb96-0e6c-40d3-bbfd-0d88e186e30b%2FJeans-29.png?1506005308475"
position="-3.6 1.200 -3.21"
href="category2-product3.html">
</a-image>
<a-camera look-controls wasd-controls cursor="maxDistance: 30; fuse: true" position="-1.0 -0.58 6.0" >
<!-- progress bar -->
<a-entity position="0 0 -3" geometry="primitive: ring; radiusOuter: 0.07;radiusInner: 0.05;" material="color: cyan; shader: flat"
cursor="maxDistance: 30; fuse: true; fuseTimeout: 1500.000">
<!--<a-cursor color="red"></a-cursor>-->
<a-animation begin="click" easing="ease-in" attribute="scale" fill="forwards" from="0.1 0.1 0.1" to="1 1 1" dur="1500"></a-animation>
<a-animation begin="fusing" easing="ease-in" attribute="scale" fill="backwards" from="1 1 1" to="0.1 0.1 0.1" dur="1500"></a-animation>
</a-entity>
</a-camera>
</a-scene>
</body>
</html>