Pathfinding Algorithms

Draw walls, set start/end, and animate A*, Dijkstra, BFS, and DFS finding a path through the grid.

Empty
Wall
Start
End
Visited
Frontier
Path
Click/drag to draw walls. Right-click: set start (S) or end (E).