P
Pathfinding Visualizer
Visualize A*, Dijkstra, and BFS algorithms finding the shortest path on a grid.
Algorithms
v1.0.0
109 uses
P
Pathfinding Visualizer
Esc
or
Ctrl+Shift+F
to exit
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
- 1 Click and drag on the grid to draw walls (obstacles)
- 2 Drag the green start or red end markers to reposition them
- 3 Choose an algorithm from the dropdown
- 4 Click Find Path to watch the algorithm explore
- 5 Click Clear Walls to remove obstacles, or Reset to start fresh
- 6 Compare how different algorithms explore the grid differently
More Simulators in Algorithms
H
Hash Table
AlgorithmsVisualize hash table insertions, lookups, and collision resolution strategies.
D
Database B-Tree
AlgorithmsVisualize how databases use B-Trees for indexing — insert keys and watch the tree split and grow.
S
Stack & Queue
AlgorithmsVisualize push, pop, enqueue, and dequeue operations on stacks and queues.