Cave Generator

Cellular Automata Caves

Step: 0
Open Space: 0%
Regions: 0
← Back to Gallery

Cave Generation

Uses cellular automata rules similar to Conway's Game of Life. A cell becomes wall if it has ≥ birth neighbors, and stays wall if it has ≥ death neighbors. Multiple iterations smooth the caves. Flood fill shows disconnected regions, and connect links them.