Writing discrete "differentials" to simulate totalistic CA

A forum where anything goes. Introduce yourselves to other members of the forums, discuss how your name evolves when written out in the Game of Life, or just tell us how you found it. This is the forum for "non-academic" content.
Post Reply
User avatar
Wyirm
Posts: 307
Joined: October 29th, 2021, 6:54 pm
Location: 30.541634, 47.825445 (on the boat)

Writing discrete "differentials" to simulate totalistic CA

Post by Wyirm » August 16th, 2022, 2:17 pm

let's say we have a set of 1s and 0s that take up a 3 dimensional plane. A(x,y,t) is a function that give us the state of a cell with coordinates x,y at t generations. To condense everything, a will be the sum of all neighboring points in the x-y plane of generation t. B and S are sets, and they represent the birth and survival states. B⊆{0...8},S⊆{0...8}. Using Boolean logic, A(x,y,t+1)=(A(x,y,t)∧a∈S)∨(Ā(x,y,t)∧a∈B).
In other words, If A(x,y,t)=1 and a is within the set of survival states, or A(x,y,t) is 0 and a is within the set of birth states, then A(x,y,t+1) is 1, otherwise A(x,y,t) is 0. For example, cgol's sets are, B={3} and S={2,3}.

Code: Select all

x = 36, y = 28, rule = TripleLife
17.G$17.3G$20.G$19.2G11$9.EF$8.FG.GD$8.DGAGF$10.DGD5$2.2G$3.G30.2G$3G
25.2G5.G$G27.G.G.3G$21.2G7.G.G$21.2G7.2G!
Bow down to the Herschel

Post Reply