-
Notifications
You must be signed in to change notification settings - Fork 0
/
bigCity.html
37 lines (35 loc) · 1.24 KB
/
bigCity.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>self driving car - simulator</title>
<link rel="stylesheet" href="integrated/style.css">
</head>
<body>
<div id="verticalButtons">
<button id="saveBrain" title="Save Brain">💾</button>
<label id="loadCar" title="Load Car">🚗<input type="file" id="carFileInput" accept='.car'/></label>
<button id="discardBrain" title="Discard Brain">🗑️</button>
<label title="Load World">📁<input type="file" id="worldFileInput" accept='.world'> </label>
<button id="resetButton">🔁</button>
<label >
mutate
<input id="mutationInput" type="range" min="0" max="1" step="0.05"/>
</label>
<label >
clones
<input id="clonesInput" type="range" min="1" max="1000" step="10"/>
</label>
</div>
<canvas id="carCanvas"></canvas>
<div id="visualizer">
<canvas id="networkCanvas"></canvas>
<canvas id="miniMapCanvas"></canvas>
</div>
<script src="js/visualizer/brain-visualizer.js"></script>
<script src="js/math/neuralNetwork.js"></script>
<script src="training-one-car/utils.js"></script>
<script src="js/controls/keyboardControls.js"></script>
<script src="integrated/simulator.js" type="module"></script>
</body>
</html>