Lab / Pathfinding Visualizer
🗺

Pathfinding Visualizer

Watch algorithms explore grids step by step. Draw walls, generate mazes, add weighted nodes, and compare pathfinding strategies.

20
0 nodes visited
0 path length
0 ms
Start (S)
End (E)
Wall
Weighted (5x)
Visited
Path

Draw: Click and drag to place walls. Shift+click for weighted nodes (5x cost).

Place: Right-click twice to set start and end points.

A* (Manhattan): Uses Manhattan distance heuristic. Guarantees shortest path when diagonal movement is off.(respects weighted nodes)
About this tool: All algorithms run client-side with zero dependencies. Click to draw walls, Shift+click for weighted nodes (5x cost), right-click to place start/end. Generate mazes and compare how different algorithms explore the grid.