Langton's Ant in Processing

Just a little fun Project to check out Processing: Langton’s Ant in Processing 3.0

Langton’s Ant is interesting, a very simple algorithm produces an astonishing complex structure but will end in stable state in later cycles.

Langton’s_ant on Wikedia

Langton’s Ant on Numberphile

Screenshots

In the beginning it looks right compact

Ant1

Ant2

But after a time it

Code

BTW

Redstone Jazz has implemented Langton’s Ant within Minecraft.