Home▸Algorithms & AI▸A* Pathfinding (2D)

🧭 A* Pathfinding (2D)

A 2D top-down grid visualizer for the A* pathfinding algorithm: real g/h/f cost search, draggable start and goal, click-to-draw walls, and live open/closed-set animation.

Algorithms & AI2DEasy60 FPS📱 Mobile-adapted⇄ 3D version
2d-a-star ↗ Open standalone
⚙ Under the hood

A 2D top-down grid visualizer for the A* pathfinding algorithm: real g/h/f cost search, draggable start and goal markers, click-to-draw walls, and live animation of the open and closed sets until the shortest path is found.

algorithmspathfindinga-stargraph searchheuristicsgrid

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)