Rule:CBRLife: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
CBRLife rule from 2014
 
m fix comments to match current colors
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
# state 0:  OFF
# state 0:  OFF
# state 1:  ON red
# state 1:  ON red
# state 2:  OFF red
# state 2:  OFF red trail
# state 3:  ON yellow
# state 3:  ON green
# state 4:  OFF yellow
# state 4:  OFF green trail
# state 5:  ON green
# state 5:  ON blue
# state 6:  OFF green
# state 6:  OFF blue trail
# state 7:  ON blue
# state 7:  ON yellow
# state 8:  OFF blue
# state 8:  OFF yellow trail
# state 9:  boundary cell
# state 9:  boundary cell
#
#
# Created for Rich Blundell in 2014, for a Ph.D. project
# Created for Rich Blundell in 2014, for a Ph.D. project
#  involving an extended analogy with the Cosmic Background Radiation sky map.
#  involving an extended analogy with the Cosmic Background Radiation sky map.
#  For some reason the only copy I could find in 2020 had weird colors, so
#  I switched them back to standard red, green, blue, yellow


@TABLE
@TABLE
Line 208: Line 210:
@COLORS
@COLORS


1  194  52   0      ON #1 dark red  
1  255    0   0      ON #1 red  
2 142  227  230     OFF #1 very light blue
2   96    0    0     OFF #1 red trail
3  204  134  108     ON #2 light red
3   0 255    0     ON #2 green
7  238  240  246     OFF #2 white blue
4    0  96    0     OFF #2 green trail
5    0   18 255      ON #3 dark blue
5    0   0 255      ON #3 blue
8  240  194   56     OFF #4 light red
6    0    0   96     OFF #3 blue trail
4 128 137  160     ON #4 light blue
7 255 255    0     ON #4 yellow
6  255  235  192     OFF #3 white red
8  96  96    0     OFF #4 yellow trail
9  96  96  96
9  96  96  96     gray border

Latest revision as of 20:54, 1 January 2021

@RULE CBRLife

  1. a variant of LifeHistory with three extra ON states
  2. and corresponding OFF states, for a cyclic color experiment:
  3. state 0: OFF
  4. state 1: ON red
  5. state 2: OFF red trail
  6. state 3: ON green
  7. state 4: OFF green trail
  8. state 5: ON blue
  9. state 6: OFF blue trail
  10. state 7: ON yellow
  11. state 8: OFF yellow trail
  12. state 9: boundary cell
  13. Created for Rich Blundell in 2014, for a Ph.D. project
  14. involving an extended analogy with the Cosmic Background Radiation sky map.
  15. For some reason the only copy I could find in 2020 had weird colors, so
  16. I switched them back to standard red, green, blue, yellow

@TABLE n_states:10 neighborhood:Moore symmetries:rotate8

var a={0,2,4,6,8} var b={0,2,4,6,8} var c={0,2,4,6,8} var d={0,2,4,6,8} var e={0,2,4,6,8} var f={0,2,4,6,8} var i={0,1,2,3,4,5,6,7,8,9} var j={0,1,2,3,4,5,6,7,8,9} var k={0,1,2,3,4,5,6,7,8,9} var l={0,1,2,3,4,5,6,7,8,9} var m={0,1,2,3,4,5,6,7,8,9} var n={0,1,2,3,4,5,6,7,8,9} var o={0,1,2,3,4,5,6,7,8,9} var p={0,1,2,3,4,5,6,7,8,9} var q={1,3,5,7} var R={1,3,5,7} var S={1,3,5,7} var T={1,3,5,7}

  1. boundary cell always stays a boundary cell

9,i,j,k,l,m,n,o,p,9

  1. anything else that touches a boundary cell dies
  2. (this prevents un-Life-like accretions at the boundary)

1,9,i,j,k,l,m,n,o,2 2,9,i,j,k,l,m,n,o,2 3,9,i,j,k,l,m,n,o,4 4,9,i,j,k,l,m,n,o,4 5,9,i,j,k,l,m,n,o,6 6,9,i,j,k,l,m,n,o,6 7,9,i,j,k,l,m,n,o,8 8,9,i,j,k,l,m,n,o,8

  1. 3-neighbour color changes if all neighbors are the same color

