weird pattern-gen thought

For discussion of other cellular automata.
Post Reply
User avatar
jimmyChen2013
Posts: 184
Joined: December 11th, 2017, 3:28 am

weird pattern-gen thought

Post by jimmyChen2013 » January 10th, 2018, 3:07 am

So I had this idea for generating and refreshing nice patterns.
I started with two rules: one that generates great patterns on its own like this:

Code: Select all

@RULE TeethMatrix

@TABLE

n_states:2
neighborhood:Moore
symmetries:rotate4reflect

var a = {0,1}
var b = {a}
var c = {a}
var d = {a}
var e = {a}
var f = {a}
var g = {a}
var h = {a}

0,1,0,0,0,0,0,0,0,1
1,1,0,1,0,1,0,1,0,0
0,0,1,1,1,0,0,0,0,1
1,0,0,0,1,0,0,1,0,0
0,0,1,1,0,1,1,0,0,1
0,1,0,0,1,0,0,0,0,1
1,1,0,0,0,1,0,0,0,0
...with a rule that simulates particles bouncing around similar to HPP but simpler

The final rule combines the two. In an contained area, the particle bounces randomly while the pattern of the first rule generates; but when the states come into contact with each other, the pattern cells dies whatsoever while the particle is completely unaffected. The result is that the pattern re-generates frequently and the outcome is pretty nice looking.
I know this is probably not that important, but just a thought

Here is an example:

Code: Select all

@RULE B-CircuitChecker
#1: tail
#2: head orthogonal
#3: bounder


@TABLE
n_states:5
neighborhood:Moore
symmetries:rotate4reflect
var a1 = {0,1,2,3,4}
var a2 = a1
var a3 = a1
var a4 = a1
var a5 = a1
var a6 = a1
var a7 = a1
var a8 = a1

var b1 = {0,1,3,4}
var b2 = {b1}
var b3 = {b1}
var b4 = {b1}
var b5 = {b1}
var b6 = {b1}

var f1 = {0,4}
var f2 = {f1}
var f3 = {f1}
var f4 = {f1}
var f5 = {f1}
var f6 = {f1}
var f7 = {f1}
var f8 = {f1}

#bounder collision
##direct bounce
2,1,f1,b3,b1,3,b2,b3,f2,2
f1,f2,3,2,3,f3,f4,f5,f6,2

##turn
2,3,b1,f1,b2,f2,f3,1,f4,2

f1,2,3,f2,a1,a2,a3,f3,1,2



#collision
f1,2,f2,f3,f4,2,f5,f6,f7,2
f1,f2,1,2,1,f3,f4,f5,f6,2

2,2,f1,f2,f3,1,f4,f5,f6,2

#Simple movement
f1,2,1,a1,a2,a3,a4,a5,a6,f1
f1,2,3,a1,a2,a3,a4,a5,a6,f1

1,a1,a2,a3,a4,a5,a6,a7,a8,0
2,a1,a2,a3,a4,a5,a6,a7,a8,1

f1,2,a1,a2,a3,a4,a5,a6,a7,2

#the 4

4,2,a1,a2,a3,a4,a5,a6,a7,0
4,1,a1,a2,a3,a4,a5,a6,a7,0

4,a1,1,a2,a3,a4,a5,a6,a7,0
4,a1,2,a2,a3,a4,a5,a6,a7,0

0,4,0,0,0,0,0,0,0,4
4,4,0,4,0,4,0,4,0,0
0,0,4,4,4,0,0,0,0,4
4,0,0,0,4,0,0,4,0,0
0,0,4,4,0,4,4,0,0,4
0,4,0,0,4,0,0,0,0,4

0,0,4,4,4,0,4,4,4,4
4,4,4,4,4,4,4,4,4,0

@COLORS
0 255 255 255
1 128 128 128
2 255 128 0
3 0 0 0
4 255 40 40

Code: Select all

