Overview
BSP Dungeon Generation divides a map into rectangular regions, places rooms in leaves, and connects them with corridors.
Builds dungeon rooms by recursively splitting space into partitions.
Compact metadata for implementation and discovery.
BSP Dungeon Generation divides a map into rectangular regions, places rooms in leaves, and connects them with corridors.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n)
Average
O(n log n)
Worst
O(n log n)
Space
O(n)
Show rectangles splitting and rooms appearing in leaf partitions.
Binary Space Partitioning Dungeon Generation operates in O(n log n) time and O(n) space within the Dungeon Generation family. Often compared with Drunkard's Walk and Cellular Automata Cave Generation.
What each reference supports for this entry.
Procedural-generation reference supporting Binary Space Partitioning Dungeon Generation constraint solving, constructive generation, terrain, dungeon, or stochastic content workflow.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
BSP dungeon generation recursively partitions space in a tree-like structure.
BSP creates planned room layouts while random walks carve organic paths.