-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
65 lines (55 loc) · 2.47 KB
/
Copy pathindex.html
File metadata and controls
65 lines (55 loc) · 2.47 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
<html>
<head>
<title>Self Driving Car</title>
<link rel = "stylesheet" href = "style.css">
<script src="https://cdn.jsdelivr.net/npm/chart.js@3.9.1/dist/chart.min.js"></script>
</head>
<body>
<div id="inputs">
<div id="label">
Mutate Amount:
<input type = "range" class = "slider" id = "mutateAmount" min="0" max="1" value = "0.5" step = "0.01" />
<div class = "display" id = "mutateAmountDisplayer">0.5</div>
</div>
<div id="label">
Sensor Count:
<input type="range" class = "slider" id="sensorCounter" min = "1" max = "16" value= "5" >
<div class = "display" id = "sensorCountDisplayer">5</div>
</div>
<div id="label">
Angel Spread (In multiple of PI/6):
<input type="range" class = "slider" id="angleCounter" min = "0" max = "12" value= "4" >
<div class = "display" id = "angleCountDisplayer">4</div>
</div>
<div id="label">
Traffic Cars per range of 1200 from:
<input type="range" class = "slider" id="trafficCounter" min = "10" max = "40" value= "20" >
<div class = "display" id = "trafficDisplayer">20</div>
</div>
<div id = "buttons">
<button onclick = "start()">start</button>
<button onclick = "stop()">stop</button>
<button onclick = "storeData()">storeData</button>
</div>
</div>
<div id="main">
<div id = "Charts">
<canvas id="scoreChart"></canvas>
</div>
<canvas id = "carCanvas"></canvas>
<canvas id = "networkCanvas"></canvas>
</div>
<script src = "ChartUtils.js"></script>
<script src = "util.js"></script>
<script src="inputs.js"></script>
<script src = "visualizer.js"></script>
<script src = "network.js"></script>
<script src = "sensor.js"></script>
<script src = "road.js"></script>
<script src = "controls.js"></script>
<script src = "car.js"></script>
<script src = "traffic.js"></script>
<script src = "dataManager.js"></script>
<script src = "main.js"></script>
</body>
</html>