-
Notifications
You must be signed in to change notification settings - Fork 0
/
building_energyViz_sample.html
79 lines (64 loc) · 5.71 KB
/
building_energyViz_sample.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html>
<html>
<head>
<script src="./src/aframe-v0.9.2.min.js"></script>
<!-- <script src="https://aframe.io/releases/0.9.2/aframe.min.js"></script> -->
</head>
<body>
<a-scene>
<a-entity geometry="primitive: plane; height: 10; width: 10" material="opacity: 0.7; side: double; color: pink" rotation="-90 0 0" position="0 40 0"></a-entity>
<a-entity geometry="primitive: plane; height: 10; width: 10" material="opacity: 0.7; side: double; color: pink" rotation="0 90 0" position="5 35 0"></a-entity>
<a-entity geometry="primitive: plane; height: 10; width: 10" material="opacity: 0.7; side: double; color: pink" rotation="0 90 0" position="-5 35 0"></a-entity>
<a-entity geometry="primitive: plane; height: 10; width: 10" material="opacity: 0.7; side: double; color: pink" rotation="0 0 0" position="0 35 -5"></a-entity>
<a-entity geometry="primitive: plane; height: 10; width: 10"
material="side: double; color: pink" rotation="-90 0 0" position="0 30">
</a-entity>
<a-box id="flr4_bar1" color="tomato" height="4" width="0.5" depth="0.1" position = "1 32 1" ></a-box>
<a-box id="flr4_bar2" color="tomato" height="4" width="0.5" depth="0.1" position = "1 32 -1" ></a-box>
<a-box id="flr4_bar3" color="tomato" height="4" width="0.5" depth="0.1" position = "-1 32 1" ></a-box>
<a-box id="flr4_bar4" color="tomato" height="4" width="0.5" depth="0.1" position = "-1 32 -1" ></a-box>
<a-entity geometry="primitive: plane; height: 10; width: 10" material="opacity: 0.7; side: double; color: pink" rotation="0 90 0" position="5 25 0"></a-entity>
<a-entity geometry="primitive: plane; height: 10; width: 10" material="opacity: 0.7; side: double; color: pink" rotation="0 90 0" position="-5 25 0"></a-entity>
<a-entity geometry="primitive: plane; height: 10; width: 10" material="opacity: 0.7; side: double; color: pink" rotation="0 0 0" position="0 25 -5"></a-entity>
<a-entity geometry="primitive: plane; height: 10; width: 10"
material="side: double; color: pink" rotation="-90 0 0" position="0 20">
</a-entity>
<a-box id="flr3_bar1" color="tomato" height="4" width="0.5" depth="0.1" position = "1 22 1" ></a-box>
<a-box id="flr3_bar2" color="tomato" height="4" width="0.5" depth="0.1" position = "1 22 -1" ></a-box>
<a-box id="flr3_bar3" color="tomato" height="4" width="0.5" depth="0.1" position = "-1 22 1" ></a-box>
<a-box id="flr3_bar4" color="tomato" height="4" width="0.5" depth="0.1" position = "-1 22 -1" ></a-box>
<a-entity geometry="primitive: plane; height: 10; width: 10" material="opacity: 0.7; side: double; color: pink" rotation="0 90 0" position="5 15 0"></a-entity>
<a-entity geometry="primitive: plane; height: 10; width: 10" material="opacity: 0.7; side: double; color: pink" rotation="0 90 0" position="-5 15 0"></a-entity>
<a-entity geometry="primitive: plane; height: 10; width: 10" material="opacity: 0.7; side: double; color: pink" rotation="0 0 0" position="0 15 -5"></a-entity>
<a-entity geometry="primitive: plane; height: 10; width: 10"
material="side: double; color: pink" rotation="-90 0 0" position="0 10">
</a-entity>
<a-box id="flr2_bar1" color="tomato" height="4" width="0.5" depth="0.1" position = "1 12 1" ></a-box>
<a-box id="flr2_bar2" color="tomato" height="4" width="0.5" depth="0.1" position = "1 12 -1" ></a-box>
<a-box id="flr2_bar3" color="tomato" height="4" width="0.5" depth="0.1" position = "-1 12 1" ></a-box>
<a-box id="flr2_bar4" color="tomato" height="4" width="0.5" depth="0.1" position = "-1 12 -1" ></a-box>
<a-entity geometry="primitive: plane; height: 10; width: 10" material="opacity: 0.7; side: double; color: pink" rotation="0 90 0" position="5 5 0"></a-entity>
<a-entity geometry="primitive: plane; height: 10; width: 10" material="opacity: 0.7; side: double; color: pink" rotation="0 90 0" position="-5 5 0"></a-entity>
<a-entity geometry="primitive: plane; height: 10; width: 10" material="opacity: 0.7; side: double; color: pink" rotation="0 0 0" position="0 5 -5"></a-entity>
<a-entity geometry="primitive: plane; height: 10; width: 10" material="side: double; color: pink" rotation="-90 0 0" position="0 0"></a-entity>
<a-box id="flr1_bar1" color="tomato" height="4" width="0.5" depth="0.1" position = "1 2 1" ></a-box>
<a-box id="flr1_bar2" color="tomato" height="4" width="0.5" depth="0.1" position = "1 2 -1" ></a-box>
<a-box id="flr1_bar3" color="tomato" height="4" width="0.5" depth="0.1" position = "-1 2 1" ></a-box>
<a-box id="flr1_bar4" color="tomato" height="4" width="0.5" depth="0.1" position = "-1 2 -1" ></a-box>
<a-sky color="#E7F5FE"></a-sky>
<!-- <a-entity camera="userHeight: 1.6" look-controls wasd-controls position="0 5 10" > -->
<a-entity camera="userHeight: 1.6" look-controls wasd-controls="acceleration: 400; wsAxis: y; wsInverted: true " position="6 15 15" >
<a-entity cursor="fuse: true; fuseTimeout: 500"
position="0 0 -1"
geometry="primitive: ring; radiusOuter: 0.02; radiusInner: 0.01"
material="color: brown; shader: flat">
<a-animation begin="click" easing="ease-in" attribute="scale"
fill="backwards" from="0.1 0.1 0.1" to="1 1 1"></a-animation>
<a-animation begin="cursor-fusing" easing="ease-in" attribute="scale"
fill="forwards" from="1 1 1" to="0.1 0.1 0.1"></a-animation>
</a-entity>
</a-camera>
</a-entity>
</a-scene>
</body>
</html>