Skip to main content

Module caves

Module caves 

Source
Expand description

Cave system generation — 3D cellular automata.

Uses 3D cellular automata (B5678/S45678 variant) to create organic cave networks, then connects components and identifies features (chambers, tunnels, lakes).

Structs§

CaveSystem
A complete cave system.
VoxelGrid
A 3D voxel grid for cave generation.

Enums§

CaveFeature
A feature detected in the cave.

Functions§

generate
Generate cave systems.