-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
61 lines (56 loc) · 2.18 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
<!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="icon"
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🏎️</text></svg>"
/>
<link rel="stylesheet" href="style.css" />
<title>F1 Overt[AI]king 👑</title>
</head>
<body class="texture">
<span class="container">
<span class="team-select">
<label for="team">Choose a racing team: </label>
<select name="team" id="team">
<option value="white">~ Choose a team ~</option>
<option value="red" selected>Ferrari</option>
<option value="blue">Williams</option>
<option value="darkorange">McLaren</option>
<option value="darkgreen">Lotus</option>
<option value="darkblue">Red Bull</option>
<option value="grey">Mercedes</option>
<option value="darkslategray">Cooper</option>
<option value="green">Brabham</option>
<option value="gold">Renault</option>
</select>
</span>
<span class="controllable-slider">
<label for="controllable">Controllable</label>
<label class="switch">
<input type="checkbox" id="controllable" />
<span class="slider round"></span>
</label>
</span>
<span class="vertical-buttons">
<h1 id="position"></h1>
<button onclick="location.reload()" title="Restart">↻ Restart</button>
<button onclick="save()" title="Save path">💾 Save</button>
<button onclick="discard()" title="Remove saved path">🗑️ Delete</button>
</span>
<canvas id="track"></canvas>
<canvas id="network"></canvas>
</span>
<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>