x = 240, y = 240, rule = B-CircuitChecker
119.C$118.C.C$117.C3.C$116.C5.C$115.C7.C$114.C9.C$113.C11.C$112.C13.C
$111.C15.C$110.C17.C$109.C19.C$108.C21.C$107.C23.C$106.C25.C$105.C27.
C$104.C29.C$103.C31.C$102.C33.C$101.C35.C$100.C37.C$99.C39.C$98.C41.C
$97.C43.C$96.C45.C$95.C47.C$94.C49.C$93.C51.C$92.C53.C$91.C55.C$90.C
57.C$89.C59.C$88.C61.C$87.C63.C$86.C65.C$85.C67.C$84.C69.C$83.C71.C$
82.C73.C$81.C75.C$80.C77.C$79.C79.C$78.C81.C$77.C83.C$76.C85.C$75.C
87.C$74.C89.C$73.C91.C$72.C93.C$71.C95.C$70.C97.C$69.C99.C$68.C101.C$
67.C103.C$66.C105.C$65.C107.C$64.C109.C$63.C111.C$62.C113.C$61.C115.C
$60.C117.C$59.C119.C$58.C121.C$57.C123.C$56.C125.C$55.C127.C$54.C129.
C$53.C131.C$52.C133.C$51.C135.C$50.C137.C$49.C139.C$48.C141.C$47.C
143.C$46.C145.C$45.C147.C$44.C149.C$43.C151.C$42.C153.C$41.C155.C$40.
C157.C$39.C159.C$38.C161.C$37.C163.C$36.C165.C$35.C167.C$34.C169.C$
33.C171.C$32.C173.C$31.C175.C$30.C177.C$29.C179.C$28.C181.C$27.C183.C
$26.C185.C$25.C187.C$24.C189.C$23.C191.C$22.C102.AB89.C$21.C195.C$20.
C197.C$19.C199.C$18.C201.C$17.C203.C$16.C205.C$15.C207.C$14.C209.C$
13.C211.C$12.C213.C$11.C215.C$10.C217.C$9.C219.C$8.C221.C$7.C223.C$6.
C225.C$5.C227.C$4.C229.C$3.C231.C$2.C233.C$.C109.D125.C$C237.C$.C237.
C$2.C235.C$3.C233.C$4.C231.C$5.C229.C$6.C227.C$7.C225.C$8.C223.C$9.C
221.C$10.C219.C$11.C217.C$12.C215.C$13.C213.C$14.C211.C$15.C209.C$16.
C207.C$17.C205.C$18.C203.C$19.C201.C$20.C199.C$21.C197.C$22.C195.C$
23.C193.C$24.C191.C$25.C189.C$26.C187.C$27.C185.C$28.C183.C$29.C181.C
$30.C179.C$31.C177.C$32.C175.C$33.C173.C$34.C171.C$35.C169.C$36.C167.
C$37.C165.C$38.C163.C$39.C161.C$40.C159.C$41.C157.C$42.C155.C$43.C
153.C$44.C151.C$45.C149.C$46.C147.C$47.C145.C$48.C143.C$49.C141.C$50.
C139.C$51.C137.C$52.C135.C$53.C133.C$54.C131.C$55.C129.C$56.C127.C$
57.C125.C$58.C123.C$59.C121.C$60.C119.C$61.C117.C$62.C115.C$63.C113.C
$64.C111.C$65.C109.C$66.C107.C$67.C105.C$68.C103.C$69.C101.C$70.C99.C
$71.C97.C$72.C95.C$73.C93.C$74.C91.C$75.C89.C$76.C87.C$77.C85.C$78.C
83.C$79.C81.C$80.C79.C$81.C77.C$82.C75.C$83.C73.C$84.C71.C$85.C69.C$
86.C67.C$87.C65.C$88.C63.C$89.C61.C$90.C59.C$91.C57.C$92.C55.C$93.C
53.C$94.C51.C$95.C49.C$96.C47.C$97.C45.C$98.C43.C$99.C41.C$100.C39.C$
101.C37.C$102.C35.C$103.C33.C$104.C31.C$105.C29.C$106.C27.C$107.C25.C
$108.C23.C$109.C21.C$110.C19.C$111.C17.C$112.C15.C$113.C13.C$114.C11.
C$115.C9.C$116.C7.C$117.C5.C$118.C3.C$119.C.C$120.C!

Code: Select all

x = 8, y = 13, rule = B3aeiqr4-aijn5c6cei7/S2cn3-ajr4ceiqt5eijkq6-a7c8
2bo$b3o$5o$b5o$2b5o$3b5o$2b5o$b5o$5o$4o$3o$2o$o!

User avatar
jimmyChen2013
Posts: 184
Joined: December 11th, 2017, 3:28 am

Re: weird pattern-gen thought

Post by jimmyChen2013 » January 11th, 2018, 10:10 pm

2 wallpapers made with this idea in mind
Attachments
2.png
2.png (177.76 KiB) Viewed 1928 times
Slice-1.png
Slice-1.png (60.82 KiB) Viewed 1928 times

Code: Select all

x = 8, y = 13, rule = B3aeiqr4-aijn5c6cei7/S2cn3-ajr4ceiqt5eijkq6-a7c8
2bo$b3o$5o$b5o$2b5o$3b5o$2b5o$b5o$5o$4o$3o$2o$o!

Post Reply