-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
59 lines (43 loc) · 1.39 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
<!--
Atividade 3 da Matéria PLIA
Aluno: Samuel Gadiel de Ávila
Matricula: 11721EAU005
-->
<!DOCTYPE html>
<html>
<head>
<title>A* com p5.js</title>
<script src="libraries/p5.js"></script>
<script src="libraries/p5.dom.js"></script>
<script src="sketch.js"></script>
<script src="square.js"></script>
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css?family=Raleway&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/pretty-checkbox@3.0/dist/pretty-checkbox.min.css">
</head>
<body>
<h1>Algorítmo A* com p5.js</h1>
<div id="main">
<div class="container">
<div id="canvasContainer"></div>
<div class="dataContainer">
<div class="result success">
<p id="successResultP"> </p>
</div>
<div class="result failure">
<p id="failureResultP"></p>
</div>
<div id="tools">
<button class="startBtn" onClick="startPathfinding();">Iniciar</button>
<button class="clearBtn" onClick="clearPathfinding();">Limpar</button>
<button class="newWallsBtn" onClick="newWalls();">Novo Jogo</button>
<div class="diagonals">
<input id="allowDiagonals" type="checkbox" onchange="setDiagonals();"></input>
Diagonais
</div>
</div>
</div>
</div>
</div>
</body>
</html>