DescriptionTurmite creating a growing diamond.png |
English: The turmite specified as {{{0,1,1}, {0, 2, 1}}, {{1, 8, 0}, {0, 1, 1}}} shown at 31380 timesteps. This string is a curly-bracketed table of n_states rows and n_colors columns, where each entry is a triple of integers. The elements of each triple are: a) new color of the square, b) direction(s) for the turmite to turn: 1=noturn, 2=right, 4=u-turn, 8=left, c) new internal state of the turmite. For example, the triple {1,2,1} says: a) set the color of the square to 1, b) turn right (2), c) adopt state 1 and move forward one square.
Français : Une "turmite", ayant pour loi {{{0,1,1}, {0, 2, 1}}, {{1, 8, 0}, {0, 1, 1}}} et à l'étape 31380. La loi prend la forme d'une matrice de triplets, dont les colonnes représentent la couleur et les rangées l'état de la turmite. Les éléments de ces triplets sont les suivants: a) la nouvelle couleur de la case, b) la direction de la rotation de la turmite: 1 = pas de rotation, 2 = droite, 4 = 180°, 8 = gauche, c) le nouvel état de la turmite. |