An example of Langton's Ants written in Javascript (wiki). Each "Ant" obeys only 2 rules..

1) At a black square, turn 90° right, flip the colour, move forward one unit

2) At a green square, turn 90° left, flip the colour, move forward one unit

Read More »

Speed ()

Cell Size ()

Clicking creates: an Ant

a Block

Oscillator

Growing Square

Move Line

> >