Multicolored Turmites
Multicolored Turmites
This Demonstration is an animation of single-state, multicolor, 2-dimensional Turing machines, also known as turmites [1, 2]. Langton's ant is the most famous turmite.
An "ant" moves on a grid one cell at a time. The cells can have one of colors to . When the ant arrives at a cell with color , it changes its color cyclically to and turns either left, right, forward, or backward according to a list of rules to, one for each color. At the borders of the grid, the ant wraps around cyclically.
n
c
1
c
n
c
i
c
i+1
n
r
1
r
n
Starting from a gray colored grid and with the ant in the center, this Demonstration moves the ant step by step according to the rules for colors that can be set by the togglers (right, left, forward, u-turn, none), with values (-1, 1, 0, 2, Null). You can vary the number of colors (between 2 and 8) by setting some togglers to "none".
()
c
1
n
n