-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
123 lines (103 loc) · 5.88 KB
/
index.html
File metadata and controls
123 lines (103 loc) · 5.88 KB
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<!DOCTYPE html>
<html lang="en">
<head>
<title>VRParaSets</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<meta http-equiv="origin-trial" data-feature="WebVR (For Chrome M62+)" data-expires="2018-09-11" content="AqhFUYKxq/d+E8CDT0fuYRCg8TvlTP52x0Jv7I9t27sLhR30LmcahBRfSwzP89ukjs2+ia99VrrLoRyaFAwJVA0AAABQeyJvcmlnaW4iOiJodHRwczovL3RocmVlanMub3JnOjQ0MyIsImZlYXR1cmUiOiJXZWJWUjEuMU02MiIsImV4cGlyeSI6MTUzNjYyNDAwMH0=">
<meta http-equiv="origin-trial" data-feature="WebXR Device API (For Chrome M69+)" data-expires="2018-10-27" content="An4ZYOGvf6kVHNxqZxS02TPAvpZESkmBhcVCM/byViDDuEB2XKvCF43aCJjrAU/R8H3WDlv+1bDGTL/XxstHGgoAAABTeyJvcmlnaW4iOiJodHRwczovL3RocmVlanMub3JnOjQ0MyIsImZlYXR1cmUiOiJXZWJYUkRldmljZU02OSIsImV4cGlyeSI6MTU0MDY1NTAyMn0=">
<meta http-equiv="origin-trial" data-feature="WebXR Gamepad Support" data-expires="2018-10-24" content="Agrr6lZhlwzv5jmv/mpLZA37DIiVcg3HvX8bH8EWB+OBruV3sUJuzDfYz6qs/je+LcH41DkrmPn4k9RaUaqpQAAAAABYeyJvcmlnaW4iOiJodHRwczovL3RocmVlanMub3JnOjQ0MyIsImZlYXR1cmUiOiJXZWJYUkdhbWVwYWRTdXBwb3J0IiwiZXhwaXJ5IjoxNTQwMzg4NjI0fQ==">
<style>
@import url(resources/scripts/d3.parsets.css);
body {
font-family: Monospace;
background-color: #ffffff;
margin: 0px;
overflow: hidden;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
</style>
<script src="https://aframe.io/releases/0.8.2/aframe.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="resources/scripts/three.min.js"></script>
<script src="resources/scripts/StereoEffect.js"></script>
<script src="resources/scripts/DeviceOrientationControls.js"></script>
<script src="resources/scripts/jquery.csv.min.js"></script>
<script src="resources/scripts/OrbitControls.js"></script>
<script src="resources/scripts/functions.js"></script>
<script src="resources/scripts/Chart.js"></script>
<script src="resources/scripts/ProcessedTable.js"></script>
<script src="resources/scripts/ProcessedData.js"></script>
<script src="resources/scripts/GridHive.js"></script>
<script src="resources/scripts/Grid.js"></script>
<script src="resources/scripts/Column.js"></script>
<script src="resources/scripts/Stack.js"></script>
<script src="resources/scripts/StackHive.js"></script>
<script src="resources/scripts/Pointer.js"></script>
<script src="resources/scripts/CameraPositions.js"></script>
<script src="https://d3js.org/d3.v3.min.js"></script>
<script src="resources/scripts/d3.parsets.js"></script>
<script src="resources/scripts/WebVR.js"></script>
<script src="resources/scripts/VRController.js"></script>
<script src="resources/scripts/intersect-color-change.js"></script>
</head>
<body>
<div id="title" align="left" style="font-size: 15pt; display: none">
VRParaSets: Multidimensional Categorical Data<br>
</div>
<div id="inputs" style="display: none">
<br>
User: <input type="text" id="user_number"><br><br>
CSV File: cars.csv<input type="file" id="csvfile" style="display: none;"><br><br>
Start Field: <input type="text" id="start_field" value="class"><br><br>
Ignore Fields: <input type="text" id="ignore_fields" value=""> (separated by commas)<br><br><br>
<button onclick="generateVisualization()">Generate Visualization</button>
</div>
<div id="settings" style="display: none">
<table style="width: 100%"><tr><td style="width: 80%">
<div id="checkboxes" style="display: inline" align="center">
Plot: <input checked type="checkbox" id="linear" onclick="changePlot(this.id)">Linear
<input type="checkbox" id="hive" onclick="changePlot(this.id)">Hive
Steam: <input type="checkbox" id="steamTrue" onclick="changeSteam(this.id)">Yes
<input checked type="checkbox" id="steamFalse" onclick="changeSteam(this.id)">No
Figure: <input checked type="checkbox" id="archTrue" onclick="changeArch(this.id)">Arch
<input type="checkbox" id="archFalse" onclick="changeArch(this.id)">Rectangule
</div>
</td><td style="width: 20%">
<div id="buttons" style="display: inline">
<button id="onVR" onclick="onVR()" style="display: inline;">VR</button>
<button id="on3D" onclick="on3D()" style="display: none;">3D</button>
<button id="on2D" onclick="on2D()" style="display: inline;">2D</button>
</div>
</td></tr></table>
</div>
<div id="prompt" style="display: none" align="center">
<b><p id="qn" style="display: inline; font-size: 15pt"></p></b>
<p id="question" style="display: inline; font-size: 15pt"></p>
<input id="answer" onclick="focus()" type="text">
<p id="qtime" style="display: inline; font-size: 15pt; color: red"></p>
<button id="nextQ" onclick="nextQ()" style="display: inline;">Next</button>
</div>
<div id="vis" style="display: none; width: 100%; height: 80%; align-content: center" align="center"><noscript></noscript></div>
<a-scene>
<!-- <a-sky color="#eeeeee"></a-sky> -->
<a-entity position="0 -1.5 5">
<a-camera look-controls>
<a-cursor></a-cursor>
</a-camera>
</a-entity>
<a-entity id="light1" light="type: point; color: #EEE; intensity: 0.9"></a-entity>
<a-entity id="light2" light="type: point; color: #EEE; intensity: 0.9"></a-entity>
<a-entity id="light3" light="type: point; color: #EEE; intensity: 0.9"></a-entity>
<a-entity id="light4" light="type: point; color: #EEE; intensity: 0.9"></a-entity>
<a-entity id="rightHand" laser-controls="hand: right" raycaster="objects: [mixin='box']" line="color: #118A7E"></a-entity>
</a-scene>
<p id="csvdata" style="display: none" value=""></p>
<script src="resources/scripts/main.js"></script>
</body>
</html>