CellularAutomataMap - manno-xx/haxe-openfl-examples GitHub Wiki

The Cellular Automata Map example generates a dungeon-like map. Clicking on the screen executes one step of the Cellular Automata and thus creates a map. Depending on the initial distribution of cells it takes about 12 steps for the CA to reach a static form.

Cellular Automata map

Based on: http://gamedevelopment.tutsplus.com/tutorials/generate-random-cave-levels-using-cellular-automata--gamedev-9664

More about Cellular Automata: http://www.conwaylife.com/wiki/Cellular_automaton