aframe-babia-components 1.2.7 → 1.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,3 @@
1
-
2
1
  <!DOCTYPE html>
3
2
  <html>
4
3
 
@@ -8,7 +7,7 @@
8
7
  <meta name="description" content="BabiaXR Components Gallery using covid-19 data">
9
8
  </meta>
10
9
  <script src="https://aframe.io/releases/1.5.0/aframe.min.js"></script>
11
- <script src="https://cdn.jsdelivr.net/gh/donmccurdy/aframe-extras@v7.2.0/dist/aframe-extras.min.js"></script>
10
+ <script src="https://cdn.jsdelivr.net/gh/donmccurdy/aframe-extras@v7.1.0/dist/aframe-extras.min.js"></script>
12
11
 
13
12
  <script
14
13
  src="https://unpkg.com/aframe-geometry-merger-component/dist/aframe-geometry-merger-component.min.js"></script>
@@ -17,7 +16,7 @@
17
16
  <script src="./aframe-lounge-component.min.js"></script>
18
17
  <script
19
18
  src="https://unpkg.com/@editvr/aframe-dialog-popup-component@1.7.3/dist/aframe-dialog-popup-component.min.js"></script>
20
- <script src="../../../dist/aframe-babia-components.js"></script>
19
+ <script src="../../../dist/aframe-babia-components.js"></script>
21
20
  <style>
