aframe-babia-components 1.2.2 → 1.2.5
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.
- package/components/filters/babia-selector.js +256 -79
- package/components/filters/babia-treebuilder.js +1 -2
- package/components/geometries/babia-bar.js +13 -1
- package/components/geometries/babia-cyl.js +189 -0
- package/components/others/assets/tooltip.png +0 -0
- package/components/others/babia-camera.js +195 -0
- package/components/others/babia-controls.js +56 -31
- package/components/others/babia-navigator.js +55 -49
- package/components/others/babia-range-selector.js +218 -0
- package/components/others/babia-slider.js +36 -8
- package/components/others/babia-ui.js +246 -73
- package/components/others/common.js +91 -83
- package/components/queriers/babia-querycsv.js +96 -0
- package/components/queriers/babia-queryes.js +209 -131
- package/components/visualizers/babia-bars.js +15 -38
- package/components/visualizers/babia-barsmap.js +19 -34
- package/components/visualizers/babia-boats.js +221 -134
- package/components/visualizers/babia-bubbles.js +13 -26
- package/components/visualizers/babia-cyls.js +203 -201
- package/components/visualizers/babia-cylsmap.js +173 -241
- package/components/visualizers/babia-doughnut.js +6 -28
- package/components/visualizers/babia-network.js +191 -124
- package/components/visualizers/babia-pie.js +6 -30
- package/dist/aframe-babia-components.js +21913 -19571
- package/dist/aframe-babia-components.min.js +7 -1
- package/dist/aframe-babia-components.min.js.map +1 -1
- package/docs/APIs/CHARTS.md +33 -14
- package/docs/APIs/DATAMANAGEMENT.md +7 -0
- package/docs/APIs/OTHERS.md +42 -0
- package/docs/APIs/QUERIERS.md +18 -0
- package/docs/RELEASE_NOTES.md +58 -21
- package/docs/Tutorials/multiuser.md +47 -2
- package/examples/assets/door/New Bitmap Image.jpg +0 -0
- package/examples/assets/door/door.mtl +26 -0
- package/examples/assets/door/door.obj +6927 -0
- package/examples/assets/popups/0.png +0 -0
- package/examples/assets/popups/1.png +0 -0
- package/examples/assets/popups/10.png +0 -0
- package/examples/assets/popups/2.png +0 -0
- package/examples/assets/popups/3.png +0 -0
- package/examples/assets/popups/4.png +0 -0
- package/examples/assets/popups/5.png +0 -0
- package/examples/assets/popups/6.png +0 -0
- package/examples/assets/popups/7.png +0 -0
- package/examples/assets/popups/8.png +0 -0
- package/examples/assets/popups/9.png +0 -0
- package/examples/assets/popups/close.jpg +0 -0
- package/examples/assets/popups/info.jpg +0 -0
- package/examples/assets/textures/brownwall.png +0 -0
- package/examples/assets/textures/concrete.png +0 -0
- package/examples/assets/textures/white-wall-texture.jpg +0 -0
- package/examples/charts/cyls/index.html +13 -4
- package/examples/charts/cyls/primitive.html +76 -0
- package/examples/charts/cylsmap/index.html +14 -5
- package/examples/charts_querier/bars_querier/data.csv +10 -0
- package/examples/charts_querier/bars_querier/index_csv.html +80 -0
- package/examples/charts_querier/multichart_querier/manual_colors.html +81 -0
- package/examples/dashboard/chaoss-dashboards.html +259 -0
- package/examples/dashboard/chaoss-issues.html +248 -0
- package/examples/dashboard/chaoss-pr.html +248 -0
- package/examples/dashboard/index.html +247 -0
- package/examples/dashboard/issues_queries/80-percent-open-time.json +123 -0
- package/examples/dashboard/issues_queries/issues-by-organization.json +107 -0
- package/examples/dashboard/issues_queries/issues.json +117 -0
- package/examples/dashboard/issues_queries/median-open-time.json +123 -0
- package/examples/dashboard/issues_queries/organizations.json +130 -0
- package/examples/dashboard/issues_queries/projects.json +130 -0
- package/examples/dashboard/issues_queries/repositories.json +130 -0
- package/examples/dashboard/issues_queries/status.json +107 -0
- package/examples/dashboard/issues_queries/submitter.json +125 -0
- package/examples/dashboard/issues_queries/submitters.json +113 -0
- package/examples/dashboard/pullrequests_queries/80-percent-open-time.json +123 -0
- package/examples/dashboard/pullrequests_queries/median-open-time.json +123 -0
- package/examples/dashboard/pullrequests_queries/organizations.json +130 -0
- package/examples/dashboard/pullrequests_queries/projects.json +130 -0
- package/examples/dashboard/pullrequests_queries/pull-requests-by-organization.json +107 -0
- package/examples/dashboard/pullrequests_queries/pull-requests.json +117 -0
- package/examples/dashboard/pullrequests_queries/repositories.json +130 -0
- package/examples/dashboard/pullrequests_queries/status.json +107 -0
- package/examples/dashboard/pullrequests_queries/submitter.json +125 -0
- package/examples/dashboard/pullrequests_queries/submitters.json +113 -0
- package/examples/dashboard/range.html +88 -0
- package/examples/dashboard/template.html +136 -0
- package/examples/demos/1.0.11/index_multiuser_ui.html +1 -1
- package/examples/multi_bars/data.json +14 -0
- package/examples/multi_bars/data2.json +15 -0
- package/examples/multi_bars/data3.json +23 -0
- package/examples/multi_bars/easyrtc.js +11984 -0
- package/examples/multi_bars/index.html +97 -0
- package/examples/multi_bars/index1.html +111 -0
- package/examples/multi_bars/index2.html +102 -0
- package/examples/multi_bars/index3.html +104 -0
- package/examples/multi_boats/data3.json +174 -0
- package/examples/multi_boats/data4.json +192 -0
- package/examples/multi_boats/{index.html → index_multi_boats.html} +50 -55
- package/examples/multi_boats/jetuml.html +124 -115
- package/examples/multi_boats/jetuml_evolution_experiment.html +419 -0
- package/examples/multi_boats/only_queryjson.html +132 -0
- package/examples/multi_boats/only_queryjson2.html +167 -0
- package/examples/multi_boats/only_queryjson3.html +165 -0
- package/examples/multi_boats/queryjson_treebuilder.html +132 -0
- package/examples/multi_boats/with_selector.html +121 -111
- package/examples/multiuser/choose_avatar/index.html +18 -8
- package/examples/selector_boats/jetuml_from_3_2_to_1_0.json +62382 -0
- package/examples/ui/network/data.json +123 -0
- package/examples/ui/network/links.json +13 -0
- package/examples/ui/network/network.html +75 -0
- package/examples/ui/network/network_nodes_links.html +82 -0
- package/examples/ui/network/nodes.json +12 -0
- package/index.html +69 -3
- package/index.js +6 -1
- package/package.json +4 -3
- package/tests/screenshots/other_snapshots.js/chaoss-issues.png +0 -0
- package/tests/screenshots/other_snapshots.js/chaoss-pr.png +0 -0
- package/tests/screenshots/other_snapshots.js/template.png +0 -0
- package/tests/ui.js +7 -0
- package/webpack.common.js +1 -1
- package/webpack.devnossl.js +16 -0
- package/.idea/vcs.xml +0 -6
- package/.idea/workspace.xml +0 -79
|
@@ -22,18 +22,25 @@
|
|
|
22
22
|
|
|
23
23
|
<body>
|
|
24
24
|
<a-scene id="AframeScene" networked-scene="
|
|
25
|
-
room:
|
|
25
|
+
room: multi_boats_selector;
|
|
26
26
|
adapter: easyrtc;
|
|
27
27
|
debug: true;
|
|
28
28
|
audio: true;
|
|
29
|
-
serverURL: https://f-l2108-pc02.aulas.etsit.urjc.es:49153
|
|
29
|
+
serverURL: https://f-l2108-pc02.aulas.etsit.urjc.es:49153/;
|
|
30
|
+
">
|
|
30
31
|
|
|
31
32
|
<a-assets>
|
|
32
33
|
<!-- Dummy asset to make the scene sync (WIP)-->
|
|
33
34
|
<img src="https://wallpapercave.com/wp/wp2345390.jpg?dummy=8484744">
|
|
34
35
|
|
|
35
36
|
<!-- Templates -->
|
|
36
|
-
|
|
37
|
+
|
|
38
|
+
<!-- Selector and navigator -->
|
|
39
|
+
<template id="selector-template">
|
|
40
|
+
<a-entity class="selector"></a-entity>
|
|
41
|
+
</template>
|
|
42
|
+
|
|
43
|
+
<!-- Camera -->
|
|
37
44
|
<template id="rig-template">
|
|
38
45
|
<a-entity class="rig"></a-entity>
|
|
39
46
|
</template>
|
|
@@ -46,51 +53,29 @@
|
|
|
46
53
|
<template id="username-tag-template">
|
|
47
54
|
<a-text class="username-tag"></a-text>
|
|
48
55
|
</template>
|
|
49
|
-
|
|
50
|
-
<!-- Querier , Selector and treebuilder -->
|
|
51
|
-
<template id="querier-template">
|
|
52
|
-
<a-entity class="querier"></a-entity>
|
|
53
|
-
</template>
|
|
54
|
-
<template id="selector-template">
|
|
55
|
-
<a-entity class="selector"></a-entity>
|
|
56
|
-
</template>
|
|
57
|
-
<template id="treebuilder-template">
|
|
58
|
-
<a-entity class="treebuilder"></a-entity>
|
|
59
|
-
</template>
|
|
60
|
-
|
|
61
|
-
<!-- Boats -->
|
|
62
|
-
<template id="boats-template">
|
|
63
|
-
<a-entity class="boats"></a-entity>
|
|
64
|
-
</template>
|
|
65
56
|
</a-assets>
|
|
66
57
|
|
|
67
58
|
<!-- Environment -->
|
|
68
|
-
<a-entity environment="preset: yavapai" renderer="antialias: true">
|
|
59
|
+
<a-entity environment="preset: yavapai" renderer="antialias: true"></a-entity>
|
|
69
60
|
|
|
70
|
-
<!-- No sync entities -->
|
|
71
61
|
<!-- Slider -->
|
|
72
|
-
<a-entity id="nav" babia-navigator position="6 1 1" rotation="0 0 0" scale="0.5 0.5 0.5"
|
|
62
|
+
<a-entity id="nav" babia-navigator position="6 1 1" rotation="0 0 0" scale="0.5 0.5 0.5"
|
|
63
|
+
></a-entity>
|
|
73
64
|
|
|
74
|
-
<!-- Sync entities, persistent -->
|
|
75
65
|
<!-- Querier -->
|
|
76
|
-
<a-entity id="
|
|
77
|
-
networked="template:#querier-template; networkId:querier; persistent: true; owner: scene"></a-entity>
|
|
66
|
+
<a-entity id="querier" babia-queryjson="url: ../selector_boats/commits2.json;"></a-entity>
|
|
78
67
|
<!-- 3 Selector -->
|
|
79
|
-
<a-entity id="selector"
|
|
80
|
-
|
|
68
|
+
<a-entity id="selector" networked="template:#selector-template; networkId:selector; persistent: true; owner: scene"
|
|
69
|
+
babia-selector="from: querier; controller: nav"></a-entity>
|
|
81
70
|
<!-- Treebuilder -->
|
|
82
|
-
<a-entity id="
|
|
83
|
-
networked="template:#treebuilder-template; networkId:treebuilder; persistent: true; owner: scene">
|
|
84
|
-
</a-entity>
|
|
71
|
+
<a-entity id="treebuilder" babia-treebuilder="field: path; split_by: /; from: selector"></a-entity>
|
|
85
72
|
|
|
86
73
|
<!-- Boats Visualizer -->
|
|
87
|
-
<a-entity babia-boats="from:
|
|
88
|
-
|
|
89
|
-
scale="0.3 0.3 0.3"></a-entity>
|
|
74
|
+
<a-entity id="boats" babia-boats="from: treebuilder; area: area"
|
|
75
|
+
position="1 0.1 0" scale="0.3 0.3 0.3"></a-entity>
|
|
90
76
|
|
|
91
|
-
<!--Sync entities, not persistent-->
|
|
92
77
|
<!-- Camera -->
|
|
93
|
-
<a-entity id="rig" position="
|
|
78
|
+
<a-entity id="rig" position="4 1.6 3" rotation="0 0 0"
|
|
94
79
|
networked="template:#rig-template; attachTemplateToLocal:false">
|
|
95
80
|
<a-entity id="camera" camera look-controls wasd-controls="fly: false"
|
|
96
81
|
networked="template:#camera-template;attachTemplateToLocal:false;">
|
|
@@ -101,23 +86,43 @@
|
|
|
101
86
|
position="-0.5 1.5 0" width="5" color="black" value="username"></a-text>
|
|
102
87
|
</a-sphere>
|
|
103
88
|
</a-entity>
|
|
89
|
+
<!-- Hand Controls -->
|
|
90
|
+
<a-entity id="leftHand" interaction-hands aabb-collider="objects: .grabbable"
|
|
91
|
+
hand-controls="hand: left; handModelStyle: highPoly" mixin="touch"
|
|
92
|
+
teleport-controls="cameraRig: #cameraRig; teleportOrigin: #head; collisionEntities: .environmentGround;
|
|
93
|
+
hitCylinderColor: #ff3468; curveHitColor: #ff3468; curveMissColor: #333333; curveLineWidth: 0.01; button: grip">
|
|
94
|
+
<a-entity id="tooltip_trigger_L" class="tips" tooltip="text: Grab; width: 0.07; height: 0.03; targetPosition: 0.002 -0.02 -0.014; lineHorizontalAlign: right; rotation: -90 0 0; src:assets/tooltip.png"
|
|
95
|
+
position="-0.09 -0.04 -0.08"></a-entity>
|
|
96
|
+
<a-entity id="tooltip_grip_L" class="tips" tooltip="text: Teleport; width: 0.08; height: 0.04; targetPosition: 0.006 -0.008 0.033; rotation: -90 0 0; src:assets/tooltip.png"
|
|
97
|
+
position="0.085 -0.01 0.07"></a-entity>
|
|
98
|
+
</a-entity>
|
|
99
|
+
<a-entity id="rightHand" interaction-hands aabb-collider="objects: .grabbable"
|
|
100
|
+
hand-controls="hand: right; handModelStyle: highPoly" mixin="touch"
|
|
101
|
+
laser-controls="hand: right" raycaster="objects: .babiaxraycasterclass, #audio_button">
|
|
102
|
+
<a-entity id="tooltip_trigger_R" class="tips" tooltip="text: Click/Grab ; width: 0.07; height: 0.03; targetPosition: 0.005 -0.02 -0.014; lineHorizontalAlign: left; rotation: -90 0 0; src:assets/tooltip.png"
|
|
103
|
+
position="0.09 -0.04 -0.08"></a-entity>
|
|
104
|
+
<a-entity id="tooltip_grip_R" class="tips" tooltip="text: Open/Close \nTips; width: 0.08; height: 0.04; targetPosition: -0.006 -0.008 0.033; rotation: -90 0 0; lineHorizontalAlign: right; src:assets/tooltip.png"
|
|
105
|
+
position="-0.085 -0.01 0.07"></a-entity>
|
|
104
106
|
</a-entity>
|
|
105
|
-
<!-- Hand Controls -->
|
|
106
|
-
<a-entity id="leftHand" oculus-touch-controls="hand: left"
|
|
107
|
-
teleport-controls="cameraRig: #rig; teleportOrigin: #avatar; collisionEntities: #environmentGround;
|
|
108
|
-
hitCylinderColor: #ff3468; curveHitColor: #ff3468; curveMissColor: #333333; curveLineWidth: 0.01; button: trigger"></a-entity>
|
|
109
|
-
<a-entity id="rightHand" laser-controls="hand: right" oculus-touch-controls="hand: right"
|
|
110
|
-
raycaster="objects: .babiaxraycasterclass, #audio_button"></a-entity>
|
|
111
107
|
<a-entity id="cursor" cursor="rayOrigin:mouse" raycaster="objects: .babiaxraycasterclass, #audio_button">
|
|
112
108
|
</a-entity>
|
|
113
109
|
</a-entity>
|
|
114
110
|
|
|
111
|
+
<!-- Audio Button -->
|
|
112
|
+
<a-plane id="audio_button" position="7 2.5 0" rotation="0 0 0" height="0.5" width="1.5" color="#000" scale="0.5 0.5 0.5">
|
|
113
|
+
<a-text id="audio_label" value="Stop Audio" color="#fff" width="4" position="-0.5 0 0" rotation="0 0 0">
|
|
114
|
+
</a-text>
|
|
115
|
+
</a-plane>
|
|
116
|
+
|
|
117
|
+
|
|
115
118
|
</a-scene>
|
|
116
119
|
|
|
117
120
|
<script>
|
|
121
|
+
/* Camera */
|
|
122
|
+
let rig = document.getElementById('rig')
|
|
118
123
|
let avatar = document.getElementById('avatar')
|
|
119
124
|
let usernameTag = document.getElementById('username-tag')
|
|
120
|
-
|
|
125
|
+
|
|
121
126
|
let color = getRandomColor();
|
|
122
127
|
usernameTag.setAttribute('value', color)
|
|
123
128
|
avatar.setAttribute('color', color)
|
|
@@ -129,11 +134,51 @@
|
|
|
129
134
|
color += digits[Math.floor(Math.random() * 16)];
|
|
130
135
|
}
|
|
131
136
|
return color;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/* Audio */
|
|
140
|
+
let audioButton = document.getElementById('audio_button');
|
|
141
|
+
let audioLabel = document.getElementById('audio_label');
|
|
142
|
+
|
|
143
|
+
audioButton.addEventListener('click', function (event) {
|
|
144
|
+
if (audioLabel.getAttribute('value') === 'Stop Audio') {
|
|
145
|
+
stopAudio();
|
|
146
|
+
} else {
|
|
147
|
+
turnOnAudio();
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
|
|
151
|
+
function turnOnAudio() {
|
|
152
|
+
NAF.connection.adapter.enableMicrophone(true);
|
|
153
|
+
audioButton.setAttribute('color', '#000');
|
|
154
|
+
audioLabel.setAttribute('color', '#fff');
|
|
155
|
+
audioLabel.setAttribute('value', 'Stop Audio');
|
|
156
|
+
}
|
|
132
157
|
|
|
158
|
+
function stopAudio() {
|
|
159
|
+
NAF.connection.adapter.enableMicrophone(false);
|
|
160
|
+
audioButton.setAttribute('color', '#fff');
|
|
161
|
+
audioLabel.setAttribute('color', '#000');
|
|
162
|
+
audioLabel.setAttribute('value', 'Turn on Audio');
|
|
133
163
|
}
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
/* Update avatar height in VR */
|
|
167
|
+
|
|
168
|
+
document.addEventListener('controllerconnected', (event) => {
|
|
169
|
+
rig.setAttribute('position', { x: 4, y: 1.6, z: 3 })
|
|
170
|
+
})
|
|
171
|
+
|
|
134
172
|
</script>
|
|
135
173
|
<script>
|
|
136
|
-
|
|
174
|
+
NAF.schemas.add({
|
|
175
|
+
template: '#selector-template',
|
|
176
|
+
components: [
|
|
177
|
+
'babia-selector'
|
|
178
|
+
]
|
|
179
|
+
})
|
|
180
|
+
|
|
181
|
+
// Avatar
|
|
137
182
|
NAF.schemas.add({
|
|
138
183
|
template: '#rig-template',
|
|
139
184
|
components: [
|
|
@@ -170,76 +215,41 @@
|
|
|
170
215
|
'rotation'
|
|
171
216
|
]
|
|
172
217
|
});
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
NAF.schemas.add({
|
|
176
|
-
template: '#querier-template',
|
|
177
|
-
components: [
|
|
178
|
-
'babia-queryjson'
|
|
179
|
-
]
|
|
180
|
-
})
|
|
181
|
-
|
|
182
|
-
NAF.schemas.add({
|
|
183
|
-
template: '#selector-template',
|
|
184
|
-
components: [
|
|
185
|
-
'babia-selector'
|
|
186
|
-
]
|
|
187
|
-
})
|
|
188
|
-
|
|
189
|
-
NAF.schemas.add({
|
|
190
|
-
template: '#treebuilder-template',
|
|
191
|
-
components: [
|
|
192
|
-
'babia-treebuilder'
|
|
193
|
-
]
|
|
194
|
-
})
|
|
195
|
-
|
|
196
|
-
NAF.schemas.add({
|
|
197
|
-
template: '#boats-template',
|
|
198
|
-
components: [
|
|
199
|
-
'position',
|
|
200
|
-
'rotation',
|
|
201
|
-
'scale',
|
|
202
|
-
'babia-boats'
|
|
203
|
-
]
|
|
204
|
-
});
|
|
205
|
-
|
|
206
218
|
</script>
|
|
207
|
-
|
|
208
219
|
<!-- GITLAB CORNER-->
|
|
209
220
|
<div class="gitlab-corner-wrapper"><a
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
221
|
+
href="https://gitlab.com/babiaxr/aframe-babia-components/-/blob/master/examples/multi_boats/with_selector"
|
|
222
|
+
class="gitlab-corner" aria-label="View source on GitLab"><svg id="logo_art" data-name="logo art"
|
|
223
|
+
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 586 559">
|
|
224
|
+
<g id="g44">
|
|
225
|
+
<path id="path46" class="cls-1"
|
|
226
|
+
d="M461.17,301.83l-18.91-58.12L404.84,128.43a6.47,6.47,0,0,0-12.27,0L355.15,243.64H230.82L193.4,128.43a6.46,6.46,0,0,0-12.26,0L143.78,243.64l-18.91,58.19a12.88,12.88,0,0,0,4.66,14.39L293,435,456.44,316.22a12.9,12.9,0,0,0,4.73-14.39" />
|
|
227
|
+
</g>
|
|
228
|
+
<g id="g48">
|
|
229
|
+
<path id="path50" class="cls-2" d="M293,434.91h0l62.16-191.28H230.87L293,434.91Z" />
|
|
230
|
+
</g>
|
|
231
|
+
<g id="g56">
|
|
232
|
+
<path id="path58" class="cls-1" d="M293,434.91,230.82,243.63h-87L293,434.91Z" />
|
|
233
|
+
</g>
|
|
234
|
+
<g id="g64">
|
|
235
|
+
<path id="path66" class="cls-3"
|
|
236
|
+
d="M143.75,243.69h0l-18.91,58.12a12.88,12.88,0,0,0,4.66,14.39L293,435,143.75,243.69Z" />
|
|
237
|
+
</g>
|
|
238
|
+
<g id="g72">
|
|
239
|
+
<path id="path74" class="cls-2"
|
|
240
|
+
d="M143.78,243.69h87.11L193.4,128.49a6.47,6.47,0,0,0-12.27,0l-37.35,115.2Z" />
|
|
241
|
+
</g>
|
|
242
|
+
<g id="g76">
|
|
243
|
+
<path id="path78" class="cls-1" d="M293,434.91l62.16-191.28H442.3L293,434.91Z" />
|
|
244
|
+
</g>
|
|
245
|
+
<g id="g80">
|
|
246
|
+
<path id="path82" class="cls-3"
|
|
247
|
+
d="M442.24,243.69h0l18.91,58.12a12.85,12.85,0,0,1-4.66,14.39L293,434.91l149.2-191.22Z" />
|
|
248
|
+
</g>
|
|
249
|
+
<g id="g84">
|
|
250
|
+
<path id="path86" class="cls-2"
|
|
251
|
+
d="M442.28,243.69h-87.1l37.42-115.2a6.46,6.46,0,0,1,12.26,0l37.42,115.2Z" />
|
|
252
|
+
</g>
|
|
253
|
+
</svg></a></div>
|
|
243
254
|
</body>
|
|
244
|
-
|
|
245
255
|
</html>
|
|
@@ -126,17 +126,22 @@
|
|
|
126
126
|
</div>
|
|
127
127
|
<ul>
|
|
128
128
|
<li>
|
|
129
|
-
<h3>Desert
|
|
129
|
+
<h3>Desert Bars with dynamic data change</h3>
|
|
130
130
|
<input class="btn" type="button" id="start_button" value="Start">
|
|
131
131
|
</li>
|
|
132
|
-
<li>
|
|
132
|
+
<!-- <li>
|
|
133
133
|
<h3>Museum Multiuser Demo</h3>
|
|
134
134
|
<input class="btn" type="button" id="start_button_1" value="Start">
|
|
135
|
-
</li>
|
|
135
|
+
</li> -->
|
|
136
136
|
<li>
|
|
137
|
-
<h3>Museum
|
|
137
|
+
<h3>Museum with all charts and interaction</h3>
|
|
138
138
|
<input class="btn" type="button" id="start_button_2" value="Start">
|
|
139
139
|
</li>
|
|
140
|
+
<hr>
|
|
141
|
+
<li>
|
|
142
|
+
<h3>CodeCity city evolution of the JetUML project</h3>
|
|
143
|
+
<input class="btn" type="button" id="start_button_3" value="Start">
|
|
144
|
+
</li>
|
|
140
145
|
</ul>
|
|
141
146
|
</div>
|
|
142
147
|
|
|
@@ -145,6 +150,7 @@
|
|
|
145
150
|
let startButton = document.getElementById("start_button")
|
|
146
151
|
let startButton1 = document.getElementById("start_button_1")
|
|
147
152
|
let startButton2 = document.getElementById("start_button_2")
|
|
153
|
+
let startButton3 = document.getElementById("start_button_3")
|
|
148
154
|
|
|
149
155
|
let serverUrlInput = document.getElementById("server_url");
|
|
150
156
|
let serverURL = serverUrlInput.value;
|
|
@@ -187,14 +193,18 @@
|
|
|
187
193
|
let url = "./desert_demo.html" + "?serverURL=" + serverURL + "&avatar=" + avatar;
|
|
188
194
|
window.location.href = url;
|
|
189
195
|
});
|
|
190
|
-
startButton1.addEventListener('click', function (event) {
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
});
|
|
196
|
+
// startButton1.addEventListener('click', function (event) {
|
|
197
|
+
// let url = "../../demos/1.0.11/index_multiuser.html" + "?serverURL=" + serverURL + "&avatar=" + avatar;
|
|
198
|
+
// window.location.href = url;
|
|
199
|
+
// });
|
|
194
200
|
startButton2.addEventListener('click', function (event) {
|
|
195
201
|
let url = "../../demos/1.0.11/index_multiuser_ui.html" + "?serverURL=" + serverURL + "&avatar=" + avatar;
|
|
196
202
|
window.location.href = url;
|
|
197
203
|
});
|
|
204
|
+
startButton3.addEventListener('click', function (event) {
|
|
205
|
+
let url = "../../multi_boats/jetuml_evolution_experiment.html"
|
|
206
|
+
window.location.href = url;
|
|
207
|
+
});
|
|
198
208
|
|
|
199
209
|
</script>
|
|
200
210
|
</body>
|