Sorry, but your browser does not support the Canvas element!

Langton's Ant on Canvas

By Dany Shaanan (Github)

Below are variants of Langton's ant in different setups. Click them, or create your own by entering numbers in the box and clicking 'execute'. (Each row should contain between 1 and 4 numbers. The first represent the type of the ant, the second and third are initial x and y locations, and the forth is a direction between 0 and 3)

Number of iterations: 0