Pseudorandom CA

For discussion of other cellular automata.
Post Reply
User avatar
Tropylium
Posts: 421
Joined: May 31st, 2011, 7:12 pm
Location: Finland

Pseudorandom CA

Post by Tropylium »

A small proof-of-concept for implementing randomness in CA. This is a lifeform that "feeds off" chaotic background noise (B24/S in this case), and can sustain a somewhat stable population:

Code: Select all

n_states:3
neighborhood:Moore
symmetries:permute

var a = {0,1,2}
var b = {a}
var c = {a}
var d = {a}
var e = {a}
var f = {a}
var g = {a}
var h = {a}
var i = {0,1}
var j = {i}
var k = {i}
var l = {i}
var m = {i}
var n = {i}

#Growth into solid background
2,1,1,1,1,2,2,a,b,1
2,1,1,1,2,2,2,a,b,1
2,1,1,2,2,2,2,a,b,1

#Shift along solid edges
2,1,1,1,2,2,2,0,0,1
2,1,1,2,2,2,0,0,0,1

#Death by isolation
1,i,0,0,0,0,0,0,0,0

#Death by overpopulation
1,1,1,1,1,1,a,b,c,0
1,1,1,1,1,2,2,0,0,0

#B24/S background
0,2,2,i,j,k,l,m,n,2
0,2,2,2,2,k,l,m,n,2
2,a,b,c,d,e,f,g,h,0

Code: Select all

color=0		0	0	0
color=1		255	0	0
color=2		0	0	64
Here's an example pattern that survives some 6K generations:

Code: Select all

x = 8, y = 8, rule = brownian:T100,100
2A$2A$2.A$3.A$4.2A$4.2A2$5.3B!
chineseman
Posts: 28
Joined: July 12th, 2012, 6:43 am

Re: Pseudorandom CA

Post by chineseman »

Maybe I found something special.

Code: Select all

x = 6, y = 3, rule = brownian
B3A$A2.BAB$B3A!
chineseman
Posts: 28
Joined: July 12th, 2012, 6:43 am

Re: Pseudorandom CA

Post by chineseman »

Your rule is good for making constructions.

Code: Select all

x = 8, y = 10, rule = brownian
2.2A$3.A$3.2B2$2A4B2A$A6.A$A2.2B2.A$2A4.2A$.A4.A$2.4A!

Code: Select all

x = 58, y = 28, rule = brownian
11$38.A6.A$23.A3.A3.A6.2A4.2A$23.4A.4A6.A6.A$27.B10.2A4.2A$27.B10.A.B
2.B.A$23.4AB4A6.2A4B2A$23.A3.A3.A6.A6.A!

Code: Select all

x = 4, y = 16, rule = brownian
.2A$A2BA$A2.A$A2BA$A2.A$A2BA$A2.A$A2BA$A2.A$A2BA$A2.A$A2BA$A2.A$A2BA$
A2.A$.2A!

Code: Select all

x = 7, y = 5, rule = brownian
3.A$3A.3A$A.B.B.A$A.B.B.A$.5A!

Code: Select all

x = 5, y = 5, rule = brownian
2AB$.AB$2.A2B$3.2A$4.A!

Code: Select all

x = 9, y = 9, rule = brownian
.3A.3A$A3.A3.A$A2.BAB2.A$.A.A.A.A$.3B.3B$.A.A.A.A$A2.BAB2.A$A3.A3.A$.
3A.3A!

Code: Select all

x = 5, y = 5, rule = brownian
2A$A.BA$B2.2A$A.BA$2A!

Code: Select all

x = 5, y = 7, rule = brownian
2.A$.A.A$.A.A$A3BA$A3.A$A3.A$.3A!
Post Reply