Cellular Automata Caves

Below is a variation of a Cellular Automata simulation where instead of simulating life, I can change the “rules” of Conway’s Game of Life in order to create natural looking “caves”.

The idea is in no way my own creation. Instead, I followed the concepts outlined in this RogueBasin post.

Although the idea wasn’t my own, and the concept pretty clearly laid out for me, the implemention wasn’t without its challenges. In order to accomplish this, I needed to make the original Cell class extendable, and then override some of its methods for how it determines whether the cell should live or die. This was no massive undertaking, but it was still something to learn.


Changes to these settings will restart the simulation