Here are templates that I use for 2-color and 3-color cyclical symmetrical 1D CA. I mean, one (black) dead state plus 2 or 3 colorful live states.
For 2 colors it means that toggling all cells to the opposite live color never changes the behavior of any pattern. For 3 colors it means that shifting all cells cyclically (red->green; green->blue;blue->red) never changes the behavior of any pattern. This is different from totalistic, but more consistent in a way, since all live states are completely equal.
I didn't bother to write a script for producing such rules, because these templates can be easily tweaked by hand. 3-color rules include all 2-color rules as a subset, and 2-color rules include Wolfram's rule 54, which is suspected to be Turing-complete. Note that for 2 colors 102 can not give birth (it would break the symmetry).
Code: Select all
@RULE 1D-RB
# Template for 2-color one-dimentional cellular automata
# Copyright by Yoel Matveyev, 2020
# The GNU General Public License v3.0
@COLORS
0 0 0 0
1 255 0 0
2 0 0 255
@TABLE
n_states:3
neighborhood:Moore
symmetries:reflect_horizontal
# Birth
# 001
0,0,1,0,0,0,0,0,0,0
0,0,2,0,0,0,0,0,0,0
# 101
0,0,1,0,0,0,0,0,1,0
0,0,2,0,0,0,0,0,2,0
# Survival
# 010
0,1,0,0,0,0,0,0,0,0
0,2,0,0,0,0,0,0,0,0
# 011
0,1,1,0,0,0,0,0,0,0
0,2,2,0,0,0,0,0,0,0
# 012
0,1,2,0,0,0,0,0,0,0
0,2,1,0,0,0,0,0,0,0
# 111
0,1,1,0,0,0,0,0,1,0
0,2,2,0,0,0,0,0,2,0
# 112
0,1,2,0,0,0,0,0,1,0
0,2,1,0,0,0,0,0,2,0
# 212
0,1,2,0,0,0,0,0,2,0
0,2,1,0,0,0,0,0,1,0
Code: Select all
@RULE 1D-RGB
# Template for 3-color one-dimentional cellular automata
# Copyright by Yoel Matveyev, 2020
# The GNU General Public License v3.0
@COLORS
0 0 0 0
1 255 0 0
2 0 255 0
3 0 0 255
@TABLE
n_states:4
neighborhood:Moore
symmetries:reflect_horizontal
# Birth
# 001
0,0,1,0,0,0,0,0,0,0
0,0,2,0,0,0,0,0,0,0
0,0,3,0,0,0,0,0,0,0
# 101
0,0,1,0,0,0,0,0,1,0
0,0,2,0,0,0,0,0,2,0
0,0,3,0,0,0,0,0,3,0
# 102
0,0,1,0,0,0,0,0,2,0
0,0,2,0,0,0,0,0,3,0
0,0,3,0,0,0,0,0,1,0
# Survival
# 010
0,1,0,0,0,0,0,0,0,0
0,2,0,0,0,0,0,0,0,0
0,3,0,0,0,0,0,0,0,0
# 011
0,1,1,0,0,0,0,0,0,0
0,2,2,0,0,0,0,0,0,0
0,3,3,0,0,0,0,0,0,0
# 012
0,1,2,0,0,0,0,0,0,0
0,2,3,0,0,0,0,0,0,0
0,3,1,0,0,0,0,0,0,0
# 013
0,1,3,0,0,0,0,0,0,0
0,2,1,0,0,0,0,0,0,0
0,3,2,0,0,0,0,0,0,0
# 111
0,1,1,0,0,0,0,0,1,0
0,2,2,0,0,0,0,0,2,0
0,3,3,0,0,0,0,0,3,0
# 112
0,1,2,0,0,0,0,0,1,0
0,2,3,0,0,0,0,0,2,0
0,3,1,0,0,0,0,0,3,0
# 113
0,1,3,0,0,0,0,0,1,0
0,2,1,0,0,0,0,0,2,0
0,3,2,0,0,0,0,0,3,0
# 212
0,1,2,0,0,0,0,0,2,0
0,2,3,0,0,0,0,0,3,0
0,3,1,0,0,0,0,0,1,0
# 213
0,1,3,0,0,0,0,0,2,0
0,2,1,0,0,0,0,0,3,0
0,3,2,0,0,0,0,0,1,0
# 313
0,1,3,0,0,0,0,0,3,0
0,2,1,0,0,0,0,0,1,0
0,3,2,0,0,0,0,0,2,0
Altogether, there are 5832 2-color rules and 66060288 3-color rules, not counting trivial rules without birth.
Note that rules with 001->0 are unlikely to be interesting. They tend to die fast even when running on an infinite/cylinder tiling.
Here is also a template for symmetrical 2-color extensions of Rule 110 (243 possible extensions, some of which are trivial and uninteresting):
Code: Select all
@RULE W110-RB
# Template for 2-color extensions of Rule 110
# Copyright by Yoel Matveyev, 2020
# The GNU General Public License v3.0
@COLORS
0 0 0 0
1 255 0 0
2 0 0 255
@TABLE
n_states:3
neighborhood:Moore
symmetries:none
0,0,1,0,0,0,0,0,0,1
0,1,0,0,0,0,0,0,0,1
0,1,1,0,0,0,0,0,0,1
0,0,1,0,0,0,0,0,1,1
0,1,0,0,0,0,0,0,1,1
0,0,0,0,0,0,0,0,2,2
0,2,0,0,0,0,0,0,0,2
0,2,0,0,0,0,0,0,2,2
0,0,2,0,0,0,0,0,2,2
0,2,2,0,0,0,0,0,0,2
# 012
0,1,2,0,0,0,0,0,0,1
0,2,0,0,0,0,0,0,1,2
# 021
0,2,1,0,0,0,0,0,0,1
0,1,0,0,0,0,0,0,2,2
# 112
0,1,2,0,0,0,0,0,1,2
0,2,1,0,0,0,0,0,2,1
# 211
0,1,1,0,0,0,0,0,2,1
0,2,2,0,0,0,0,0,1,2
# 121
0,1,2,0,0,0,0,0,2,1
0,2,1,0,0,0,0,0,1,2
Enjoy!
EDIT: I didn't know that there is a built-in option for 1D neighborhood in Golly tables. I'm not going to rewrite these tables, because 1D CA are anyhow emulated by non-symmetrical 2D.