Life Utility Rule Tables

For discussion of other cellular automata.
Post Reply
drc
Posts: 1664
Joined: December 3rd, 2015, 4:11 pm

Life Utility Rule Tables

Post by drc » May 30th, 2016, 7:26 pm

This is for rule tables that help with life, like a rule that helps you work out the stator of any oscillator, by running the full period:

Code: Select all

@RULE LifeStator
Helps detect the stator of an oscillator. 
Run through the full period of an object to determine its stator (white cells).
@TABLE
n_states:3
neighborhood:Moore
symmetries:permute
var a={0,1,2}
var b={0,1,2}
var c={0,1,2}
var d={0,1,2}
var e={0,1,2}
var f={0,1,2}
var g={0,1,2}
var h={0,1,2}
var i={0,1,2}
var la={1,2}
var lb={1,2}
var lc={1,2}

0,la,lb,lc,0,0,0,0,0,2
1,la,lb,0,0,0,0,0,0,1
1,la,lb,lc,0,0,0,0,0,1
2,la,lb,0,0,0,0,0,0,2
2,la,lb,lc,0,0,0,0,0,2
a,b,c,d,e,f,g,h,i,0
@COLORS
0 0 0 0
1 255 255 255
2 64 64 64
You can test this out:

Code: Select all

x = 13, y = 13, rule = LifeStator
2.3A3.3A2$A4.A.A4.A$A4.A.A4.A$A4.A.A4.A$2.3A3.3A2$2.3A3.3A$A4.A.A4.A$
A4.A.A4.A$A4.A.A4.A2$2.3A3.3A!

Code: Select all

x = 7, y = 7, rule = LifeStator
2A.2A$2A.A.A$6.A$3A.3A$A$.A.A.2A$2.2A.2A!

Code: Select all

x = 8, y = 7, rule = LifeStator
3.2A$.A4.A$.A4.A$.A4.A$2.A2.A$A.A2.A.A$2A4.2A!

Code: Select all

x = 7, y = 7, rule = LifeStator
4.A$4.A$2.A2.A$2A$4.A.A$2.A.A.A$6.A!

Code: Select all

x = 17, y = 17, rule = LifeStator
5.2A3.2A$5.A.A.A.A$6.A3.A2$5.2A3.2A$2A2.A.A3.A.A2.2A$A.A.2A5.2A.A.A$.
A13.A2$.A13.A$A.A.2A5.2A.A.A$2A2.A.A3.A.A2.2A$5.2A3.2A2$6.A3.A$5.A.A.
A.A$5.2A3.2A!

Code: Select all

x = 25, y = 25, rule = LifeStator
8.A.2A.2A.A$8.2A.A.A.2A2$8.3A3.3A$7.A3.A.A3.A$7.A.A.A.A.A.A$11.A.A$4.
2A2.3A3.3A2.2A$2A.A3.A9.A3.A.2A$.A.A.A.A9.A.A.A.A$A2.A3.A9.A3.A2.A$2A
2.3A11.3A2.2A2$2A2.3A11.3A2.2A$A2.A3.A9.A3.A2.A$.A.A.A.A9.A.A.A.A$2A.
A3.A9.A3.A.2A$4.2A2.3A3.3A2.2A$11.A.A$7.A.A.A.A.A.A$7.A3.A.A3.A$8.3A
3.3A2$8.2A.A.A.2A$8.A.2A.2A.A!

Post Reply