Langton's Ant

Langton's ant is a mathematical game involving an ant who, after landing on a white square, turns right and changes the color of the square to black. If the ant lands on a black square, it turns left and changes the square's color to white. Below is an application that lets you play with a number of parameters and view the results of these two simple rules. Enter values of your choice and press 'Load'. Once your choices have been loaded, press the start button. Note that the upper left square is (0, 0), making the lower right (width - 1, height - 1). This application is most likely unstable. If something goes wrong, just refresh the page.















Select Displays:






You will need a browser that supports the HTML 5 canvas tag in order to use this display
You will need a browser that supports the HTML 5 canvas tag in order to use this display