Langton’s Ant macOS screen saver written in Swift
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Langton’s Ant.xcodeproj
Langton’s Ant
Preview
LICENSE
Preview.gif
Readme.markdown

Readme.markdown

Langton’s Ant

Swift macOS screen saver implementation of Langton’s Ant.

Langton’s Ant is a two-dimensional universal Turing machine with a very simple set of rules but complex emergent behavior. It was invented by Chris Langton in 1986.

It’s fascinating because it only uses the following two rules to generate everything you see:

  • At an unfilled square, turn 90° right, flip the color of the square, move forward one unit
  • At a filled square, turn 90° left, flip the color of the square, move forward one unit

Preview

Installation

Download the latest release. Unzip and double-click.

Preferences

Don’t forget to check out “Screen Saver Options…” in System Preferences. You can change the model and style to your liking.

Building

Xcode 8.3 is required since Langton’s Ant is written in Swift 3.