-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (76 loc) · 2.71 KB
/
index.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
80
81
82
83
84
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"
integrity="sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link
href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/icon?family=Material+Icons+Outlined"
rel="stylesheet"
/>
<link rel="stylesheet" href="./visualizer/styles/neuron.css" />
<link rel="stylesheet" href="./visualizer/styles/background.css" />
<title>Spiking Neuron Visualizer</title>
</head>
<body>
<div class="toprow">
<div class="title">Spiking Neuron Visualizer</div>
<a href="./tutorial.gif" target="_blank">Brief Tutorial</a>
</div>
<form name="buttons" class="buttons">
<label>
<input class="button" type="checkbox" name="dragMode" />
<div><span class="material-icons-outlined">pan_tool</span></div>
</label>
<label>
<input class="button" type="checkbox" name="clickMode" />
<div><i class="material-icons">ads_click</i></div>
</label>
<label>
<input class="button" type="checkbox" name="connectMode" />
<div><span class="material-icons-outlined">swipe_right_alt</span></div>
</label>
<label>
<input class="button" type="checkbox" name="cutMode" />
<div><span class="material-icons-outlined">content_cut</span></div>
</label>
<label>
<input class="button" type="checkbox" name="deleteMode" />
<div><span class="material-icons-outlined">delete_forever</span></div>
</label>
<label>
<input class="button" type="button" name="add" />
<div><span class="material-icons-outlined">add</span></div>
</label>
<span style="margin-left: 200px"></span>
<label>
<input class="button" type="checkbox" name="play" />
<div><span class="material-icons">play_arrow</span></div>
</label>
</form>
<div id="board">
<div id="ioDiv"></div>
</div>
</body>
<script src="./visualizer/src/neuron.js"></script>
<script src="./visualizer/src/connection.js"></script>
<script src="./visualizer/src/io.js"></script>
<script src="./visualizer/src/menu.js"></script>
<script>
var neurons = [];
var connections = [];
var inputNeurons = [];
setDefault();
</script>
</html>