/langtonsmap

Procedural 8-bit style map generated by Langton's ant, built with SpriteKit

Primary LanguageSwiftMozilla Public License 2.0MPL-2.0

Langton's Map

A constantly evolving procedural map generated by Langston's ant, implemented in SpriteKit. Basically: there are three "ants" on a map, one that leaves behind lava, and two that leave behind water. Lava creates land that evolves over time (from lava, to rock, to dirt, then to either sand or grass), and water washes away sand, slowly eroding the land. If you let it run long enough, you get some pleasing shapes that look vaguely like landmasses.

If you think this is neat, wait til you see Life Saver!

Screenshots

Screenshots of Langton's Map, showing the generation of land mass over time.