-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
30 lines (30 loc) · 1.65 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
<!DOCTYPE html>
<head>
<title>Self driving car</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div style="margin-right: 20px; width: 320px; display:flex; flex-direction:column;">
<h1>Self-Driving Car with Neural Networks</h1>
<h3 style="color: darkslategrey;">Click 'Save' to save your car and continue training neural network.</h3>
<h3 style="color: darkslategrey;">To restart without saving the current run, click on the 'Restart' button.</h3>
<h3 style="color: darkslategrey;">If you wish to reset your work completely, click on the 'Remove' icon.</h3>
</div>
<div style="width: 150px;margin-right: 20px; margin-top: 70px;">
<div id="deletedCarsCount" style="color: darkslategrey;font-size: 24px; text-align: center;padding-bottom: 20px;">Score: 0</div>
<button onclick="save()" style="font-size: 18px; padding: 20px; float: right;min-width: 120px; margin-bottom: 10px;">Save</button>
<button onclick="reset()" style="font-size: 18px; padding: 20px; float: right;min-width: 120px;margin-bottom: 10px;">Reset</button>
<button onclick="discard()" style="font-size: 18px; padding: 20px; float: right;min-width: 120px;margin-bottom: 10px;">Remove</button>
</div>
<canvas id="carCanvas" style="margin-right: 10px;"></canvas>
<canvas id="networkCanvas"></canvas>
<script src="visualizer.js"></script>
<script src="network.js"></script>
<script src="sensor.js"></script>
<script src="utils.js"></script>
<script src="road.js"></script>
<script src="controls.js"></script>
<script src="car.js"></script>
<script src="main.js"></script>
</body>
</html>