Connected Level Generator
VOXELMAZE
A seeded, perfect maze built one carved edge at a time. Scrub the timeline to inspect every DFS construction state.
Randomized depth-first search
Level controls
Goal pending
Drag / wheel
Construction log
Click a step
Connectivity monitor
Runtime BFS audit
Level
01
Seed
—
Reachable
1/1
Edges
0
Running reachability audit…
Declared algorithm:
mark the start visited; repeatedly select a random unvisited orthogonal
neighbor of the DFS stack top and carve one edge to it; otherwise pop
the stack. Carved edges are never removed.
Reachability invariant: a newly carved cell is attached by one edge to an already reachable parent. Backtracking only moves the cursor. Therefore every carved cell remains reachable from the start at every construction prefix. The BFS audit checks all prefixes, not only the completed level.
Reachability invariant: a newly carved cell is attached by one edge to an already reachable parent. Backtracking only moves the cursor. Therefore every carved cell remains reachable from the start at every construction prefix. The BFS audit checks all prefixes, not only the completed level.
0 / 0
Seeded start at A1