FRACTAL MAZE
RECURSIVE DEPTH-FIRST GENERATION
Initial Size
5 × 5
7 × 7
9 × 9
11 × 11
13 × 13
15 × 15
17 × 17
19 × 19
21 × 21
23 × 23
25 × 25
27 × 27
29 × 29
31 × 31
Fractal Depth
0 (Base)
1
2
Cell Size
1px
2px
3px
4px
5px
6px
8px
10px
Generate Maze
Download Image
How it works:
The algorithm starts with a base maze, then recursively enhances it by magnifying and carving new mazes within expanded regions. Higher fractal depths create more intricate patterns.