I'm having difficulty with colors in a rule that I'm making. Here is the code.
Code: Select all
@RULE ExpandedDoubleB3S23
@TABLE
n_states:4
neighborhood:Moore
symmetries:permute
var a = {1,3}
var b = a
var c = {0,2}
var d = c
var e = a
var f = c
var g = c
var h = {0,1,2,3}
var i = h
var j = h
var k = {0,1}
var l = k
var m = k
var n = k
var o = {2,3}
var p = o
var q = o
var r = h
var s = h
0, 1,a,b,0,0,0,0,0, 1
0, 1,1,a,c,0,0,0,0, 1
0, 1,1,1,c,d,0,0,0, 1
h, a,b,e,2,2,2,2,c, 1
h, 3,a,b,2,2,2,c,d, 1
h, 3,3,a,2,2,c,d,f, 1
h, 3,3,3,2,c,d,f,g, 1
h, 1,1,i,0,0,0,0,0, 1
h, 1,1,a,0,0,0,0,0, 1
h, 1,1,1,c,0,0,0,0, 1
3, 1,a,k,0,0,0,0,0, 1
3, 1,1,k,c,0,0,0,0, 1
3, 1,1,o,2,2,2,c,d, 1
3, 1,3,o,2,2,c,d,f, 1
3, 3,3,o,2,c,d,f,g, 1
0, 2,o,p,0,0,0,0,0, 2
0, 2,2,o,k,0,0,0,0, 2
0, 2,2,2,k,l,0,0,0, 2
h, o,p,q,1,1,1,1,k, 2
h, 3,o,p,1,1,1,k,l, 2
h, 3,3,o,1,1,k,l,m, 2
h, 3,3,3,1,k,l,m,n, 2
h, 2,2,i,0,0,0,0,0, 2
h, 2,2,o,0,0,0,0,0, 2
h, 2,2,2,k,0,0,0,0, 2
3, 2,o,c,0,0,0,0,0, 2
3, 2,2,c,k,0,0,0,0, 2
3, 2,2,a,1,1,1,k,l, 2
3, 2,3,a,1,1,k,l,m, 2
3, 3,3,a,1,k,l,m,n, 1
h, 3,3,3,0,0,0,0,0, 3
h, 1,3,3,2,0,0,0,0, 3
h, 1,1,3,2,2,0,0,0, 3
h, 1,1,1,2,2,2,0,0, 3
1, 1,1,k,2,2,2,0,0, 3
1, 1,1,o,2,2,0,0,0, 3
1, 1,k,3,2,2,0,0,0, 3
1, 1,o,3,2,0,0,0,0, 3
1, k,3,3,2,0,0,0,0, 3
1, o,3,3,0,0,0,0,0, 3
2, 2,2,c,1,1,1,0,0, 3
2, 2,2,a,1,1,0,0,0, 3
2, 2,c,3,1,1,0,0,0, 3
2, 2,a,3,1,0,0,0,0, 3
2, c,3,3,1,0,0,0,0, 3
2, a,3,3,0,0,0,0,0, 3
h, k,c,0,0,0,0,0,0, 0
h, i,0,0,0,0,0,0,0, 0
h, k,2,2,2,2,c,d,f, 0
h, o,2,2,2,c,d,f,g, 0
h, c,1,1,1,1,k,l,m, 0
h, a,1,1,1,k,l,m,n, 0
h, 1,1,1,1,2,2,2,2, 0
h, 1,1,1,3,2,2,2,i, 0
h, 1,1,3,3,2,2,i,j, 0
h, 1,3,3,3,2,i,j,r, 0
h, 3,3,3,3,i,j,r,s, 0
1, k,c,d,0,0,0,0,0, 0
1, i,c,0,0,0,0,0,0, 0
1, c,d,1,1,1,1,k,l, 0
1, c,a,1,1,1,k,l,m, 0
1, a,b,1,1,k,l,m,n, 0
2, c,k,l,0,0,0,0,0, 0
2, i,k,0,0,0,0,0,0, 0
2, k,l,2,2,2,2,c,d, 0
2, k,o,2,2,2,c,d,f, 0
2, o,p,2,2,c,d,f,g, 0
@COLORS
0 0 0 0 1 255 128 0 2 0 128 255 3 255 255 255
I want state 0 to be black, state 1 to be orange, state 2 to be azure, and state 3 to be white. However, when I paste the rule into Golly, states 0 and 1 appear black, state 2 appears darkish blue, and state 3 appears blue. How do I correct the colors?
I am not finished with this rule and will add more states, so please do not tell me that
DoubleB3S23 has already been created.
Edit: I tested my partial rule, and it turns out that two of the states actually model B23S23, but I think that I can fix that.
Another edit: I fixed the B2, but now the two aspects seem to interfere with each other. However, I think that I can also fix that.
Code: Select all
@RULE ExpandedDoubleB3S23
@TABLE
n_states:4
neighborhood:Moore
symmetries:permute
var a = {1,3}
var b = a
var c = {0,2}
var d = c
var e = a
var f = c
var g = c
var h = {0,1,2,3}
var i = h
var j = h
var k = {0,1}
var l = k
var m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0,0,0,0,0,0,0, 0
h, k,2,2,2,2,c,d,f, 0
h, o,2,2,2,c,d,f,g, 0
h, c,1,1,1,1,k,l,m, 0
h, a,1,1,1,k,l,m,n, 0
h, 1,1,1,1,2,2,2,2, 0
h, 1,1,1,3,2,2,2,i, 0
h, 1,1,3,3,2,2,i,j, 0
h, 1,3,3,3,2,i,j,r, 0
h, 3,3,3,3,i,j,r,s, 0
1, k,c,d,0,0,0,0,0, 0
1, i,c,0,0,0,0,0,0, 0
1, c,d,1,1,1,1,k,l, 0
1, c,a,1,1,1,k,l,m, 0
1, a,b,1,1,k,l,m,n, 0
2, c,k,l,0,0,0,0,0, 0
2, i,k,0,0,0,0,0,0, 0
2, k,l,2,2,2,2,c,d, 0
2, k,o,2,2,2,c,d,f, 0
2, o,p,2,2,c,d,f,g, 0
@COLORS
0 0 0 0 1 255 128 0 2 0 128 255 3 255 255 255
Yet another edit: I fixed the interference.
Code: Select all
@RULE ExpandedDoubleB3S23
@TABLE
n_states:4
neighborhood:Moore
symmetries:permute
var a = {1,3}
var b = a
var c = {0,2}
var d = c
var e = a
var f = c
var g = c
var h = {0,1,2,3}
var i = h
var j = h
var k = {0,1}
var l = k
var m = k
var n = k
var o = {2,3}
var p = o
var q = o
var r = h
var s = h
0, 1,a,b,0,0,0,0,0, 1
0, 1,1,a,c,0,0,0,0, 1
0, 1,1,1,c,d,0,0,0, 1
h, a,b,e,2,2,2,2,c, 1
h, 3,a,b,2,2,2,c,d, 1
h, 3,3,a,2,2,c,d,f, 1
h, 3,3,3,2,c,d,f,g, 1
h, 1,1,a,0,0,0,0,0, 1
h, 1,1,1,c,0,0,0,0, 1
3, 1,a,k,0,0,0,0,0, 1
3, 1,1,k,c,0,0,0,0, 1
3, 1,1,o,2,2,2,c,d, 1
3, 1,3,o,2,2,c,d,f, 1
3, 3,3,o,2,c,d,f,g, 1
0, 2,o,p,0,0,0,0,0, 2
0, 2,2,o,k,0,0,0,0, 2
0, 2,2,2,k,l,0,0,0, 2
h,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