Interactive Pathfinding Visualizer
A* · BFS · Dijkstra · DFS · Greedy · Bidir · JPS
Algo: Optimal
Speed: 5
Heuristic:
Algo: A*
Tool: wall
Cursor:
Draw walls → RUN

Pathfinding Visualizer — 7 Algorithms, Free & Interactive

Watch A*, BFS, Dijkstra, DFS, Greedy Best-First, Bidirectional BFS, and Jump Point Search (JPS) find paths through a grid in real time. Draw walls, set terrain with movement costs, adjust speed, and export as PNG or animated GIF. Runs entirely in your browser.

Algorithms

Related Tools

FAQ

What is Jump Point Search?
JPS is an optimization of A* for uniform-cost grids. It prunes symmetrically redundant paths and jumps to key nodes, reducing nodes explored by orders of magnitude on open grids.
Which algorithm is best for games?
A* is most common. JPS is faster than A* on large open grids. For weighted terrain use Dijkstra or A*. For simple unweighted levels, BFS is plenty.
How do terrain costs work?
In Terrain mode: grass=2, water=5, mountain=10. Dijkstra and A* pick the cheapest path even if it’s longer in cell count. DFS and BFS ignore costs.
How to export a GIF?
Click ⏺ GIF to start recording, then run your algorithm. When done, click ⏺ GIF again to stop and download the animated GIF.