-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpathfinder.html
executable file
·46 lines (41 loc) · 1.11 KB
/
pathfinder.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Pathfinder</title>
<link rel="stylesheet" type="text/css" href="./css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="./css/slider.css">
</head>
<body>
<div class="row">
<div class="col">
<div class="row">
<h1>Pathfinder</h1>
</div>
<div class="row">
<p>Uses A* to generate vectors for the "flyers" to navigate the maze</p>
</div>
<div class="row">
<p>Click to change the goal in real time!</p>
</div>
</div>
</div>
<div class="row">
<div id="inputs" class="col-md-2">
<div class="row">
<p>Flyers (0-1000):</p>
</div>
<div class="row bottom-pad">
<input type="range" id="flyers" min="0" max="1000" width="500px"/>
</div>
<div class="row">
<button onclick="restart()">Reload</button>
</div>
</div>
<div class="col-md-7">
<canvas id="pathfinder"></canvas>
</div>
</div>
<script src="js/pathfinder.js"></script>
</body>
</html>