Pathfinding Visualizer
Visualize A*, Dijkstra, and BFS algorithms finding the shortest path on a grid.
Category: Algorithms
·
v1.0.0
Visited
0
Path Length
—
Status
Draw walls
About This Simulator
Watch popular pathfinding algorithms explore a grid in real time. Draw walls to create mazes, place start and end points, then run A*, Dijkstra's, or Breadth-First Search to see how each algorithm explores differently. Visited cells are highlighted as the algorithm runs, and the final shortest path is drawn when found.
How It Works
- Click and drag on the grid to draw walls (obstacles)
- Drag the green start or red end markers to reposition them
- Choose an algorithm from the dropdown
- Click Find Path to watch the algorithm explore
- Click Clear Walls to remove obstacles, or Reset to start fresh
- Compare how different algorithms explore the grid differently