-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (62 loc) · 1.66 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>GT-TurnpointsDetection</title>
<script src="libraries/p5.js"></script>
<script src="libraries/p5.dom.js"></script>
<script src="libraries/p5.sound.js"></script>
<script src="sketch.js"></script>
<script src="point.js"></script>
<style>
body {
margin:0;
padding:0;
overflow: hidden;
}
canvas {
margin:auto;
}
.selector {
position: absolute;
top: 10px;
left: 10px;
font-family: Arial, Helvetica, sans-serif;
}
#trackToggle {
color: rgb(255, 52, 52)
}
#reducedToggle {
color: rgb(52, 52, 255)
}
#tpToggle {
color: rgb(52, 255, 52)
}
#bruteToggle {
color: white;
}
#noLoopToggle {
color: white;
}
.noLoop {
position: absolute;
bottom: 10px;
left: 10px;
font-family: Arial, Helvetica, sans-serif;
}
</style>
</head>
<body>
<div class="selector">
<input type="checkbox" name="trackToggle" onclick="handleClick(this)"><span id="trackToggle">Original Path</span><br>
<input type="checkbox" name="reducedToggle" onclick="handleClick(this)"><span id="reducedToggle">Reduced Path</span><br>
<input type="checkbox" name="tpToggle" onclick="handleClick(this)" checked><span id="tpToggle">Turnpoints Path</span><br>
<input type="checkbox" name="bruteToggle" onclick="handleClick(this)" checked><span id="bruteToggle">2-TP Bruteforce Path</span><br>
</div>
<div class="noLoop">
<input type="checkbox" name="noLoop" onclick="handleClick(this)"><span id="noLoopToggle">NoLoop (WIP)</span><br>
</div>
</body>
</html>