-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·106 lines (93 loc) · 3.92 KB
/
index.html
File metadata and controls
executable file
·106 lines (93 loc) · 3.92 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>SpikeStream Visualisation</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.4.1/css/bootstrap-reboot.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Josefin+Sans|Open+Sans&display=swap" rel="stylesheet">
<link href="css/main.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/loading-bar.min.css"/>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-151428731-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'UA-151428731-2');
</script>
</head>
<body>
<script
src="https://cdn.jsdelivr.net/combine/npm/three@0.112.1,npm/three@0.112.1/examples/js/controls/OrbitControls.min.js"></script>
<header>
<a class="logo" href="#">
<img src="img/side_logo.svg"></img>
</a>
<div class="buttons">
<img id="play-pause" src="img/play.svg"></img>
<input id="scrubber" type="range" value="1" min="1" max="1000" />
<span id="playback-time">0:00 / 0:00</span>
</div>
</header>
<div class="panels">
<div class="sidebar">
<div id="control-panel" class="panel">
<div class="header">
<h2>Control Panel</h2><div class="chevron up"></div>
</div>
<div class="mobile-hide">
Spike Decay Period: <span id="decay-label">3 sec</span>
<div id="decay" class="control">
<label>1 sec</label>
<input id="decay-slider" type="range" min="1" max="10"></input>
<label>10 sec</label>
</div>
Max Amplitude: <span id="current-max-amp">0μV</span>
<div id="amplitude" class="control">
<label>0μV</label>
<input id="amplitude-slider" type="range" min="0" max="100"></input>
<label id="max-amp-label">1μV</label>
</div>
</div>
</div>
<div id="electrode-info" class="panel">
<div class="header">
<h2>Electrode Info</h2><div class="chevron up"></div>
</div>
<div class="mobile-hide">
<table>
<tr>
<td>Electrode Number:</td>
<td class="data" id="electrode-number-label">0</td>
</tr>
<tr>
<td>Electrode Coordinate:</td>
<td class="data" id="electrode-coord-label">(x,y)</td>
</tr>
<!--<tr>
<td>Last spike time:</td>
<td class="data">0:00</td>
</tr>
<tr>
<td>Last spike amplitude:</td>
<td class="data">μV</td>
</tr>-->
</table>
</div>
</div>
</div>
<div id="game" class="panel">
<div class="header">
<h2>Game Visualiser</h2>
<div class="chevron up"></div>
</div>
<div class="mobile-hide">
<canvas id="game-canvas"></canvas>
</div>
</div>
</div>
<script type="module" src="js/main.js"></script>
<script type="text/javascript" src="js/loading-bar.min.js"></script>
</body>
</html>