Algorithm playground

Maze Lab

Watch a perfect maze take shape, then find the way through.

GRID  25 × 15
Carving maze— randomized depth-first search
CELLS1 / 375PATH—
Start Finish Explored Solution
Recursive backtracker builds a perfect maze · BFS guarantees the shortest routeGeneration resets automatically after each new maze.