Formation annotated life

For discussion of other cellular automata.
Post Reply
User avatar
praosylen
Posts: 2449
Joined: September 13th, 2014, 5:36 pm
Location: Pembina University, Home of the Gliders
Contact:

Formation annotated life

Post by praosylen » January 16th, 2015, 3:10 pm

I made a CA that behaves exactly like Life, except each live cell is colored according to how it formed. Here is the rule table:

Code: Select all

@RULE Form-annotated-life

@TABLE

n_states:12

neighborhood:Moore

symmetries:rotate4reflect

var a={1,2,3,4,5,6,7,8,9,10,11}

var aa=a

var ab=a

var ac=a

var ad=a

var ae=a

var af=a

var ag=a

var ah=a

0,a,aa,ab,0,0,0,0,0,1
0,a,aa,0,ab,0,0,0,0,2
0,a,aa,0,0,ab,0,0,0,3
0,a,aa,0,0,0,ab,0,0,4
0,a,aa,0,0,0,0,ab,0,5
0,a,aa,0,0,0,0,0,ab,6
0,a,0,aa,0,ab,0,0,0,7
0,a,0,aa,0,0,ab,0,0,8
0,a,0,0,aa,0,ab,0,0,9
0,0,a,0,aa,0,ab,0,0,10
a,0,0,0,0,0,0,0,0,0
a,aa,0,0,0,0,0,0,0,0
a,0,aa,0,0,0,0,0,0,0
a,aa,ab,ac,ad,0,0,0,0,0
a,aa,ab,ac,0,ad,0,0,0,0
a,aa,ab,ac,0,0,ad,0,0,0
a,aa,ab,0,ac,ad,0,0,0,0
a,aa,ab,0,ac,0,ad,0,0,0
a,aa,ab,0,ac,0,0,ad,0,0
a,aa,ab,0,ac,0,0,0,ad,0
a,aa,ab,0,0,ac,ad,0,0,0
a,aa,ab,0,0,ac,0,ad,0,0
a,aa,ab,0,0,ac,0,0,ad,0
a,aa,ab,0,0,0,ac,ad,0,0
a,aa,0,ab,0,ac,0,ad,0,0
a,0,aa,0,ab,0,ac,0,ad,0
a,0,0,0,aa,ab,ac,ad,ae,0
a,0,0,aa,0,ab,ac,ad,ae,0
a,0,0,aa,ab,0,ac,ad,ae,0
a,0,0,aa,ab,ac,0,ad,ae,0
a,0,0,aa,ab,ac,ad,0,ae,0
a,0,0,aa,ab,ac,ad,ae,0,0
a,0,aa,0,ab,0,ac,ad,ae,0
a,0,aa,0,ab,ac,0,ad,ae,0
a,0,aa,ab,0,ac,0,ad,ae,0
a,aa,0,ab,0,ac,0,ad,ae,0
a,0,0,aa,ab,ac,ad,ae,af,0
a,0,aa,0,ab,ac,ad,ae,af,0
a,0,aa,ab,0,ac,ad,ae,af,0
a,0,aa,ab,ac,0,ad,ae,af,0
a,aa,0,ab,0,ac,ad,ae,af,0
a,aa,0,ab,ac,ad,0,ae,af,0
a,0,aa,ab,ac,ad,ae,af,ag,0
a,aa,0,ab,ac,ad,ae,af,ag,0
a,aa,ab,ac,ad,ae,af,ag,ah,0

@COLORS

0 60 60 60

1 255 0 0

2 0 255 0

3 0 0 255

4 255 255 0

5 255 0 255

6 128 0 0

7 0 128 0

8 0 0 128

9 128 128 0

10 128 0 128

11 128 128 128
It is quite illuminating to run a simple Life pattern in this rule and see how the colors get assigned to each cell. I wish apgsearch could run rules like this one; it could show how common methods of formation for simple objects are.
I don't know if this is at all helpful, but I hope this rule can shed some light on the formation of objects in Life.
former username: A for Awesome
praosylen#5847 (Discord)

The only decision I made was made
of flowers, to jump universes to one of springtime in
a land of former winter, where no invisible walls stood,
or could stand for more than a few hours at most...

Post Reply