MetaLife

For discussion of other cellular automata.
Post Reply
User avatar
gameoflifeboy
Posts: 474
Joined: January 15th, 2015, 2:08 am

MetaLife

Post by gameoflifeboy » January 30th, 2015, 7:56 pm

So I have recently created a rule that has Life unit cells, where the OFF state is a blank canvas, so that any lifepattern can be transferred to this rule and is still of the same type, i.e. the glider is still a spaceship, and the blinker and block are still oscillators. The unit cells are 3 by 3, and have a period of 3, so speeds are preserved too.

The rule has 20 states; parentheses indicate behavior that never actually occurs when running a meta-lifepattern:
OFF state
State 1, which produces spark in any direction (that isn't blocked) and becomes state 18.
States 2-9 which are first-generation sparks in 8 directions. They travel forward 1 cell (unless their path is blocked by states 1,18, or 19) and turn into second-generation sparks. (If two of them are pointing at the same cell, they both die in the next generation.)
States 10-17 which are second-generation sparks. Each of these dies in the next generation (unless their place gets taken by another spark), but if two or three of them point at a state-19 cell, it turns to state 1. If three of them point at an empty cell, it becomes state 1; this is the core of the life-simulation and the rule can be altered to emulate any B1...8/S1...8 rule.
State 18 always becomes state 19 in the next generation.
State 19 dies in the next generation, unless three second-generation sparks point at it.

Here is the .rule file:

Code: Select all

@RULE MetaLife

@TABLE

n_states:20
neighborhood:Moore
symmetries:none

var all1={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var all2={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var all3={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var all4={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var all5={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var all6={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var all7={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var all8={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var xall={0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17}
var yall1={0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var yall2={0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var yall3={0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var yall4={0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var yall5={0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var yall6={0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var yall7={0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var yall8={0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var fall={2,3,4,5,6,7,8,9}
var sall={10,11,12,13,14,15,16,17}
var e={0,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var f={0,1,2,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var g={0,1,2,3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var h={0,1,2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var a={0,1,2,3,4,5,7,8,9,10,11,12,13,14,15,16,17,18,19}
var b={0,1,2,3,4,5,6,8,9,10,11,12,13,14,15,16,17,18,19}
var c={0,1,2,3,4,5,6,7,9,10,11,12,13,14,15,16,17,18,19}
var d={0,1,2,3,4,5,6,7,8,10,11,12,13,14,15,16,17,18,19}
var p={0,1,2,3,4,5,6,7,8,9,10,11,12,13,15,16,17,18,19}
var q={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,16,17,18,19}
var r={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,17,18,19}
var s={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,18,19}
var t={0,1,2,3,4,5,6,7,8,9,11,12,13,14,15,16,17,18,19}
var u={0,1,2,3,4,5,6,7,8,9,10,12,13,14,15,16,17,18,19}
var v={0,1,2,3,4,5,6,7,8,9,10,11,13,14,15,16,17,18,19}
var w={0,1,2,3,4,5,6,7,8,9,10,11,12,14,15,16,17,18,19}

#First-generation sparkers changing into second.
xall,6,b,c,d,e,f,g,h,14
xall,a,7,c,d,e,f,g,h,15
xall,a,b,8,d,e,f,g,h,16
xall,a,b,c,9,e,f,g,h,17
xall,a,b,c,d,2,f,g,h,10
xall,a,b,c,d,e,3,g,h,11
xall,a,b,c,d,e,f,4,h,12
xall,a,b,c,d,e,f,g,5,13

fall,a,b,c,d,e,f,g,h,0

sall,a,b,c,d,e,f,g,h,0

#When two or more first-gen sparkers collide on the same cell they both get destroyed.
xall,6,7,all1,all2,all3,all4,all5,all6,0
xall,6,b,8,all1,all2,all3,all4,all5,0
xall,6,b,c,9,all1,all2,all3,all4,0
xall,6,b,c,d,2,all1,all2,all3,0
xall,6,b,c,d,e,3,all1,all2,0
xall,6,b,c,d,e,f,4,all1,0
xall,6,b,c,d,e,f,g,5,0
xall,a,7,8,all1,all2,all3,all4,all5,0
xall,a,7,c,9,all1,all2,all3,all4,0
xall,a,7,c,d,2,all1,all2,all3,0
xall,a,7,c,d,e,3,all1,all2,0
xall,a,7,c,d,e,f,4,all1,0
xall,a,7,c,d,e,f,g,4,0
xall,a,b,8,9,all1,all2,all3,all4,0
xall,a,b,8,d,2,all1,all2,all3,0
xall,a,b,8,d,e,3,all1,all2,0
xall,a,b,8,d,e,f,4,all1,0
xall,a,b,8,d,e,f,g,4,0
xall,a,b,c,9,2,all1,all2,all3,0
xall,a,b,c,9,e,3,all1,all2,0
xall,a,b,c,9,e,f,4,all1,0
xall,a,b,c,9,e,f,g,4,0
xall,a,b,c,d,2,3,all1,all2,0
xall,a,b,c,d,2,f,4,all1,0
xall,a,b,c,d,2,f,g,4,0
xall,a,b,c,d,e,3,4,all1,0
xall,a,b,c,d,e,3,g,5,0
xall,a,b,c,d,e,f,4,5,0
#This is the part where state-1 cells spark.
xall,1,yall1,yall2,yall3,yall4,yall5,yall6,yall7,6
xall,yall1,1,yall2,yall3,yall4,yall5,yall6,yall7,7
xall,yall1,yall2,1,yall3,yall4,yall5,yall6,yall7,8
xall,yall1,yall2,yall3,1,yall4,yall5,yall6,yall7,9
xall,yall1,yall2,yall3,yall4,1,yall5,yall6,yall7,2
xall,yall1,yall2,yall3,yall4,yall5,1,yall6,yall7,3
xall,yall1,yall2,yall3,yall4,yall5,yall6,1,yall7,4
xall,yall1,yall2,yall3,yall4,yall5,yall6,yall7,1,5
#This is where more than one state-one cell is on the edges, and can't produce a spark. It doesn't include the cases where there is a first-gen sparker pointing in on the edges; that was already taken care of.
xall,1,1,c,d,e,f,g,h,0
xall,1,b,1,d,e,f,g,h,0
xall,1,b,c,1,e,f,g,h,0
xall,1,b,c,d,1,f,g,h,0
xall,1,b,c,d,e,1,g,h,0
xall,1,b,c,d,e,f,1,h,0
xall,1,b,c,d,e,f,g,1,0
xall,a,1,1,d,e,f,g,h,0
xall,a,1,c,1,e,f,g,h,0
xall,a,1,c,d,1,f,g,h,0
xall,a,1,c,d,e,1,g,h,0
xall,a,1,c,d,e,f,1,h,0
xall,a,1,c,d,e,f,g,1,0
xall,a,b,1,1,e,f,g,h,0
xall,a,b,1,d,1,f,g,h,0
xall,a,b,1,d,e,1,g,h,0
xall,a,b,1,d,e,f,1,h,0
xall,a,b,1,d,e,f,g,1,0
xall,a,b,c,1,1,f,g,h,0
xall,a,b,c,1,e,1,g,h,0
xall,a,b,c,1,e,f,1,h,0
xall,a,b,c,1,e,f,g,1,0
xall,a,b,c,d,1,1,g,h,0
xall,a,b,c,d,1,f,1,h,0
xall,a,b,c,d,1,f,g,1,0
xall,a,b,c,d,e,1,1,h,0
xall,a,b,c,d,e,1,g,1,0
xall,a,b,c,d,e,f,1,1,0

0,14,15,16,s,t,u,v,w,1
0,14,15,r,17,t,u,v,w,1
0,14,15,r,s,10,u,v,w,1
0,14,15,r,s,t,11,v,w,1
0,14,15,r,s,t,u,12,w,1
0,14,15,r,s,t,u,v,13,1
0,14,q,16,17,t,u,v,w,1
0,14,q,16,s,10,u,v,w,1
0,14,q,16,s,t,11,v,w,1
0,14,q,16,s,t,u,12,w,1
0,14,q,16,s,t,u,v,13,1
0,14,q,r,17,10,u,v,w,1
0,14,q,r,17,t,11,v,w,1
0,14,q,r,17,t,u,12,w,1
0,14,q,r,17,t,u,v,13,1
0,14,q,r,s,10,11,v,w,1
0,14,q,r,s,10,u,12,w,1
0,14,q,r,s,10,u,v,13,1
0,14,q,r,s,t,11,12,w,1
0,14,q,r,s,t,11,v,13,1
0,14,q,r,s,t,u,12,13,1
0,p,15,16,17,t,u,v,w,1
0,p,15,16,s,10,u,v,w,1
0,p,15,16,s,t,11,v,w,1
0,p,15,16,s,t,u,12,w,1
0,p,15,16,s,t,u,v,13,1
0,p,15,r,17,10,u,v,w,1
0,p,15,r,17,t,11,v,w,1
0,p,15,r,17,t,u,12,w,1
0,p,15,r,17,t,u,v,13,1
0,p,15,r,s,10,11,v,w,1
0,p,15,r,s,10,u,12,w,1
0,p,15,r,s,10,u,v,13,1
0,p,15,r,s,t,11,12,w,1
0,p,15,r,s,t,11,v,13,1
0,p,15,r,s,t,u,12,13,1
0,p,q,16,17,10,u,v,w,1
0,p,q,16,17,t,11,v,w,1
0,p,q,16,17,t,u,12,w,1
0,p,q,16,17,t,u,v,13,1
0,p,q,16,s,10,11,v,w,1
0,p,q,16,s,10,u,12,w,1
0,p,q,16,s,10,u,v,13,1
0,p,q,16,s,t,11,12,w,1
0,p,q,16,s,t,11,v,13,1
0,p,q,16,s,t,u,12,13,1
0,p,q,r,17,10,11,v,w,1
0,p,q,r,17,10,u,12,w,1
0,p,q,r,17,10,u,v,13,1
0,p,q,r,17,t,11,12,w,1
0,p,q,r,17,t,11,v,13,1
0,p,q,r,17,t,u,12,13,1
0,p,q,r,s,10,11,12,w,1
0,p,q,r,s,10,11,v,13,1
0,p,q,r,s,10,u,12,13,1
0,p,q,r,s,t,11,12,13,1

19,14,15,r,s,t,u,v,w,1
19,14,q,16,s,t,u,v,w,1
19,14,q,r,17,t,u,v,w,1
19,14,q,r,s,10,u,v,w,1
19,14,q,r,s,t,11,v,w,1
19,14,q,r,s,t,u,12,w,1
19,14,q,r,s,t,u,v,13,1
19,p,15,16,s,t,u,v,w,1
19,p,15,r,17,t,u,v,w,1
19,p,15,r,s,10,u,v,w,1
19,p,15,r,s,t,11,v,w,1
19,p,15,r,s,t,u,12,w,1
19,p,15,r,s,t,u,v,13,1
19,p,q,16,17,t,u,v,w,1
19,p,q,16,s,10,u,v,w,1
19,p,q,16,s,t,11,v,w,1
19,p,q,16,s,t,u,12,w,1
19,p,q,16,s,t,u,v,13,1
19,p,q,r,17,10,u,v,w,1
19,p,q,r,17,t,11,v,w,1
19,p,q,r,17,t,u,12,w,1
19,p,q,r,17,t,u,v,13,1
19,p,q,r,s,10,11,v,w,1
19,p,q,r,s,10,u,12,w,1
19,p,q,r,s,10,u,v,13,1
19,p,q,r,s,t,11,12,w,1
19,p,q,r,s,t,11,v,13,1
19,p,q,r,s,t,u,12,13,1
19,14,15,16,s,t,u,v,w,1
19,14,15,r,17,t,u,v,w,1
19,14,15,r,s,10,u,v,w,1
19,14,15,r,s,t,11,v,w,1
19,14,15,r,s,t,u,12,w,1
19,14,15,r,s,t,u,v,13,1
19,14,q,16,17,t,u,v,w,1
19,14,q,16,s,10,u,v,w,1
19,14,q,16,s,t,11,v,w,1
19,14,q,16,s,t,u,12,w,1
19,14,q,16,s,t,u,v,13,1
19,14,q,r,17,10,u,v,w,1
19,14,q,r,17,t,11,v,w,1
19,14,q,r,17,t,u,12,w,1
19,14,q,r,17,t,u,v,13,1
19,14,q,r,s,10,11,v,w,1
19,14,q,r,s,10,u,12,w,1
19,14,q,r,s,10,u,v,13,1
19,14,q,r,s,t,11,12,w,1
19,14,q,r,s,t,11,v,13,1
19,14,q,r,s,t,u,12,13,1
19,p,15,16,17,t,u,v,w,1
19,p,15,16,s,10,u,v,w,1
19,p,15,16,s,t,11,v,w,1
19,p,15,16,s,t,u,12,w,1
19,p,15,16,s,t,u,v,13,1
19,p,15,r,17,10,u,v,w,1
19,p,15,r,17,t,11,v,w,1
19,p,15,r,17,t,u,12,w,1
19,p,15,r,17,t,u,v,13,1
19,p,15,r,s,10,11,v,w,1
19,p,15,r,s,10,u,12,w,1
19,p,15,r,s,10,u,v,13,1
19,p,15,r,s,t,11,12,w,1
19,p,15,r,s,t,11,v,13,1
19,p,15,r,s,t,u,12,13,1
19,p,q,16,17,10,u,v,w,1
19,p,q,16,17,t,11,v,w,1
19,p,q,16,17,t,u,12,w,1
19,p,q,16,17,t,u,v,13,1
19,p,q,16,s,10,11,v,w,1
19,p,q,16,s,10,u,12,w,1
19,p,q,16,s,10,u,v,13,1
19,p,q,16,s,t,11,12,w,1
19,p,q,16,s,t,11,v,13,1
19,p,q,16,s,t,u,12,13,1
19,p,q,r,17,10,11,v,w,1
19,p,q,r,17,10,u,12,w,1
19,p,q,r,17,10,u,v,13,1
19,p,q,r,17,t,11,12,w,1
19,p,q,r,17,t,11,v,13,1
19,p,q,r,17,t,u,12,13,1
19,p,q,r,s,10,11,12,w,1
19,p,q,r,s,10,11,v,13,1
19,p,q,r,s,10,u,12,13,1
19,p,q,r,s,t,11,12,13,1
#else
19,all1,all2,all3,all4,all5,all6,all7,all8,0

1,all1,all2,all3,all4,all5,all6,all7,all8,18
18,all1,all2,all3,all4,all5,all6,all7,all8,19

@COLORS
1 255 0 0
2 255 96 0
3 255 96 0
4 255 96 0
5 255 96 0
6 255 96 0
7 255 96 0
8 255 96 0
9 255 96 0
10 255 192 0
11 255 192 0
12 255 192 0
13 255 192 0
14 255 192 0
15 255 192 0
16 255 192 0
17 255 192 0
18 0 255 0
19 0 0 255

@ICONS
XPM
"7 133 6 1"

". c #000000"
"A c #FF0000"
"B c #00FF00"
"C c #0000FF"
"x c #FF6000"
"y c #FFC000"

"...A..."
"..AAA.."
".AAAAA."
"AAAAAAA"
".AAAAA."
"..AAA.."
"...A..."

"...x..."
"..xxx.."
".x.x.x."
"...x..."
"..xxx.."
".x.x.x."
"...x..."

"....xxx"
".....xx"
"....x.x"
".xxx..."
"..xx..."
".x.x..."
"x......"

"......."
".x..x.."
"..x..x."
"xxxxxxx"
"..x..x."
".x..x.."
"......."

"x......"
".x.x..."
"..xx..."
".xxx..."
"....x.x"
".....xx"
"....xxx"

"...x..."
".x.x.x."
"..xxx.."
"...x..."
".x.x.x."
"..xxx.."
"...x..."

"......x"
"...x.x."
"...xx.."
"...xxx."
"x.x...."
"xx....."
"xxx...."

"......."
"..x..x."
".x..x.."
"xxxxxxx"
".x..x.."
"..x..x."
"......."

"xxx...."
"xx....."
"x.x...."
"...xxx."
"...xx.."
"...x.x."
"......x"

"...y..."
"..yyy.."
".y.y.y."
"...y..."
"...y..."
"...y..."
"...y..."

"....yyy"
".....yy"
"....y.y"
"...y..."
"..y...."
".y....."
"y......"

"......."
"....y.."
".....y."
"yyyyyyy"
".....y."
"....y.."
"......."

"y......"
".y....."
"..y...."
"...y..."
"....y.y"
".....yy"
"....yyy"

"...y..."
"...y..."
"...y..."
"...y..."
".y.y.y."
"..yyy.."
"...y..."

"......y"
".....y."
"....y.."
"...y..."
"y.y...."
"yy....."
"yyy...."

"......."
"..y...."
".y....."
"yyyyyyy"
".y....."
"..y...."
"......."

"yyy...."
"yy....."
"y.y...."
"...y..."
"....y.."
".....y."
"......y"

"...B..."
"..BBB.."
".BBBBB."
"BBBBBBB"
".BBBBB."
"..BBB.."
"...B..."

"...C..."
"..CCC.."
".CCCCC."
"CCCCCCC"
".CCCCC."
"..CCC.."
"...C..."
Example:

Code: Select all

x = 7, y = 7, rule = MetaLife
A2.A2.A3$6.A3$3.A!

User avatar
simsim314
Posts: 1823
Joined: February 10th, 2014, 1:27 pm

Re: MetaLife

Post by simsim314 » February 1st, 2015, 3:35 pm

Funny rule... not sure how can it be useful but I did enjoyed the idea.

User avatar
gameoflifeboy
Posts: 474
Joined: January 15th, 2015, 2:08 am

Re: MetaLife

Post by gameoflifeboy » February 4th, 2015, 12:26 am

The idea I had was to make a rule that had all the properties of life (except for those involving the period of patterns), and then modify it in such a way that Life meta-patterns were never affected and make it have its own chaotic nature, so natural patterns could occur, some of which would be Life meta-patterns. So far though, you would have to run a random soup of about 700 by 700 for a 50% chance that a natural pattern occurs.

Liberonscien
Posts: 6
Joined: August 11th, 2015, 10:43 am

Re: MetaLife

Post by Liberonscien » September 23rd, 2015, 5:19 pm

Interesting idea. I wonder if it would be possible to modify this so that other colors are added to the mix.

User avatar
gameoflifeboy
Posts: 474
Joined: January 15th, 2015, 2:08 am

Re: MetaLife

Post by gameoflifeboy » September 24th, 2015, 11:57 pm

Here is the new updated version of this rule. It is the same as before, except that if a cell that isn't state 1, 18, or 19 gets touched by exactly two state-18 cells it will become state 18, so the rule can simulate Brian's Brain as well.

Code: Select all

@RULE MetaLife

@TABLE

n_states:20
neighborhood:Moore
symmetries:none

var all1={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var all2={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var all3={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var all4={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var all5={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var all6={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var all7={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var all8={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var xall={0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17}
var yall1={0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var yall2={0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var yall3={0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var yall4={0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var yall5={0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var yall6={0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var yall7={0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var yall8={0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var eall1={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19}
var eall2=eall1
var eall3=eall1
var eall4=eall1
var eall5=eall1
var eall6=eall1
var eall7=eall1
var eall8=eall1
var fall={2,3,4,5,6,7,8,9}
var sall={10,11,12,13,14,15,16,17}
var e={0,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var f={0,1,2,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var g={0,1,2,3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var h={0,1,2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
var a={0,1,2,3,4,5,7,8,9,10,11,12,13,14,15,16,17,18,19}
var b={0,1,2,3,4,5,6,8,9,10,11,12,13,14,15,16,17,18,19}
var c={0,1,2,3,4,5,6,7,9,10,11,12,13,14,15,16,17,18,19}
var d={0,1,2,3,4,5,6,7,8,10,11,12,13,14,15,16,17,18,19}
var p={0,1,2,3,4,5,6,7,8,9,10,11,12,13,15,16,17,18,19}
var q={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,16,17,18,19}
var r={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,17,18,19}
var s={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,18,19}
var t={0,1,2,3,4,5,6,7,8,9,11,12,13,14,15,16,17,18,19}
var u={0,1,2,3,4,5,6,7,8,9,10,12,13,14,15,16,17,18,19}
var v={0,1,2,3,4,5,6,7,8,9,10,11,13,14,15,16,17,18,19}
var w={0,1,2,3,4,5,6,7,8,9,10,11,12,14,15,16,17,18,19}

#First-generation sparkers changing into second.
xall,6,b,c,d,e,f,g,h,14
xall,a,7,c,d,e,f,g,h,15
xall,a,b,8,d,e,f,g,h,16
xall,a,b,c,9,e,f,g,h,17
xall,a,b,c,d,2,f,g,h,10
xall,a,b,c,d,e,3,g,h,11
xall,a,b,c,d,e,f,4,h,12
xall,a,b,c,d,e,f,g,5,13

#First gen sparkers disappearing
fall,a,b,c,d,e,f,g,h,0

#Second gen sparkers disappearing
sall,a,b,c,d,e,f,g,h,0

#When two or more first-gen sparkers collide on the same cell they both get destroyed.
xall,6,7,all1,all2,all3,all4,all5,all6,0
xall,6,b,8,all1,all2,all3,all4,all5,0
xall,6,b,c,9,all1,all2,all3,all4,0
xall,6,b,c,d,2,all1,all2,all3,0
xall,6,b,c,d,e,3,all1,all2,0
xall,6,b,c,d,e,f,4,all1,0
xall,6,b,c,d,e,f,g,5,0
xall,a,7,8,all1,all2,all3,all4,all5,0
xall,a,7,c,9,all1,all2,all3,all4,0
xall,a,7,c,d,2,all1,all2,all3,0
xall,a,7,c,d,e,3,all1,all2,0
xall,a,7,c,d,e,f,4,all1,0
xall,a,7,c,d,e,f,g,4,0
xall,a,b,8,9,all1,all2,all3,all4,0
xall,a,b,8,d,2,all1,all2,all3,0
xall,a,b,8,d,e,3,all1,all2,0
xall,a,b,8,d,e,f,4,all1,0
xall,a,b,8,d,e,f,g,4,0
xall,a,b,c,9,2,all1,all2,all3,0
xall,a,b,c,9,e,3,all1,all2,0
xall,a,b,c,9,e,f,4,all1,0
xall,a,b,c,9,e,f,g,4,0
xall,a,b,c,d,2,3,all1,all2,0
xall,a,b,c,d,2,f,4,all1,0
xall,a,b,c,d,2,f,g,4,0
xall,a,b,c,d,e,3,4,all1,0
xall,a,b,c,d,e,3,g,5,0
xall,a,b,c,d,e,f,4,5,0
#This is the part where state-1 cells spark.
xall,1,yall1,yall2,yall3,yall4,yall5,yall6,yall7,6
xall,yall1,1,yall2,yall3,yall4,yall5,yall6,yall7,7
xall,yall1,yall2,1,yall3,yall4,yall5,yall6,yall7,8
xall,yall1,yall2,yall3,1,yall4,yall5,yall6,yall7,9
xall,yall1,yall2,yall3,yall4,1,yall5,yall6,yall7,2
xall,yall1,yall2,yall3,yall4,yall5,1,yall6,yall7,3
xall,yall1,yall2,yall3,yall4,yall5,yall6,1,yall7,4
xall,yall1,yall2,yall3,yall4,yall5,yall6,yall7,1,5
#This is where more than one state-one cell is on the edges, and can't produce a spark.
#It doesn't include the cases where there is a first-gen sparker pointing in on the edges; that was already taken care of.
xall,1,1,c,d,e,f,g,h,0
xall,1,b,1,d,e,f,g,h,0
xall,1,b,c,1,e,f,g,h,0
xall,1,b,c,d,1,f,g,h,0
xall,1,b,c,d,e,1,g,h,0
xall,1,b,c,d,e,f,1,h,0
xall,1,b,c,d,e,f,g,1,0
xall,a,1,1,d,e,f,g,h,0
xall,a,1,c,1,e,f,g,h,0
xall,a,1,c,d,1,f,g,h,0
xall,a,1,c,d,e,1,g,h,0
xall,a,1,c,d,e,f,1,h,0
xall,a,1,c,d,e,f,g,1,0
xall,a,b,1,1,e,f,g,h,0
xall,a,b,1,d,1,f,g,h,0
xall,a,b,1,d,e,1,g,h,0
xall,a,b,1,d,e,f,1,h,0
xall,a,b,1,d,e,f,g,1,0
xall,a,b,c,1,1,f,g,h,0
xall,a,b,c,1,e,1,g,h,0
xall,a,b,c,1,e,f,1,h,0
xall,a,b,c,1,e,f,g,1,0
xall,a,b,c,d,1,1,g,h,0
xall,a,b,c,d,1,f,1,h,0
xall,a,b,c,d,1,f,g,1,0
xall,a,b,c,d,e,1,1,h,0
xall,a,b,c,d,e,1,g,1,0
xall,a,b,c,d,e,f,1,1,0

#Generation 2 sparkers synthesizing a state-1 cell!
0,14,15,16,s,t,u,v,w,1
0,14,15,r,17,t,u,v,w,1
0,14,15,r,s,10,u,v,w,1
0,14,15,r,s,t,11,v,w,1
0,14,15,r,s,t,u,12,w,1
0,14,15,r,s,t,u,v,13,1
0,14,q,16,17,t,u,v,w,1
0,14,q,16,s,10,u,v,w,1
0,14,q,16,s,t,11,v,w,1
0,14,q,16,s,t,u,12,w,1
0,14,q,16,s,t,u,v,13,1
0,14,q,r,17,10,u,v,w,1
0,14,q,r,17,t,11,v,w,1
0,14,q,r,17,t,u,12,w,1
0,14,q,r,17,t,u,v,13,1
0,14,q,r,s,10,11,v,w,1
0,14,q,r,s,10,u,12,w,1
0,14,q,r,s,10,u,v,13,1
0,14,q,r,s,t,11,12,w,1
0,14,q,r,s,t,11,v,13,1
0,14,q,r,s,t,u,12,13,1
0,p,15,16,17,t,u,v,w,1
0,p,15,16,s,10,u,v,w,1
0,p,15,16,s,t,11,v,w,1
0,p,15,16,s,t,u,12,w,1
0,p,15,16,s,t,u,v,13,1
0,p,15,r,17,10,u,v,w,1
0,p,15,r,17,t,11,v,w,1
0,p,15,r,17,t,u,12,w,1
0,p,15,r,17,t,u,v,13,1
0,p,15,r,s,10,11,v,w,1
0,p,15,r,s,10,u,12,w,1
0,p,15,r,s,10,u,v,13,1
0,p,15,r,s,t,11,12,w,1
0,p,15,r,s,t,11,v,13,1
0,p,15,r,s,t,u,12,13,1
0,p,q,16,17,10,u,v,w,1
0,p,q,16,17,t,11,v,w,1
0,p,q,16,17,t,u,12,w,1
0,p,q,16,17,t,u,v,13,1
0,p,q,16,s,10,11,v,w,1
0,p,q,16,s,10,u,12,w,1
0,p,q,16,s,10,u,v,13,1
0,p,q,16,s,t,11,12,w,1
0,p,q,16,s,t,11,v,13,1
0,p,q,16,s,t,u,12,13,1
0,p,q,r,17,10,11,v,w,1
0,p,q,r,17,10,u,12,w,1
0,p,q,r,17,10,u,v,13,1
0,p,q,r,17,t,11,12,w,1
0,p,q,r,17,t,11,v,13,1
0,p,q,r,17,t,u,12,13,1
0,p,q,r,s,10,11,12,w,1
0,p,q,r,s,10,11,v,13,1
0,p,q,r,s,10,u,12,13,1
0,p,q,r,s,t,11,12,13,1

#Emulates Brian's Brain as well now.
xall,18,18,eall3,eall4,eall5,eall6,eall7,eall8,18
xall,18,eall2,18,eall4,eall5,eall6,eall7,eall8,18
xall,18,eall2,eall3,18,eall5,eall6,eall7,eall8,18
xall,18,eall2,eall3,eall4,18,eall6,eall7,eall8,18
xall,18,eall2,eall3,eall4,eall5,18,eall7,eall8,18
xall,18,eall2,eall3,eall4,eall5,eall6,18,eall8,18
xall,18,eall2,eall3,eall4,eall5,eall6,eall7,18,18
xall,eall1,18,18,eall4,eall5,eall6,eall7,eall8,18
xall,eall1,18,eall3,18,eall5,eall6,eall7,eall8,18
xall,eall1,18,eall3,eall4,18,eall6,eall7,eall8,18
xall,eall1,18,eall3,eall4,eall5,18,eall7,eall8,18
xall,eall1,18,eall3,eall4,eall5,eall6,18,eall8,18
xall,eall1,18,eall3,eall4,eall5,eall6,eall7,18,18
xall,eall1,eall2,18,18,eall5,eall6,eall7,eall8,18
xall,eall1,eall2,18,eall4,18,eall6,eall7,eall8,18
xall,eall1,eall2,18,eall4,eall5,18,eall7,eall8,18
xall,eall1,eall2,18,eall4,eall5,eall6,18,eall8,18
xall,eall1,eall2,18,eall4,eall5,eall6,eall7,18,18
xall,eall1,eall2,eall3,18,18,eall6,eall7,eall8,18
xall,eall1,eall2,eall3,18,eall5,18,eall7,eall8,18
xall,eall1,eall2,eall3,18,eall5,eall6,18,eall8,18
xall,eall1,eall2,eall3,18,eall5,eall6,eall7,18,18
xall,eall1,eall2,eall3,eall4,18,18,eall7,eall8,18
xall,eall1,eall2,eall3,eall4,18,eall6,18,eall8,18
xall,eall1,eall2,eall3,eall4,18,eall6,eall7,18,18
xall,eall1,eall2,eall3,eall4,eall5,18,18,eall8,18
xall,eall1,eall2,eall3,eall4,eall5,18,eall7,18,18
xall,eall1,eall2,eall3,eall4,eall5,eall6,18,18,18

#This is part of both emulations (Life and the Brian rule)
1,all1,all2,all3,all4,all5,all6,all7,all8,18
18,all1,all2,all3,all4,all5,all6,all7,all8,19

#Meta-cell surviving to the next generation
19,14,15,r,s,t,u,v,w,1
19,14,q,16,s,t,u,v,w,1
19,14,q,r,17,t,u,v,w,1
19,14,q,r,s,10,u,v,w,1
19,14,q,r,s,t,11,v,w,1
19,14,q,r,s,t,u,12,w,1
19,14,q,r,s,t,u,v,13,1
19,p,15,16,s,t,u,v,w,1
19,p,15,r,17,t,u,v,w,1
19,p,15,r,s,10,u,v,w,1
19,p,15,r,s,t,11,v,w,1
19,p,15,r,s,t,u,12,w,1
19,p,15,r,s,t,u,v,13,1
19,p,q,16,17,t,u,v,w,1
19,p,q,16,s,10,u,v,w,1
19,p,q,16,s,t,11,v,w,1
19,p,q,16,s,t,u,12,w,1
19,p,q,16,s,t,u,v,13,1
19,p,q,r,17,10,u,v,w,1
19,p,q,r,17,t,11,v,w,1
19,p,q,r,17,t,u,12,w,1
19,p,q,r,17,t,u,v,13,1
19,p,q,r,s,10,11,v,w,1
19,p,q,r,s,10,u,12,w,1
19,p,q,r,s,10,u,v,13,1
19,p,q,r,s,t,11,12,w,1
19,p,q,r,s,t,11,v,13,1
19,p,q,r,s,t,u,12,13,1
19,14,15,16,s,t,u,v,w,1
19,14,15,r,17,t,u,v,w,1
19,14,15,r,s,10,u,v,w,1
19,14,15,r,s,t,11,v,w,1
19,14,15,r,s,t,u,12,w,1
19,14,15,r,s,t,u,v,13,1
19,14,q,16,17,t,u,v,w,1
19,14,q,16,s,10,u,v,w,1
19,14,q,16,s,t,11,v,w,1
19,14,q,16,s,t,u,12,w,1
19,14,q,16,s,t,u,v,13,1
19,14,q,r,17,10,u,v,w,1
19,14,q,r,17,t,11,v,w,1
19,14,q,r,17,t,u,12,w,1
19,14,q,r,17,t,u,v,13,1
19,14,q,r,s,10,11,v,w,1
19,14,q,r,s,10,u,12,w,1
19,14,q,r,s,10,u,v,13,1
19,14,q,r,s,t,11,12,w,1
19,14,q,r,s,t,11,v,13,1
19,14,q,r,s,t,u,12,13,1
19,p,15,16,17,t,u,v,w,1
19,p,15,16,s,10,u,v,w,1
19,p,15,16,s,t,11,v,w,1
19,p,15,16,s,t,u,12,w,1
19,p,15,16,s,t,u,v,13,1
19,p,15,r,17,10,u,v,w,1
19,p,15,r,17,t,11,v,w,1
19,p,15,r,17,t,u,12,w,1
19,p,15,r,17,t,u,v,13,1
19,p,15,r,s,10,11,v,w,1
19,p,15,r,s,10,u,12,w,1
19,p,15,r,s,10,u,v,13,1
19,p,15,r,s,t,11,12,w,1
19,p,15,r,s,t,11,v,13,1
19,p,15,r,s,t,u,12,13,1
19,p,q,16,17,10,u,v,w,1
19,p,q,16,17,t,11,v,w,1
19,p,q,16,17,t,u,12,w,1
19,p,q,16,17,t,u,v,13,1
19,p,q,16,s,10,11,v,w,1
19,p,q,16,s,10,u,12,w,1
19,p,q,16,s,10,u,v,13,1
19,p,q,16,s,t,11,12,w,1
19,p,q,16,s,t,11,v,13,1
19,p,q,16,s,t,u,12,13,1
19,p,q,r,17,10,11,v,w,1
19,p,q,r,17,10,u,12,w,1
19,p,q,r,17,10,u,v,13,1
19,p,q,r,17,t,11,12,w,1
19,p,q,r,17,t,11,v,13,1
19,p,q,r,17,t,u,12,13,1
19,p,q,r,s,10,11,12,w,1
19,p,q,r,s,10,11,v,13,1
19,p,q,r,s,10,u,12,13,1
19,p,q,r,s,t,11,12,13,1
#else
19,all1,all2,all3,all4,all5,all6,all7,all8,0

@COLORS
1 255 0 0
2 255 96 0
3 255 96 0
4 255 96 0
5 255 96 0
6 255 96 0
7 255 96 0
8 255 96 0
9 255 96 0
10 255 192 0
11 255 192 0
12 255 192 0
13 255 192 0
14 255 192 0
15 255 192 0
16 255 192 0
17 255 192 0
18 0 255 0
19 0 0 255

@ICONS
XPM
"7 133 6 1"

". c #000000"
"A c #FF0000"
"B c #00FF00"
"C c #0000FF"
"x c #FF6000"
"y c #FFC000"

"AAAAAAA"
"AAAAAAA"
"AAAAAAA"
"AAAAAAA"
"AAAAAAA"
"AAAAAAA"
"AAAAAAA"

"...x..."
"..xxx.."
".x.x.x."
"...x..."
"..xxx.."
".x.x.x."
"...x..."

"....xxx"
".....xx"
"....x.x"
".xxx..."
"..xx..."
".x.x..."
"x......"

"......."
".x..x.."
"..x..x."
"xxxxxxx"
"..x..x."
".x..x.."
"......."

"x......"
".x.x..."
"..xx..."
".xxx..."
"....x.x"
".....xx"
"....xxx"

"...x..."
".x.x.x."
"..xxx.."
"...x..."
".x.x.x."
"..xxx.."
"...x..."

"......x"
"...x.x."
"...xx.."
"...xxx."
"x.x...."
"xx....."
"xxx...."

"......."
"..x..x."
".x..x.."
"xxxxxxx"
".x..x.."
"..x..x."
"......."

"xxx...."
"xx....."
"x.x...."
"...xxx."
"...xx.."
"...x.x."
"......x"

"...y..."
"..yyy.."
".y.y.y."
"...y..."
"...y..."
"...y..."
"...y..."

"....yyy"
".....yy"
"....y.y"
"...y..."
"..y...."
".y....."
"y......"

"......."
"....y.."
".....y."
"yyyyyyy"
".....y."
"....y.."
"......."

"y......"
".y....."
"..y...."
"...y..."
"....y.y"
".....yy"
"....yyy"

"...y..."
"...y..."
"...y..."
"...y..."
".y.y.y."
"..yyy.."
"...y..."

"......y"
".....y."
"....y.."
"...y..."
"y.y...."
"yy....."
"yyy...."

"......."
"..y...."
".y....."
"yyyyyyy"
".y....."
"..y...."
"......."

"yyy...."
"yy....."
"y.y...."
"...y..."
"....y.."
".....y."
"......y"

"BBBBBBB"
"BBBBBBB"
"BBBBBBB"
"BBBBBBB"
"BBBBBBB"
"BBBBBBB"
"BBBBBBB"

"CCCCCCC"
"CCCCCCC"
"CCCCCCC"
"CCCCCCC"
"CCCCCCC"
"CCCCCCC"
"CCCCCCC"
Example pattern of Brian's Brain vs Life. Notice how the metacells are offset when they wrap around the torus, because the dimensions of the grid aren't divisible by 3:

Code: Select all

x = 93, y = 98, rule = MetaLife:T200,200
2R$R.R$.R$3.R82$86.A2.A2.A3$92.A6$86.A3$86.A2.A2.A!
Offset Metapatterns temporarily creating Brian spaceships:

Code: Select all

x = 121, y = 103, rule = MetaLife:T200,200
104.A2.A$A2.A2$101.A2.A$A2.A2$104.A41$56.A2.A2.A3$62.A6$56.A3$56.A2.A
2.A23$39.A2.A2.A14$114.A2.A3$117.A2.A3$117.A!

User avatar
BlinkerSpawn
Posts: 1992
Joined: November 8th, 2014, 8:48 pm
Location: Getting a snacker from R-Bee's

Re: MetaLife

Post by BlinkerSpawn » September 25th, 2015, 10:58 am

p126 loop in old MetaLife:

Code: Select all

x = 45, y = 38, rule = MetaLife
32.A2.A3$32.A2.A2$7.A2.A3$7.A2.A8.A2.A3$A2.A12.A2.A3$A2.A18.A9$41.A2.
A3$41.A2.A3$34.A2.A3$34.A2.A2$9.A2.A3$9.A2.A!
LifeWiki: Like Wikipedia but with more spaceships. [citation needed]

Image

User avatar
Saka
Posts: 3627
Joined: June 19th, 2015, 8:50 pm
Location: Indonesia
Contact:

Re: MetaLife

Post by Saka » October 13th, 2015, 4:43 am

Why doesn't this work? Is something wrong?

Code: Select all

x = 46, y = 29, rule = MetaLife
3.A38.A3$3.A38.A3$A5.A32.A5.A3$3.A38.A3$3.A38.A2$18.A2.A2.A2.A$6.A32.
A2$18.A2.A2.A2.A3$6.A2.A2.A2.A14.A2.A2.A2.A5$12.A20.A3$15.A2.A8.A2.A!
EDIT:
Nevermind, fixed it:

Code: Select all

x = 46, y = 31, rule = MetaLife
3.A38.A3$3.A38.A3$A5.A32.A5.A3$3.A38.A3$3.A38.A3$6.A11.A2.A2.A2.A11.A
3$18.A2.A2.A2.A3$6.A2.A2.A2.A14.A2.A2.A2.A6$12.A20.A3$15.A2.A8.A2.A!

User avatar
Tropylium
Posts: 421
Joined: May 31st, 2011, 7:12 pm
Location: Finland

Re: MetaLife

Post by Tropylium » November 16th, 2015, 8:29 pm

A funny idea for working with "spark-halo" rules. (Though I think there are much easier ways to create chaotic rules that create Life patterns as a side effect, e.g. starting with B123478/S01234678.)

I'm also pretty sure this could be condensed for a 2x2 unit cell as well.

User avatar
SuperSupermario24
Posts: 121
Joined: July 22nd, 2014, 12:59 pm
Location: Within the infinite expanses of the Life universe

Re: MetaLife

Post by SuperSupermario24 » November 18th, 2015, 10:46 pm

Tropylium wrote:A funny idea for working with "spark-halo" rules. (Though I think there are much easier ways to create chaotic rules that create Life patterns as a side effect, e.g. starting with B123478/S01234678.)

I'm also pretty sure this could be condensed for a 2x2 unit cell as well.
Technically that rule creates inverted B3/S238 patterns, not Life patterns. To simulate Life's death with 8 neighbors, you'd need B0, which doesn't really work.

And a 2x2 cell might be awkward since there's no cell at the center of it. I'm not very knowledgeable in this type of thing, though, so correct me if I'm wrong.

Code: Select all

bobo2b3o2b2o2bo3bobo$obobobo3bo2bobo3bobo$obobob2o2bo2bobo3bobo$o3bobo3bo2bobobobo$o3bob3o2b2o3bobo2bo!

User avatar
gameoflifemaniac
Posts: 1242
Joined: January 22nd, 2017, 11:17 am
Location: There too

Re: MetaLife

Post by gameoflifemaniac » February 25th, 2017, 6:56 am

Metawaterbear?
I was so socially awkward in the past and it will haunt me for the rest of my life.

Code: Select all

b4o25bo$o29bo$b3o3b3o2bob2o2bob2o2bo3bobo$4bobo3bob2o2bob2o2bobo3bobo$
4bobo3bobo5bo5bo3bobo$o3bobo3bobo5bo6b4o$b3o3b3o2bo5bo9bobo$24b4o!

Post Reply