i,1,1,1,a,b,c,d,e,1 i,1,1,a,1,b,c,d,e,1 i,1,1,a,b,1,c,d,e,1 i,1,1,a,b,c,1,d,e,1 i,1,1,a,b,c,d,1,e,1 i,1,a,1,b,1,c,d,e,1 i,1,a,1,b,c,1,d,e,1

i,3,3,3,a,b,c,d,e,3 i,3,3,a,3,b,c,d,e,3 i,3,3,a,b,3,c,d,e,3 i,3,3,a,b,c,3,d,e,3 i,3,3,a,b,c,d,3,e,3 i,3,a,3,b,3,c,d,e,3 i,3,a,3,b,c,3,d,e,3

i,5,5,5,a,b,c,d,e,5 i,5,5,a,5,b,c,d,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5 q,5,a,5,b,c,d,e,f,5 q,5,a,b,5,c,d,e,f,5 q,5,a,b,c,5,d,e,f,5

q,7,7,a,b,c,d,e,f,7 q,7,a,7,b,c,d,e,f,7 q,7,a,b,7,c,d,e,f,7 q,7,a,b,c,7,d,e,f,7

  1. Otherwise cell turns on the same color as last time
  2. (if there was a last time, otherwise pick a neighbor)

2,R,S,T,a,b,c,d,e,1 2,R,S,a,T,b,c,d,e,1 2,R,S,a,b,T,c,d,e,1 2,R,S,a,b,c,T,d,e,1 2,R,S,a,b,c,d,T,e,1 2,R,a,S,b,T,c,d,e,1 2,R,a,S,b,c,T,d,e,1

4,R,S,T,a,b,c,d,e,3 4,R,S,a,T,b,c,d,e,3 4,R,S,a,b,T,c,d,e,3 4,R,S,a,b,c,T,d,e,3 4,R,S,a,b,c,d,T,e,3 4,R,a,S,b,T,c,d,e,3 4,R,a,S,b,c,T,d,e,3

6,R,S,T,a,b,c,d,e,5 6,R,S,a,T,b,c,d,e,5 6,R,S,a,b,T,c,d,e,5 6,R,S,a,b,c,T,d,e,5 6,R,S,a,b,c,d,T,e,5 6,R,a,S,b,T,c,d,e,5 6,R,a,S,b,c,T,d,e,5

8,R,S,T,a,b,c,d,e,7 8,R,S,a,T,b,c,d,e,7 8,R,S,a,b,T,c,d,e,7 8,R,S,a,b,c,T,d,e,7 8,R,S,a,b,c,d,T,e,7 8,R,a,S,b,T,c,d,e,7 8,R,a,S,b,c,T,d,e,7

0,R,S,T,a,b,c,d,e,R 0,R,S,a,T,b,c,d,e,S 0,R,S,a,b,T,c,d,e,T 0,R,S,a,b,c,T,d,e,R 0,R,S,a,b,c,d,T,e,S 0,R,a,S,b,T,c,d,e,T 0,R,a,S,b,c,T,d,e,R

  1. generalized 3-neighbour birth
  2. q,R,S,T,a,b,c,d,e,R
  3. q,R,S,a,T,b,c,d,e,S
  4. q,R,S,a,b,T,c,d,e,T
  5. q,R,S,a,b,c,T,d,e,R
  6. q,R,S,a,b,c,d,T,e,S
  7. q,R,a,S,b,T,c,d,e,T
  8. q,R,a,S,b,c,T,d,e,R
  1. generalized 2-neighbour survival

q,R,S,a,b,c,d,e,f,q q,R,a,S,b,c,d,e,f,q q,R,a,b,S,c,d,e,f,q q,R,a,b,c,S,d,e,f,q

  1. ON states go to the same-colored history state if they don't survive

1,i,j,k,l,m,n,o,p,2 3,i,j,k,l,m,n,o,p,4 5,i,j,k,l,m,n,o,p,6 7,i,j,k,l,m,n,o,p,8

@COLORS

1 255 0 0 ON #1 red 2 96 0 0 OFF #1 red trail 3 0 255 0 ON #2 green 4 0 96 0 OFF #2 green trail 5 0 0 255 ON #3 blue 6 0 0 96 OFF #3 blue trail 7 255 255 0 ON #4 yellow 8 96 96 0 OFF #4 yellow trail 9 96 96 96 gray border