Draw walls and compare how Dijkstra and A* search a grid.
A* · expanded 0 · searching
Click/drag to draw walls. Drag the square (start) or ring (goal) to move them.
Dijkstra expands from the cheapest known position. A* also estimates the remaining distance to guide its search.