Key
Explored · newest bright
Open set
Entrance · exit
Terrain cost · dots = 1–9
Explored from the exit
Every search gets the same number of expansions per frame, so the race is fair in work done, not wall-clock time. Drag on any maze to draw or erase walls; drag the entrance or exit to move them. Path verdicts compare each route with the true shortest (on flat ground) or cheapest (on terrain) route, measured separately.