Rule:ETPCA-0347
@RULE ETPCA-0347
This rule is for emulating the reversible elementary triangular partitioned cellular automaton 0347 (ETPCA 0347) created by K. Morita [1,2]. The ETPCA 0347 shows a simple "reversible world".
A three-neighbor triangular partitioned cellular automaton (TPCA) is a CA whose cell is triangular-shaped and divided into three parts, each of which has its own state-set. The next state [x,y,z] of a cell is determined by the states u, v and w of the three adjacent parts of its neighbor cells as below (not by the whole three states of the neighbor cells).
/\ /\
/ .\ / .\
/ . \ / . \
/ . \ / . \
/ . \ / . \
u / . \ w --> / x . z \ [u,v,w] --> [x,y,z]
/ . \ / . \
/ . . \ / . . \
/ . . \ / . y . \
/__________________\ /__________________\
v
The framework of TPCA makes it easy to design reversible triangular CAs. This is because the global transition function is injective iff the local transition function is injective. Among TPCAs, isotropic (i.e., rotation-symmetric) 8-state (i.e., each part has only two states) TPCAs are called "elementary" TPCAs (ETPCAs). They are extremely simple, since each of their local functions is described by only four transitions.
Here, we consider a specific reversible ETPCA 0347, where 0347 is its identification number in the class of 256 ETPCAs. Its local function is described by the following four isotropic transitions. It is a "reversible" ETPCA, since there is no pair of transitions that have the same right-hand sides.
/\ /\
/ \ / \
0 / \ 0 --> /0 0\ [0,0,0] --> [0,0,0]
/ \ / \
/________\ /____0___\
0
/\ /\
/ \ / \
0 / \ 0 --> /0 1\ [0,1,0] --> [0,1,1]
/ \ / \
/________\ /____1___\
1
/\ /\
/ \ / \
1 / \ 1 --> /1 0\ [1,0,1] --> [1,0,0]
/ \ / \
/________\ /____0___\
0
/\ /\
/ \ / \
1 / \ 1 --> /1 1\ [1,1,1] --> [1,1,1]
/ \ / \
/________\ /____1___\
1
Here, a pair of adjacent triangular cells (consisting of an up-triangle and a down-triangle) of the ETPCA 0347 is simulated in one square cell in Golly as below.
___b_________ _____________ |. ? | |. e' | | . | | . |
f| . d ? | | . d' f'| [f,e,d] --> [a',b',c']
|? c . |a --> |a' c'. | [a,b,c] --> [f',e',d']
| . | | . | "?" is a don't-care state
| ? . | | b' . |
|____________.| |____________.|
e
A square cell has thus 64 states, and each state is indicated by a 6-bit number a'b'c'd'e'f', where a' is the most significant bit.
Note that there will be some difficulty in setting a pattern in the Golly simulator, since each cell has 64 states in this emulator. Also note that, since the emulated triangle in the square cell is not an equilateral triangle, patterns are distorted.
In spite of the simplicity of the local function and the constraint of reversibility, evolutions of configurations in the ETPCA 0347 have very rich varieties, and look like those in the Game-of-Life CA to some extent. In particular, a "glider" and "glider guns" exist in it. Furthermore, using gliders to represent signals, we can implement universal reversible logic gates in it. Hence, the reversible ETPCA 0347 is computationally universal.
References: [1] Morita, K.: An 8-state simple reversible triangular cellular automaton
that exhibits complex behavior. In: Cellular Automata and Discrete Complex Systems (eds. M. Cook, T. Neary), LNCS 9664, Springer (2016). DOI: 10.1007/978-3-319-39300-1_14
[2] Morita, K.: A reversible elementary triangular partitioned cellular
automaton that exhibits complex behavior: Glider, glider guns, and universality (slides with simulation movies), Hiroshima University Institutional Repository http://ir.lib.hiroshima-u.ac.jp/00039321 (2016).
@TABLE
n_states:64 neighborhood:vonNeumann symmetries:none var a0={ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31} var a1={32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63} var b0={ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47} var b1={16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63} var e0={ 0, 1, 4, 5, 8, 9,12,13,16,17,20,21,24,25,28,29,32,33,36,37,40,41,44,45,48,49,52,53,56,57,60,61} var e1={ 2, 3, 6, 7,10,11,14,15,18,19,22,23,26,27,30,31,34,35,38,39,42,43,46,47,50,51,54,55,58,59,62,63} var f0={ 0, 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62} var f1={ 1, 3, 5, 7, 9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,63} var cd00={ 0, 1, 2, 3, 16,17,18,19, 32,33,34,35, 48,49,50,51} var cd01={ 4, 5, 6, 7, 20,21,22,23, 36,37,38,39, 52,53,54,55} var cd10={ 8, 9,10,11, 24,25,26,27, 40,41,42,43, 56,57,58,59} var cd11={12,13,14,15, 28,29,30,31, 44,45,46,47, 60,61,62,63}
cd00, b0, a0, e0, f0, 0 cd00, b0, a0, e0, f1, 48 cd00, b0, a0, e1, f0, 24 cd00, b0, a0, e1, f1, 16 cd01, b0, a0, e0, f0, 40 cd01, b0, a0, e0, f1, 32 cd01, b0, a0, e1, f0, 8 cd01, b0, a0, e1, f1, 56 cd10, b0, a0, e0, f0, 5 cd10, b0, a0, e0, f1, 53 cd10, b0, a0, e1, f0, 29 cd10, b0, a0, e1, f1, 21 cd11, b0, a0, e0, f0, 45 cd11, b0, a0, e0, f1, 37 cd11, b0, a0, e1, f0, 13 cd11, b0, a0, e1, f1, 61 cd00, b1, a0, e0, f0, 6 cd00, b1, a0, e0, f1, 54 cd00, b1, a0, e1, f0, 30 cd00, b1, a0, e1, f1, 22 cd01, b1, a0, e0, f0, 46 cd01, b1, a0, e0, f1, 38 cd01, b1, a0, e1, f0, 14 cd01, b1, a0, e1, f1, 62 cd10, b1, a0, e0, f0, 4 cd10, b1, a0, e0, f1, 52 cd10, b1, a0, e1, f0, 28 cd10, b1, a0, e1, f1, 20 cd11, b1, a0, e0, f0, 44 cd11, b1, a0, e0, f1, 36 cd11, b1, a0, e1, f0, 12 cd11, b1, a0, e1, f1, 60 cd00, b0, a1, e0, f0, 3 cd00, b0, a1, e0, f1, 51 cd00, b0, a1, e1, f0, 27 cd00, b0, a1, e1, f1, 19 cd01, b0, a1, e0, f0, 43 cd01, b0, a1, e0, f1, 35 cd01, b0, a1, e1, f0, 11 cd01, b0, a1, e1, f1, 59 cd10, b0, a1, e0, f0, 1 cd10, b0, a1, e0, f1, 49 cd10, b0, a1, e1, f0, 25 cd10, b0, a1, e1, f1, 17 cd11, b0, a1, e0, f0, 41 cd11, b0, a1, e0, f1, 33 cd11, b0, a1, e1, f0, 9 cd11, b0, a1, e1, f1, 57 cd00, b1, a1, e0, f0, 2 cd00, b1, a1, e0, f1, 50 cd00, b1, a1, e1, f0, 26 cd00, b1, a1, e1, f1, 18 cd01, b1, a1, e0, f0, 42 cd01, b1, a1, e0, f1, 34 cd01, b1, a1, e1, f0, 10 cd01, b1, a1, e1, f1, 58 cd10, b1, a1, e0, f0, 7 cd10, b1, a1, e0, f1, 55 cd10, b1, a1, e1, f0, 31 cd10, b1, a1, e1, f1, 23 cd11, b1, a1, e0, f0, 47 cd11, b1, a1, e0, f1, 39 cd11, b1, a1, e1, f0, 15 cd11, b1, a1, e1, f1, 63
@COLORS
0 0 0 0 1 0 128 96 2 0 144 112 3 0 192 144 4 0 160 128 5 0 208 160 6 0 224 176 7 0 255 192
8 80 128 0 9 80 128 96 10 80 144 112 11 80 192 144 12 80 160 128 13 80 208 160 14 80 224 176 15 80 255 192
16 96 128 0 17 96 128 96 18 96 144 112 19 96 192 144 20 96 160 128 21 96 208 160 22 96 224 176 23 96 255 192
24 160 128 0 25 160 128 96 26 160 144 112 27 160 192 144 28 160 160 128 29 160 208 160 30 160 224 176 31 160 255 192
32 144 128 0 33 144 128 96 34 144 144 112 35 144 192 144 36 144 160 128 37 144 208 160 38 144 224 176 39 144 255 192
40 192 128 0 41 192 128 96 42 192 144 112 43 192 192 144 44 192 160 128 45 192 208 160 46 192 224 176 47 192 255 192
48 224 128 0 49 224 128 96 50 224 144 112 51 224 192 144 52 224 160 128 53 224 208 160 54 224 224 176 55 224 255 192
56 255 128 0 57 255 128 96 58 255 144 112 59 255 192 144 60 255 160 128 61 255 208 160 62 255 224 176 63 255 255 192
@ICONS
A particle (i.e., the state 1) in an up-triangle is indicated by yellow, while a particle in a down-triangle is by light-green, though they are the same state.
XPM /* width height num_colors chars_per_pixel */ "15 960 4 1" /* colors */ ". c #000000" "Y c #FFFF00" "G c #00FF88" "B c #000000" /* icon for state 1 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......BBB..GGG" ".......BBB..GGG" ".......BBB..GGG" "..............." "BBB..BBB......." "BBB..BBB......." "BBB..BBB......." "..............." "....BBB........" "....BBB........" "....BBB........" /* icon for state 2 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......BBB..BBB" ".......BBB..BBB" ".......BBB..BBB" "..............." "BBB..BBB......." "BBB..BBB......." "BBB..BBB......." "..............." "....BBB........" "....BBB........" "....BBB........" /* icon for state 3 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......BBB..GGG" ".......BBB..GGG" ".......BBB..GGG" "..............." "BBB..BBB......." "BBB..BBB......." "BBB..BBB......." "..............." "....BBB........" "....BBB........" "....BBB........" /* icon for state 4 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......GGG..BBB" ".......GGG..BBB" ".......GGG..BBB" "..............." "BBB..BBB......." "BBB..BBB......." "BBB..BBB......." "..............." "....BBB........" "....BBB........" "....BBB........" /* icon for state 5 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......GGG..GGG" ".......GGG..GGG" ".......GGG..GGG" "..............." "BBB..BBB......." "BBB..BBB......." "BBB..BBB......." "..............." "....BBB........" "....BBB........" "....BBB........" /* icon for state 6 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......GGG..BBB" ".......GGG..BBB" ".......GGG..BBB" "..............." "BBB..BBB......." "BBB..BBB......." "BBB..BBB......." "..............." "....BBB........" "....BBB........" "....BBB........" /* icon for state 7 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......GGG..GGG" ".......GGG..GGG" ".......GGG..GGG" "..............." "BBB..BBB......." "BBB..BBB......." "BBB..BBB......." "..............." "....BBB........" "....BBB........" "....BBB........" /* icon for state 8 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......BBB..BBB" ".......BBB..BBB" ".......BBB..BBB" "..............." "BBB..YYY......." "BBB..YYY......." "BBB..YYY......." "..............." "....BBB........" "....BBB........" "....BBB........" /* icon for state 9 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......BBB..GGG" ".......BBB..GGG" ".......BBB..GGG" "..............." "BBB..YYY......." "BBB..YYY......." "BBB..YYY......." "..............." "....BBB........" "....BBB........" "....BBB........" /* icon for state 10 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......BBB..BBB" ".......BBB..BBB" ".......BBB..BBB" "..............." "BBB..YYY......." "BBB..YYY......." "BBB..YYY......." "..............." "....BBB........" "....BBB........" "....BBB........" /* icon for state 11 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......BBB..GGG" ".......BBB..GGG" ".......BBB..GGG" "..............." "BBB..YYY......." "BBB..YYY......." "BBB..YYY......." "..............." "....BBB........" "....BBB........" "....BBB........" /* icon for state 12 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......GGG..BBB" ".......GGG..BBB" ".......GGG..BBB" "..............." "BBB..YYY......." "BBB..YYY......." "BBB..YYY......." "..............." "....BBB........" "....BBB........" "....BBB........" /* icon for state 13 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......GGG..GGG" ".......GGG..GGG" ".......GGG..GGG" "..............." "BBB..YYY......." "BBB..YYY......." "BBB..YYY......." "..............." "....BBB........" "....BBB........" "....BBB........" /* icon for state 14 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......GGG..BBB" ".......GGG..BBB" ".......GGG..BBB" "..............." "BBB..YYY......." "BBB..YYY......." "BBB..YYY......." "..............." "....BBB........" "....BBB........" "....BBB........" /* icon for state 15 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......GGG..GGG" ".......GGG..GGG" ".......GGG..GGG" "..............." "BBB..YYY......." "BBB..YYY......." "BBB..YYY......." "..............." "....BBB........" "....BBB........" "....BBB........" /* icon for state 16 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......BBB..BBB" ".......BBB..BBB" ".......BBB..BBB" "..............." "BBB..BBB......." "BBB..BBB......." "BBB..BBB......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 17 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......BBB..GGG" ".......BBB..GGG" ".......BBB..GGG" "..............." "BBB..BBB......." "BBB..BBB......." "BBB..BBB......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 18 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......BBB..BBB" ".......BBB..BBB" ".......BBB..BBB" "..............." "BBB..BBB......." "BBB..BBB......." "BBB..BBB......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 19 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......BBB..GGG" ".......BBB..GGG" ".......BBB..GGG" "..............." "BBB..BBB......." "BBB..BBB......." "BBB..BBB......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 20 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......GGG..BBB" ".......GGG..BBB" ".......GGG..BBB" "..............." "BBB..BBB......." "BBB..BBB......." "BBB..BBB......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 21 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......GGG..GGG" ".......GGG..GGG" ".......GGG..GGG" "..............." "BBB..BBB......." "BBB..BBB......." "BBB..BBB......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 22 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......GGG..BBB" ".......GGG..BBB" ".......GGG..BBB" "..............." "BBB..BBB......." "BBB..BBB......." "BBB..BBB......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 23 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......GGG..GGG" ".......GGG..GGG" ".......GGG..GGG" "..............." "BBB..BBB......." "BBB..BBB......." "BBB..BBB......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 24 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......BBB..BBB" ".......BBB..BBB" ".......BBB..BBB" "..............." "BBB..YYY......." "BBB..YYY......." "BBB..YYY......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 25 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......BBB..GGG" ".......BBB..GGG" ".......BBB..GGG" "..............." "BBB..YYY......." "BBB..YYY......." "BBB..YYY......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 26 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......BBB..BBB" ".......BBB..BBB" ".......BBB..BBB" "..............." "BBB..YYY......." "BBB..YYY......." "BBB..YYY......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 27 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......BBB..GGG" ".......BBB..GGG" ".......BBB..GGG" "..............." "BBB..YYY......." "BBB..YYY......." "BBB..YYY......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 28 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......GGG..BBB" ".......GGG..BBB" ".......GGG..BBB" "..............." "BBB..YYY......." "BBB..YYY......." "BBB..YYY......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 29 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......GGG..GGG" ".......GGG..GGG" ".......GGG..GGG" "..............." "BBB..YYY......." "BBB..YYY......." "BBB..YYY......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 30 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......GGG..BBB" ".......GGG..BBB" ".......GGG..BBB" "..............." "BBB..YYY......." "BBB..YYY......." "BBB..YYY......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 31 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......GGG..GGG" ".......GGG..GGG" ".......GGG..GGG" "..............." "BBB..YYY......." "BBB..YYY......." "BBB..YYY......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 32 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......BBB..BBB" ".......BBB..BBB" ".......BBB..BBB" "..............." "YYY..BBB......." "YYY..BBB......." "YYY..BBB......." "..............." "....BBB........" "....BBB........" "....BBB........" /* icon for state 33 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......BBB..GGG" ".......BBB..GGG" ".......BBB..GGG" "..............." "YYY..BBB......." "YYY..BBB......." "YYY..BBB......." "..............." "....BBB........" "....BBB........" "....BBB........" /* icon for state 34 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......BBB..BBB" ".......BBB..BBB" ".......BBB..BBB" "..............." "YYY..BBB......." "YYY..BBB......." "YYY..BBB......." "..............." "....BBB........" "....BBB........" "....BBB........" /* icon for state 35 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......BBB..GGG" ".......BBB..GGG" ".......BBB..GGG" "..............." "YYY..BBB......." "YYY..BBB......." "YYY..BBB......." "..............." "....BBB........" "....BBB........" "....BBB........" /* icon for state 36 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......GGG..BBB" ".......GGG..BBB" ".......GGG..BBB" "..............." "YYY..BBB......." "YYY..BBB......." "YYY..BBB......." "..............." "....BBB........" "....BBB........" "....BBB........" /* icon for state 37 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......GGG..GGG" ".......GGG..GGG" ".......GGG..GGG" "..............." "YYY..BBB......." "YYY..BBB......." "YYY..BBB......." "..............." "....BBB........" "....BBB........" "....BBB........" /* icon for state 38 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......GGG..BBB" ".......GGG..BBB" ".......GGG..BBB" "..............." "YYY..BBB......." "YYY..BBB......." "YYY..BBB......." "..............." "....BBB........" "....BBB........" "....BBB........" /* icon for state 39 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......GGG..GGG" ".......GGG..GGG" ".......GGG..GGG" "..............." "YYY..BBB......." "YYY..BBB......." "YYY..BBB......." "..............." "....BBB........" "....BBB........" "....BBB........" /* icon for state 40 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......BBB..BBB" ".......BBB..BBB" ".......BBB..BBB" "..............." "YYY..YYY......." "YYY..YYY......." "YYY..YYY......." "..............." "....BBB........" "....BBB........" "....BBB........" /* icon for state 41 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......BBB..GGG" ".......BBB..GGG" ".......BBB..GGG" "..............." "YYY..YYY......." "YYY..YYY......." "YYY..YYY......." "..............." "....BBB........" "....BBB........" "....BBB........" /* icon for state 42 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......BBB..BBB" ".......BBB..BBB" ".......BBB..BBB" "..............." "YYY..YYY......." "YYY..YYY......." "YYY..YYY......." "..............." "....BBB........" "....BBB........" "....BBB........" /* icon for state 43 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......BBB..GGG" ".......BBB..GGG" ".......BBB..GGG" "..............." "YYY..YYY......." "YYY..YYY......." "YYY..YYY......." "..............." "....BBB........" "....BBB........" "....BBB........" /* icon for state 44 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......GGG..BBB" ".......GGG..BBB" ".......GGG..BBB" "..............." "YYY..YYY......." "YYY..YYY......." "YYY..YYY......." "..............." "....BBB........" "....BBB........" "....BBB........" /* icon for state 45 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......GGG..GGG" ".......GGG..GGG" ".......GGG..GGG" "..............." "YYY..YYY......." "YYY..YYY......." "YYY..YYY......." "..............." "....BBB........" "....BBB........" "....BBB........" /* icon for state 46 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......GGG..BBB" ".......GGG..BBB" ".......GGG..BBB" "..............." "YYY..YYY......." "YYY..YYY......." "YYY..YYY......." "..............." "....BBB........" "....BBB........" "....BBB........" /* icon for state 47 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......GGG..GGG" ".......GGG..GGG" ".......GGG..GGG" "..............." "YYY..YYY......." "YYY..YYY......." "YYY..YYY......." "..............." "....BBB........" "....BBB........" "....BBB........" /* icon for state 48 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......BBB..BBB" ".......BBB..BBB" ".......BBB..BBB" "..............." "YYY..BBB......." "YYY..BBB......." "YYY..BBB......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 49 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......BBB..GGG" ".......BBB..GGG" ".......BBB..GGG" "..............." "YYY..BBB......." "YYY..BBB......." "YYY..BBB......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 50 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......BBB..BBB" ".......BBB..BBB" ".......BBB..BBB" "..............." "YYY..BBB......." "YYY..BBB......." "YYY..BBB......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 51 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......BBB..GGG" ".......BBB..GGG" ".......BBB..GGG" "..............." "YYY..BBB......." "YYY..BBB......." "YYY..BBB......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 52 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......GGG..BBB" ".......GGG..BBB" ".......GGG..BBB" "..............." "YYY..BBB......." "YYY..BBB......." "YYY..BBB......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 53 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......GGG..GGG" ".......GGG..GGG" ".......GGG..GGG" "..............." "YYY..BBB......." "YYY..BBB......." "YYY..BBB......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 54 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......GGG..BBB" ".......GGG..BBB" ".......GGG..BBB" "..............." "YYY..BBB......." "YYY..BBB......." "YYY..BBB......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 55 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......GGG..GGG" ".......GGG..GGG" ".......GGG..GGG" "..............." "YYY..BBB......." "YYY..BBB......." "YYY..BBB......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 56 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......BBB..BBB" ".......BBB..BBB" ".......BBB..BBB" "..............." "YYY..YYY......." "YYY..YYY......." "YYY..YYY......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 57 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......BBB..GGG" ".......BBB..GGG" ".......BBB..GGG" "..............." "YYY..YYY......." "YYY..YYY......." "YYY..YYY......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 58 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......BBB..BBB" ".......BBB..BBB" ".......BBB..BBB" "..............." "YYY..YYY......." "YYY..YYY......." "YYY..YYY......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 59 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......BBB..GGG" ".......BBB..GGG" ".......BBB..GGG" "..............." "YYY..YYY......." "YYY..YYY......." "YYY..YYY......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 60 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......GGG..BBB" ".......GGG..BBB" ".......GGG..BBB" "..............." "YYY..YYY......." "YYY..YYY......." "YYY..YYY......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 61 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......GGG..GGG" ".......GGG..GGG" ".......GGG..GGG" "..............." "YYY..YYY......." "YYY..YYY......." "YYY..YYY......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 62 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......GGG..BBB" ".......GGG..BBB" ".......GGG..BBB" "..............." "YYY..YYY......." "YYY..YYY......." "YYY..YYY......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 63 */ "........GGG...." "........GGG...." "........GGG...." "..............." ".......GGG..GGG" ".......GGG..GGG" ".......GGG..GGG" "..............." "YYY..YYY......." "YYY..YYY......." "YYY..YYY......." "..............." "....YYY........" "....YYY........" "....YYY........" /* icon for state 0 */ "........BBB...." "........BBB...." "........BBB...." "..............." ".......BBB..BBB" ".......BBB..BBB" ".......BBB..BBB" "..............." "BBB..BBB......." "BBB..BBB......." "BBB..BBB......." "..............." "....BBB........" "....BBB........" "....BBB........"
XPM /* width height num_colors chars_per_pixel */ "7 448 4 1" /* colors */ ". c #000000" "Y c #FFFF00" "G c #00FF88" "B c #000000" /* icon for state 1 */ "...BB.." "......." "..BB.GG" "......." "BB.BB.." "......." "..BB..." /* icon for state 2 */ "...GG.." "......." "..BB.BB" "......." "BB.BB.." "......." "..BB..." /* icon for state 3 */ "...GG.." "......." "..BB.GG" "......." "BB.BB.." "......." "..BB..." /* icon for state 4 */ "...BB.." "......." "..GG.BB" "......." "BB.BB.." "......." "..BB..." /* icon for state 5 */ "...BB.." "......." "..GG.GG" "......." "BB.BB.." "......." "..BB..." /* icon for state 6 */ "...GG.." "......." "..GG.BB" "......." "BB.BB.." "......." "..BB..." /* icon for state 7 */ "...GG.." "......." "..GG.GG" "......." "BB.BB.." "......." "..BB..." /* icon for state 8 */ "...BB.." "......." "..BB.BB" "......." "BB.YY.." "......." "..BB..." /* icon for state 9 */ "...BB.." "......." "..BB.GG" "......." "BB.YY.." "......." "..BB..." /* icon for state 10 */ "...GG.." "......." "..BB.BB" "......." "BB.YY.." "......." "..BB..." /* icon for state 11 */ "...GG.." "......." "..BB.GG" "......." "BB.YY.." "......." "..BB..." /* icon for state 12 */ "...BB.." "......." "..GG.BB" "......." "BB.YY.." "......." "..BB..." /* icon for state 13 */ "...BB.." "......." "..GG.GG" "......." "BB.YY.." "......." "..BB..." /* icon for state 14 */ "...GG.." "......." "..GG.BB" "......." "BB.YY.." "......." "..BB..." /* icon for state 15 */ "...GG.." "......." "..GG.GG" "......." "BB.YY.." "......." "..BB..." /* icon for state 16 */ "...BB.." "......." "..BB.BB" "......." "BB.BB.." "......." "..YY..." /* icon for state 17 */ "...BB.." "......." "..BB.GG" "......." "BB.BB.." "......." "..YY..." /* icon for state 18 */ "...GG.." "......." "..BB.BB" "......." "BB.BB.." "......." "..YY..." /* icon for state 19 */ "...GG.." "......." "..BB.GG" "......." "BB.BB.." "......." "..YY..." /* icon for state 20 */ "...BB.." "......." "..GG.BB" "......." "BB.BB.." "......." "..YY..." /* icon for state 21 */ "...BB.." "......." "..GG.GG" "......." "BB.BB.." "......." "..YY..." /* icon for state 22 */ "...GG.." "......." "..GG.BB" "......." "BB.BB.." "......." "..YY..." /* icon for state 23 */ "...GG.." "......." "..GG.GG" "......." "BB.BB.." "......." "..YY..." /* icon for state 24 */ "...BB.." "......." "..BB.BB" "......." "BB.YY.." "......." "..YY..." /* icon for state 25 */ "...BB.." "......." "..BB.GG" "......." "BB.YY.." "......." "..YY..." /* icon for state 26 */ "...GG.." "......." "..BB.BB" "......." "BB.YY.." "......." "..YY..." /* icon for state 27 */ "...GG.." "......." "..BB.GG" "......." "BB.YY.." "......." "..YY..." /* icon for state 28 */ "...BB.." "......." "..GG.BB" "......." "BB.YY.." "......." "..YY..." /* icon for state 29 */ "...BB.." "......." "..GG.GG" "......." "BB.YY.." "......." "..YY..." /* icon for state 30 */ "...GG.." "......." "..GG.BB" "......." "BB.YY.." "......." "..YY..." /* icon for state 31 */ "...GG.." "......." "..GG.GG" "......." "BB.YY.." "......." "..YY..." /* icon for state 32 */ "...BB.." "......." "..BB.BB" "......." "YY.BB.." "......." "..BB..." /* icon for state 33 */ "...BB.." "......." "..BB.GG" "......." "YY.BB.." "......." "..BB..." /* icon for state 34 */ "...GG.." "......." "..BB.BB" "......." "YY.BB.." "......." "..BB..." /* icon for state 35 */ "...GG.." "......." "..BB.GG" "......." "YY.BB.." "......." "..BB..." /* icon for state 36 */ "...BB.." "......." "..GG.BB" "......." "YY.BB.." "......." "..BB..." /* icon for state 37 */ "...BB.." "......." "..GG.GG" "......." "YY.BB.." "......." "..BB..." /* icon for state 38 */ "...GG.." "......." "..GG.BB" "......." "YY.BB.." "......." "..BB..." /* icon for state 39 */ "...GG.." "......." "..GG.GG" "......." "YY.BB.." "......." "..BB..." /* icon for state 40 */ "...BB.." "......." "..BB.BB" "......." "YY.YY.." "......." "..BB..." /* icon for state 41 */ "...BB.." "......." "..BB.GG" "......." "YY.YY.." "......." "..BB..." /* icon for state 42 */ "...GG.." "......." "..BB.BB" "......." "YY.YY.." "......." "..BB..." /* icon for state 43 */ "...GG.." "......." "..BB.GG" "......." "YY.YY.." "......." "..BB..." /* icon for state 44 */ "...BB.." "......." "..GG.BB" "......." "YY.YY.." "......." "..BB..." /* icon for state 45 */ "...BB.." "......." "..GG.GG" "......." "YY.YY.." "......." "..BB..." /* icon for state 46 */ "...GG.." "......." "..GG.BB" "......." "YY.YY.." "......." "..BB..." /* icon for state 47 */ "...GG.." "......." "..GG.GG" "......." "YY.YY.." "......." "..BB..." /* icon for state 48 */ "...BB.." "......." "..BB.BB" "......." "YY.BB.." "......." "..YY..." /* icon for state 49 */ "...BB.." "......." "..BB.GG" "......." "YY.BB.." "......." "..YY..." /* icon for state 50 */ "...GG.." "......." "..BB.BB" "......." "YY.BB.." "......." "..YY..." /* icon for state 51 */ "...GG.." "......." "..BB.GG" "......." "YY.BB.." "......." "..YY..." /* icon for state 52 */ "...BB.." "......." "..GG.BB" "......." "YY.BB.." "......." "..YY..." /* icon for state 53 */ "...BB.." "......." "..GG.GG" "......." "YY.BB.." "......." "..YY..." /* icon for state 54 */ "...GG.." "......." "..GG.BB" "......." "YY.BB.." "......." "..YY..." /* icon for state 55 */ "...GG.." "......." "..GG.GG" "......." "YY.BB.." "......." "..YY..." /* icon for state 56 */ "...BB.." "......." "..BB.BB" "......." "YY.YY.." "......." "..YY..." /* icon for state 57 */ "...BB.." "......." "..BB.GG" "......." "YY.YY.." "......." "..YY..." /* icon for state 58 */ "...GG.." "......." "..BB.BB" "......." "YY.YY.." "......." "..YY..." /* icon for state 59 */ "...GG.." "......." "..BB.GG" "......." "YY.YY.." "......." "..YY..." /* icon for state 60 */ "...BB.." "......." "..GG.BB" "......." "YY.YY.." "......." "..YY..." /* icon for state 61 */ "...BB.." "......." "..GG.GG" "......." "YY.YY.." "......." "..YY..." /* icon for state 62 */ "...GG.." "......." "..GG.BB" "......." "YY.YY.." "......." "..YY..." /* icon for state 63 */ "...GG.." "......." "..GG.GG" "......." "YY.YY.." "......." "..YY..." /* icon for state 0 */ "...BB.." "......." "..BB.BB" "......." "BB.BB.." "......." "..BB..."