Welcome to PathVisor

Pick an algorithm to start.

Click the Start (🟦) or End (🟧) node once to change its position.

Use the Player to control the speed and execution of the algorithm. Click the right and left arrows for step-by-step analysis.

Select Walls or Weights from the menu and draw them on the grid.

Walls represent impassable obstacles that the algorithm cannot traverse,β€Ž β€Ž forcing it to avoid them.


Weights are nodes that the algorithm can pass through, but with additional costs.β€Ž β€Ž A tile with a β€œ2” has a low cost.β€Ž β€Ž A tile with a β€œ9” however has a higher cost, making it less desirable for the algorithm to choose, unless it’s the only optimal path.β€Ž β€Ž The algorithm prefers to choose paths with lower costs.


Note: β€Žβ€Ž Only the Dijkstra and A-star algorithms work with weighted nodes; β€Ž other algorithms treat them as regular nodes.

Visited nodes can't be modified.β€Ž β€Ž To reset the grid, click the button on the bottom right.


Created by Raj Shah