-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
75 lines (73 loc) · 3.84 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
67
68
69
70
71
72
73
74
75
<!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">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-JEW9xMcG8R+pH31jmWH6WWP0WintQrMb4s7ZOdauHnUtxwoG2vI5DkLtS3qm9Ekf" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin="anonymous" />
<title>Pathfinding Visualizer</title>
<meta name="description" content="Pathfinding algorithms visualizer. Visualize algorithms like A*, Djikstra's and more!">
<meta name="keywords" content="pathfinding, visualization, a*, djikstra's algorithm, prim's algorithm">
<link rel="stylesheet" href="typo.css">
<link rel="stylesheet" href="main.css">
<link rel="stylesheet" href="grid.css">
<link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet'>
<link rel="icon" href="neural.svg">
</head>
<body>
<div class="page">
<header>
<nav class="navbar" id="navbar">
<div class="navbar-item">
<div class="custom-select">
<select id="algo-select">
<option value="AStar">A* Algorithm</option>
<!-- <option value="Dijkstra">Dijkstra's Algorithm</option> -->
<option value="BFS">Breadth First Search</option>
<option value="DFS">Depth First Search</option>
<!-- <option value="Greedy">Greedy Algorithm</option> -->
</select>
</div>
</div>
<div class="navbar-item">
<div class="custom-select">
<select id="maze-algo-select">
<option value="Random">Random Maze</option>
<option value="DFS">Random DFS Maze</option>
<option value="Prim">Prim's Algorithm</option>
</select>
</div>
</div>
<div class="navbar-item">
<button class="general-button start-button" onclick="Run()">Visualize</button>
</div>
<div class="navbar-item">
<div class="speed-container slidecontainer">
<span class="range-caption">Speed</span>
<input type="range" class="slider" id="range-speed" min="0" max="200" value="25">
</div>
</div>
<div class="navbar-item">
<button class="general-button options-button" onclick="ResetPath();">Reset Path</button>
</div>
<div class="navbar-item">
<button class="general-button options-button" onclick="ClearWalls();">Remove Walls</button>
</div>
<div class="navbar-item">
<button class="general-button options-button" onclick="ClearGrid();">Clear Board</button>
</div>
</nav>
</header>
<div class="main-grid-container">
<div class="grid-container">
<div class="grid" id="grid">
</div>
<div style="text-align: center; margin: 0 auto;"><h5>Made with ❤️ by Parth Kulkarni</h5></div>
</div>
</div>
</div>
<script src="main.js" async></script>
<script src="select.js" async></script>
</body>
</html>