pathfinding, watched

click to draw walls, drag the S and E dots to move them. BFS and Dijkstra spread out into the grid one frontier at a time — the whole point is you can watch them think.

frontier visited path wall