- A community for Conway's Game of Life and related cellular automata
Home  •  LifeWiki  •  Forums  •  Download Golly

1D rules in a finite universe

For discussion of other cellular automata.

1D rules in a finite universe

Postby 137ben » November 27th, 2010, 3:45 pm

I decided to have a look at a few aspects of these rules. For convenience, I made a rule table that only stores the current generation. This saves processing power, allows us to use features like and, and, allows us to compare two different patterns one on top of the other. Here is the table for W110 (I saved it as R110.table).

var a={0,1}
var b={0,1}

# C,N,E,S,W,C'


For W22, simply use B3/S23:T0,1. Of course, this does not allow you to compare multiple patterns side-by-side, so a rule table would still be helpful.
Actually, how hard would it be to write a script to generate a rule tree for 1d elementary CA?

One question is: if you start with a single cell in a circular world, what will the eventual period be?
For R110, in a circular universe of width n, we have period:
For W22 we have:

Then, there's the question of how long it takes to stabilize. In W22, the time taken for a single cell to stabilize in an n cell circular universe is:
Posts: 343
Joined: June 18th, 2010, 8:18 pm

Re: 1D rules in a finite universe

Postby ynotds » January 13th, 2011, 8:16 am

Golly supports all even numbered Wolfram rules presenting successive iterations down the grid and now in 2.2 including bounded or cyclic grids, by setting the rule to something like W22:P35,0 or W110:T36,0.

I'm not aware of any method for using rule tables/trees to produce the desirable down the grid display, but don't see creating a rule tree (at least for even numbered rules) to operate on a single line of cells to be particularly difficult. (Such a process could potentially be converted to a similar but up the grid display using a script, but that might be overkill and preclude using other scripts anyway.)

My own first post to Wolfram's NKS Forum remains the only public record of a few months studying a system I called "Trapper" which turned up multiple times in my studies of "Life in a Tube" and which is equivalent to several 3 colour 1D CA rules. A quick example:
#CXRLE Pos=-36,0
x = 72, y = 290, rule = B3/S23:T72,0
As mentioned in my final follow up in that thread, I only later discovered the similarity to Rules 109 and 73 which have their own means of partitioning a larger grid into separate stripes, each of which will run irreversibly through an often very large number of configurations before eventually settling into an also often large loop, one example of which is attached to that follow up.
User avatar
Posts: 31
Joined: August 23rd, 2010, 8:38 am
Location: Melbourne, Australia

Return to Other Cellular Automata

Who is online

Users browsing this forum: Gamedziner and 1 guest