Langton's Ant

Langton's Ant is an algorithm which (like many others) generates complex behavior from simple rules. For some info about and implementations of the basic ant program, you can check out:

For my implementation, I typed in the basic algorithm (remembering it from a Scientific America article I read many years ago) and started playing with the color scheme. Unlike most multi-color ant implementations, mine doesn't change the basic ant algorithm. Instead it just overlays a color scheme on top of it, using events occuring during the basic algorithm to help select when and to what the color changes. One change I did make to the basic algorithm was that if the ant hits the edge of the screen, it will turn (and thus stay on the screen).

The program requires:

Before downloading the program, you should note that, like most other freeware, this software comes with no warranty of any type and you run it at your own risk.

If you want to take a look at it and you're system meets the above requirements, then download ant.zip (45,561 bytes), unzip it, and run ant.exe. To quit the program, press Esc.

Known problems/irregularities with the program:

Some properties of the program:


Last Modified: July 14th, 1998
home: http://www.execpc.com/~steidl/
e-mail: steidl@execpc.com