FPS | |
Start position | |
End position | |
Path length |
Grid seed | ||
Grid wall rate | ||
Grid columns | ||
Grid rows | ||
Show closed set | ||
Show open set |
The code is based on Daniel Shiffman's A* pathfinding tutorial
While moving cursor on grid you can hold keys down for various actions.
s | set start position |
e | set end position |
w | place wall |
a | remove wall |
space | toggle wall |