🗺️ 2D Pathfinding Grid — A*, Dijkstra & BFS Visualizer (2D)
A real 2D grid pathfinding visualizer: draw walls, drag start/end, generate a maze and watch A*, Dijkstra and BFS expand their open/closed sets step by step with a correct heuristic and edge relaxation, then compare visited counts and path length.
This 2D companion to the 3D Pathfinding simulator runs the exact same graph-search algorithms — A*, Dijkstra, Greedy Best-First and BFS — on a flat top-down grid drawn with plain 2D canvas fills instead of a WebGL texture quad. The open set, closed set, heuristic and edge relaxation are all real: nothing here is a pre-baked animation of a path, the frontier expands one popped node at a time exactly as the algorithm dictates, so a slower or buggier heuristic visibly explores more cells before it reaches the goal.
A 2D top-down companion to the 3D Pathfinding simulator: A*, Dijkstra, BFS, Greedy Best-First and Jump Point Search on a weighted terrain grid with diagonal rules, admissibility checks, expansion counts and live graphs.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install