Example of the A* algorithm and pathfinding.
Play with the interactive HTML5 demo:
https://whiteboxdev.github.io/bundles/example-a-star/index.html
Please click the ☆ button on GitHub if this repository is useful or interesting. Thank you!
Control | Description |
---|---|
Left Click | Swap weighted, wall, and floor tiles. |
Right Click | Swap start, end, and floor tiles. |
Enter | Run the A* algorithm. |
Space | Clear all tiles. |