Tutorial

Instructions: Click and drag on grid to draw walls/weights. Press W to toggle between drawing walls and drawing weights. Click and drag start/goal to move them. Drawing walls/weights or moving the start/goal after an algorithm has visualized will instantly show the final result as you drag your mouse. Then, pick an algorithm and click visualize to see the result!
Get Started
Pathfinding Visualizer
keyboard_arrow_down
  • Breadth-First Search Algorithm
  • Dijkstra's Shortest Path First Algorithm
  • A* (A-Star) Search Algorithm
  • Depth-First Search Maze Generator
 
 Start Node 
 
 Goal Node 
 
 Wall Node 
 
 Weight Node 
 
 Unvisited Node 
 
 Visited Node 
 
 Shortest-path Node
Weight 5