22
21
  h1 {
23
22
  color: #AAAAAA;
@@ -55,7 +54,7 @@
55
54
  <a-sky src="#sky"></a-sky>
56
55
 
57
56
  <!-- Information popup -->
58
- <a-entity rotation="0 -90 0" position="6 -3.5 6.5" scale="0.2 0.2 0.2">
57
+ <a-entity rotation="0 -90 0" position="6 2.8 6.5" scale="0.2 0.2 0.2">
59
58
  <a-entity id="navbarpopup" position="11 1 -5.5" babia-lookat="[laser-controls]"
60
59
  dialog-popup="
61
60
  openIconImage: ../../assets/popups/info.jpg;
@@ -241,7 +240,7 @@
241
240
  </a-entity>
242
241
 
243
242
  <!-- Aframe Lounge -->
244
- <a-entity id="lounge" position="5 0 2" lounge="width: 20; depth: 25; height: 11;
243
+ <a-entity id="lounge" position="5 5.6 2" lounge="width: 20; depth: 25; height: 11;
245
244
  north: barrier;
246
245
  floorTexture: ../../assets/textures/floor-texture.jpg">
247
246
 
@@ -253,13 +252,13 @@
253
252
 
254
253
  </a-entity>
255
254
 
256
- <a-entity position="4.5 -5 7" scale="0.01 0.5 0.01" id="city"
255
+ <a-entity position="4.5 0.6 7" scale="0.01 0.5 0.01" id="city"
257
256
  babia-boats="height_building_legend: -0.5; legend_scale: 0.25; legend_lookat: [laser-controls]; extra: 1; zone_elevation: 0.01; from: jetumlcity; area: num_funs; height: loc_per_function; color: ccn; height_quarter_legend_box: 0.01; height_quarter_legend_title: -3.5">
258
257
  </a-entity>
259
258
 
260
259
 
261
260
 
262
- <a-entity id="bardescription" position="7.4 -4.7 5.5" rotation="-30 90 0" scale="0.8 0.8 0.8">
261
+ <a-entity id="bardescription" position="7.4 0.5 5.5" rotation="-30 180 0" scale="0.8 0.8 0.8">
263
262
  <!-- Close tooltips -->
264
263
  <a-plane id="closelegends" babia-lookat="[laser-controls]" class="babiaxraycasterclass" scale="0.8 0.8 0.8"
265
264
  position="0 1.5 0" geometry="primitive: plane; width: 2; height: 0.5" color="#012752"
@@ -288,8 +287,10 @@
288
287
 
289
288
  <!-- Controls and Camera -->
290
289
  <a-entity lounge-entry-point rotation="0 -90 0">
291
- <a-entity camera position="4 -4 -5" look-controls wasd-controls="fly: false"></a-entity>
292
- <a-entity laser-controls raycaster="objects: .babiaxraycasterclass, #navbarpopup, .surveys, .surveys--close-icon, #navbarpopup--close-icon, #presurvey, #presurvey--close-icon,
290
+ <a-entity id="cameraRig" position="4 1.6 -5" movement-controls>
291
+ <a-entity id="head" camera look-controls></a-entity>
292
+
293
+ <a-entity laser-controls raycaster="objects: .babiaxraycasterclass, #navbarpopup, .surveys, .surveys--close-icon, #navbarpopup--close-icon, #presurvey, #presurvey--close-icon,
293
294
  #onesurvey, #onesurvey--close-icon,
294
295
  #twosurvey, #twosurvey--close-icon,
295
296
  #threesurvey, #threesurvey--close-icon,
@@ -301,7 +302,7 @@
301
302
  #fivesurveyother, #fivesurveyother--close-icon,
302
303
  #iteractionpopup, #iteractionpopup--close-icon,
303
304
  #cityinformation, #cityinformation--close-icon"></a-entity>
304
- <a-entity cursor="rayOrigin:mouse" raycaster="objects: .babiaxraycasterclass, .surveys, .surveys--close-icon,
305
+ <a-entity cursor="rayOrigin:mouse" raycaster="objects: .babiaxraycasterclass, .surveys, .surveys--close-icon,
305
306
  #navbarpopup, #navbarpopup--close-icon,
306
307
  #presurvey, #presurvey--close-icon,
307
308
  #onesurvey, #onesurvey--close-icon,
@@ -315,6 +316,7 @@
315
316
  #fivesurveyother, #fivesurveyother--close-icon,
316
317
  #iteractionpopup, #iteractionpopup--close-icon,
317
318
  #cityinformation, #cityinformation--close-icon"></a-entity>
319
+ </a-entity>
318
320
  </a-entity>
319
321
 
320
322
  </a-scene>
@@ -7,6 +7,7 @@
7
7
  <meta name="description" content="Data museum, with data about the CHAOSS project, built with A-Frame and BabiaXR">
8
8
  </meta>
9
9
  <script src="https://aframe.io/releases/1.5.0/aframe.min.js"></script>
10
+ <script src="https://cdn.jsdelivr.net/gh/donmccurdy/aframe-extras@v7.1.0/dist/aframe-extras.min.js"></script>
10
11
  <script
11
12
  src="https://rawgit.com/fernandojsg/aframe-teleport-controls/master/dist/aframe-teleport-controls.min.js"></script>
12
13
  <script
@@ -621,8 +622,8 @@ Avg Open days by repository; font: #font' material='color: #000' position='-0.25
621
622
  -->
622
623
 
623
624
  <!-- Controls and Camera -->
624
- <a-entity id="cameraRig" position="0.25 1.6 0.35">
625
- <a-entity id="head"
625
+ <a-entity id="cameraRig" position="0.25 1.6 0.35" movement-controls>
626
+ <a-entity id="head" camera
626
627
  babia-camera="raycasterMouse: .babiaxraycasterclass, #audio_button, #navbarpopup, #navbarpopup--close-icon, .surveys, .surveys--close-icon, #presurvey, #presurvey--close-icon, #onesurvey, #onesurvey--close-icon, #twosurvey, #twosurvey--close-icon, #threesurvey, #threesurvey--close-icon, #foursurvey, #foursurvey--close-icon, #fivesurvey, #fivesurvey--close-icon, #sixsurvey, #sixsurvey--close-icon, #sevensurvey, #sevensurvey--close-icon, #eightsurvey, #eightsurvey--close-icon, #fivesurveyother, #fivesurveyother--close-icon, #iteractionpopup, #iteractionpopup--close-icon, #cityinformation, #cityinformation--close-icon, #ninesurvey, #ninesurvey--close-icon, #tensurvey, #tensurvey--close-icon, #elevensurvey, #elevensurvey--close-icon, #twelvesurvey, #twelvesurvey--close-icon, #thirteensurvey, #thirteensurvey--close-icon;
627
628
  raycasterHand: .babiaxraycasterclass, #audio_button, #navbarpopup, #navbarpopup--close-icon, .surveys, .surveys--close-icon, #presurvey, #presurvey--close-icon, #onesurvey, #onesurvey--close-icon, #twosurvey, #twosurvey--close-icon, #threesurvey, #threesurvey--close-icon, #foursurvey, #foursurvey--close-icon, #fivesurvey, #fivesurvey--close-icon, #sixsurvey, #sixsurvey--close-icon, #sevensurvey, #sevensurvey--close-icon, #eightsurvey, #eightsurvey--close-icon, #fivesurveyother, #fivesurveyother--close-icon, #iteractionpopup, #iteractionpopup--close-icon, #cityinformation, #cityinformation--close-icon, #ninesurvey, #ninesurvey--close-icon, #tensurvey, #tensurvey--close-icon, #elevensurvey, #elevensurvey--close-icon, #twelvesurvey, #twelvesurvey--close-icon, #thirteensurvey, #thirteensurvey--close-icon; teleportCollision: #floorRoom"
628
629
  look-controls wasd-controls="fly: false">
@@ -7,6 +7,7 @@
7
7
  <meta name="description" content="Museum build aframe and babia">
8
8
  </meta>
9
9
  <script src="https://aframe.io/releases/1.5.0/aframe.min.js"></script>
10
+ <script src="https://cdn.jsdelivr.net/gh/donmccurdy/aframe-extras@v7.1.0/dist/aframe-extras.min.js"></script>
10
11
  <script
11
12
  src="https://rawgit.com/fernandojsg/aframe-teleport-controls/master/dist/aframe-teleport-controls.min.js"></script>
12
13
  <script src="https://unpkg.com/aframe-tooltip-component/dist/aframe-tooltip-component.min.js"></script>
@@ -169,7 +170,7 @@
169
170
 
170
171
 
171
172
  <!-- Controls and Camera -->
172
- <a-entity id="cameraRig" position="0 1.6 3">
173
+ <a-entity id="cameraRig" position="0 1.6 3" movement-controls>
173
174
  <a-entity id="head" camera babia-camera="raycasterMouse: .babiaxraycasterclass;
174
175
  raycasterHand: .babiaxraycasterclass; teleportCollision: #floorRoom" look-controls
175
176
  wasd-controls="fly: true; acceleration: 10">
package/index.js CHANGED
@@ -22,6 +22,7 @@ require('./components/visualizers/babia-doughnut')
22
22
  require('./components/visualizers/babia-terrain')
23
23
  require('./components/visualizers/babia-boats')
24
24
  require('./components/visualizers/babia-network')
25
+ require('./components/visualizers/babia-html')
25
26
 
26
27
  // Others
27
28
  require('./components/others/babiaxr-totem')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aframe-babia-components",
3
- "version": "1.2.7",
3
+ "version": "1.2.8",
4
4
  "description": "A data visualization set of components for A-Frame.",
5
5
  "main": "index.js",
6
6
  "unpkg": "dist/aframe-babia-components.min.js",