-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
30 lines (24 loc) · 997 Bytes
/
index.html
File metadata and controls
30 lines (24 loc) · 997 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>A* </title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.1.9/p5.min.js"
integrity="sha512-WIklPM6qPCIp6d3fSSr90j+1unQHUOoWDS4sdTiR8gxUTnyZ8S2Mr8e10sKKJ/bhJgpAa/qG068RDkg6fIlNFA=="
crossorigin="anonymous"></script>
</head>
<body>
<!-- dont forget to change the hard coded positions according to the canvas position -->
<div style="position: absolute; top: 10px; left: 280px;">
<img src="https://blogs.forbes.com/olliebarder/files/2018/03/super_mario_plumber_new.jpg"
width="150px" height="80px">
</div>
<div style="position: absolute; top: 680px; left: 990px;">
<img src="https://i.pinimg.com/originals/bb/77/2c/bb772c59f3ce9fd144a7d26103c2495c.jpg"
width="60px" height="60px">
</div>
<script src="pathfinder_astar.js">
</script>
</body>
</html>