-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
100 lines (96 loc) · 3.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!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" />
<title>PathFinding-Visualizer</title>
<link rel="stylesheet" href="/css/home.css" />
<script type="module" src="/js/creator.js" defer></script>
<script type="module" src="/js/buttonsFunctionality.js" defer></script>
<script type="module" src="/js/tableFunctionality.js" defer></script>
<script type="module" src="/js/algos/dfs.js" defer></script>
<script type="module" src="/js/algos/dijkstras.js" defer></script>
<script type="module" src="/js/algos/astar/astar.js" defer></script>
<link rel="stylesheet" href="/css/common.css" />
</head>
<body>
<nav class="topBar">
<div>
<div class="logo-container">Logo</div>
<div><h1>Pathfinding-Visualizer</h1></div>
</div>
<div>
<div><a href="/home">Learn</a></div>
<div><a href="/pathfindingvisualizer">Playground</a></div>
<div><a href="/about">About</a></div>
</div>
</nav>
<div class="visual-wrapper">
<div class="top">
<div class="title">-</div>
<div>
<ul class="nav-bar">
<li><button class="algo" id="dfs-btn">DFS</button></li>
<li><button class="algo" id="dijkstra-btn">Dijkstra</button></li>
<li><button class="algo" id="bfs-btn">BFS</button></li>
<li><button class="algo" id="astar-btn">A*</button></li>
<li><button class="algo" id="greedyBfs-btn">Greedy BFS</button></li>
<!-- <li><button class="algo" id="bfs-btn">Bidiriectional Swarm Algorithm</button></li> -->
<li class="separator not-algo">Mazes</li>
<li class="not-algo" id="random-target-btn">Random Pointers</li>
</ul>
</div>
</div>
<div class="table-container">
<table id="grid" class="table" cellspacing="0" cellpadding="0"></table>
</div>
<div class="bottom">
<div class="bottom-container">
<div class="container-row">
<p>Width:</p>
<div class="slider-container">
<input
type="range"
min="2"
max="60"
value="45"
class="slider"
id="myWidth"
/>
</div>
</div>
<div class="container-row">
<p>Height:</p>
<div class="slider-container">
<input
type="range"
min="2"
max="25"
value="25"
class="slider"
id="myHeight"
/>
</div>
</div>
<div class="container-row">
<p>Velocity:</p>
<div>
max
<input
type="range"
min="10"
max="200"
value="10"
steps="10"
class="slider"
id="myVelocity"
/>
min
</div>
</div>
</div>
</div>
</div>
</body>
</html>