Maze carving, floor tinted by distance from the start
Dead ends and regions vs carving step

Maze Generation Algorithms: Spanning Trees, Dead Ends and Solution Length (2D)

Watch six maze algorithms carve a spanning tree of the grid: recursive backtracker, Prim, Kruskal, Wilson, Aldous-Broder and binary tree. Choose the size, seed and how many dead ends to open into loops, then compare dead-end fraction, corridor lengths and the shortest solution. A Blender-built hedge maze with a runner, with numerical checks (Kirchhoff tree counts, chi-square uniformity, the 0.2945 leaf limit) built in.

Made with 🟠 Blender