-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (57 loc) · 1.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
<!DOCTYPE html>
<html>
<head>
<title>Self-Driving Car</title>
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<header>
<h1>
The<br />
<span class="text-animation">Self-Driving</span><br />
Car
</h1>
<small>All you AI companies, I'm open to conversation</small>
<a href="https://linkedin.com/in/lucas-hang?locale=en_US" target="_blank"
>My linkedin</a
>
</header>
<div class="actions">
<ol>
<li>
Reloading the page you can try multiple times to train The Best Car.
</li>
<li>
Whenever you think you achieved a better car, you click on "Save".
</li>
<li>
You keep this process of reloading and saving until the car passes all
the traffic and keeps going forward infinitely.
</li>
</ol>
<button type="button" onclick="save()">Save as The Best</button>
<button type="button" onclick="discard()">Reset</button>
</div>
<canvas id="carCanvas"></canvas>
<canvas id="networkCanvas"></canvas>
<footer>
<small
>Developed following
<a
href="https://www.youtube.com/playlist?list=PLB0Tybl0UNfYoJE7ZwsBQoDIG4YN9ptyY"
target="_blank"
>this course</a
></small
>
</footer>
<script src="utils.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="main.js"></script>
</body>
</html>