Range-2 von Neumann isotropic non-totalistic rulespace

For discussion of other cellular automata.
User avatar
muzik
Posts: 5898
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Range-2 von Neumann isotropic non-totalistic rulespace

Post by muzik » June 18th, 2020, 12:21 pm

lemon41625 wrote:
May 10th, 2020, 10:04 pm
muzik wrote:
August 18th, 2019, 7:18 pm
If I'm getting this right, this would be the minimal SkewLife with only one universe:

Code: Select all

x = 3, y = 4, rule = B0xn1cgcickcl2cccdcenc3ca/S0xgxlxn1cccdcgcickcl2cacccdcenanc3ca
bo$o$bo$obo!
I checked the rulestring. I realised that it is wrong because it does not take into account that the internal 4 adjacent cells can take on any configuration. Hopefully someone can help to correct the rulestring.
Precisely, hence why it's the minimal version; the full version would account for these.
Parity Replicator Collection v1.6 is now live - please send all relevant discoveries here.

lemon41625
Posts: 370
Joined: January 24th, 2020, 7:39 am
Location: 小红点 (if you know where that is)

Re: Range-2 von Neumann isotropic non-totalistic rulespace

Post by lemon41625 » June 19th, 2020, 12:31 am

Natural c/2d

Code: Select all

x = 16, y = 16, rule = B3x6ed8x7eg12x/S2x3arngqg5ir7x-6nd10x
obooobbbbobboboo$
bobboobboboboboo$
boboobboboboobbo$
obooboobboobbbbo$
ooobobobobbbbooo$
booooboobobbbooo$
bobobbooobooobbb$
bboboobbobobobob$
obbboobbbbobbbob$
bboooobbbooobbbo$
boobbboobbobboob$
bbboboooooooooob$
bbooobbooboboooo$
boooobooobobobob$
obbbbobbboobbbbb$
ooboboboboobboob!
Spaceship1.gif
Spaceship1.gif (47.37 KiB) Viewed 2328 times
Natural c/4o

Code: Select all

x = 16, y = 16, rule = B3x6ed8x7eg12x/S2x3arngqg5ir7x-6nd10x
ooobbbboooobbbbb$
bobobobbobbobboo$
obbobbboooobbbbb$
obboboobbbobobob$
oobobbbooooobboo$
obobobbbobobbbbb$
ooboooooobobbbbb$
oboobboobbbobbbb$
boobbooboboboooo$
obbbbooboooooobo$
obboobobbobbbobo$
obbbooboooobboob$
oobbobbbobobbobo$
oooobbboboobobob$
oobooobobooboboo$
oobooobobboboobo!
(Apparently, I can't upload more than 3 gifs.)

Natural c/10d

Code: Select all

x = 16, y = 16, rule = B3x6ed8x7eg12x/S2x3arngqg5ir7x-6nd10x
oooooobobobbbooo$
obbbbobbbooobbbo$
ooooboobboooboob$
bbbobobbbbobbooo$
booobbobbbbobbob$
booooobobboooobo$
booooobobbbbbbob$
bbbbbooobbbobbbo$
bobooobbbooobobo$
ooobobobooobbboo$
obbooobooobbbobb$
oobbbbbbobooobob$
obbbbbobobbbbobb$
boobbobobbbobbbo$
bbbooboboboobbbo$
booobboboboooobo!
Spaceship3.gif
Spaceship3.gif (117.2 KiB) Viewed 2328 times
Natural Oscillators (trust me they are on the catagolue page)

Code: Select all

x = 54, y = 31, rule = B3x6ed8x7eg12x/S2x3arngqg5ir7x-6nd10x
54.$36.A17.$12.A21.A.2A16.$3.A7.3A9.A30.$4.A5.3A9.A13.A17.$5.A5.A9.A32.$20.A5.A27.$25.A28.$24.A29.$23.A11.A10.A7.$35.A.A6.A.A7.$36.A.2A2.2A.A8.$32.2A4.A4.A4.2A4.$34.A12.A6.$7.A25.A14.A5.$6.2A26.2A10.2A6.$6.A.2A24.A12.A6.$8.A45.$54.$34.A12.A6.$34.2A10.2A6.$33.A14.A5.$34.A12.A6.$19.A12.2A4.A4.A4.2A4.$17.A3.A14.A.2A2.2A.A8.$14.A20.A.A6.A.A7.$22.2A11.A10.A7.$19.A2.A31.$54.$54.$54.1$!
Oscillator.gif
Oscillator.gif (214.01 KiB) Viewed 2328 times
Download CAViewer: https://github.com/jedlimlx/Cellular-Automaton-Viewer

Supports:
BSFKL, Extended Generations, Regenerating Generations, Naive Rules, R1 Moore, R2 Cross and R2 Von Neumann INT
And some others...

Hunting
Posts: 4401
Joined: September 11th, 2017, 2:54 am

Re: Range-2 von Neumann isotropic non-totalistic rulespace

Post by Hunting » June 19th, 2020, 12:39 am

How did you apgsearch R2vN rules?

lemon41625
Posts: 370
Joined: January 24th, 2020, 7:39 am
Location: 小红点 (if you know where that is)

Re: Range-2 von Neumann isotropic non-totalistic rulespace

Post by lemon41625 » June 19th, 2020, 1:20 am

Hunting wrote:
June 19th, 2020, 12:39 am
How did you apgsearch R2vN rules?
Here's the rule table you can use. Apgsearch supports ruletables up to range 8. Also note that only permute and none symmetries work on custom neighbourhoods.
If you search the rule, do name the ruletable B4x5x5kg8x12x_S3x4x-3kd10x_R2VonNeumann.table so it uploades to the same census.

It's also automatically generated by CAViewer's apgtable gen function which I will release soon.

Code: Select all

n_states:2
neighborhood:[(0, 0), (1, -1), (1, 0), (1, 1), (0, 1), (-1, 1), (-1, 0), (-1, -1), (0, -1), (2, 0), (0, 2), (-2, 0), (0, -2), (0, 0)]
symmetries:none

# Variables for Death Transitions
var death0 = {0, 1}
var death1 = {0, 1}
var death2 = {0, 1}
var death3 = {0, 1}
var death4 = {0, 1}
var death5 = {0, 1}
var death6 = {0, 1}
var death7 = {0, 1}
var death8 = {0, 1}
var death9 = {0, 1}
var death10 = {0, 1}
var death11 = {0, 1}

# Birth Transitions
0,0,1,0,0,1,1,1,0,1,1,1,1,1
0,1,1,0,0,0,1,0,0,0,0,1,1,1
0,0,1,0,0,0,0,0,1,1,1,0,0,1
0,1,0,0,0,0,1,1,0,1,0,0,0,1
0,1,1,1,0,1,1,0,1,0,1,1,0,1
0,1,0,0,1,1,0,1,0,1,1,1,1,1
0,1,0,1,1,0,0,1,0,1,1,1,1,1
0,0,1,0,1,1,1,1,0,0,0,0,0,1
0,1,1,0,0,0,0,1,0,1,1,0,0,1
0,0,1,1,1,0,1,1,0,0,0,0,0,1
0,1,0,0,0,0,0,1,0,1,0,0,1,1
0,0,1,1,0,1,0,1,1,1,0,1,1,1
0,0,0,0,0,1,0,1,0,0,1,1,1,1
0,0,1,0,1,1,0,1,1,1,1,0,1,1
0,0,0,1,0,1,0,0,0,0,1,1,0,1
0,0,1,1,1,0,0,1,1,1,1,0,1,1
0,1,0,0,1,0,1,1,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,0,0,0,1
1,0,1,0,1,0,0,1,1,0,0,0,0,1
1,0,0,1,0,0,0,1,1,0,0,0,0,1
1,0,0,0,1,0,0,1,0,1,0,0,0,1
1,1,1,0,0,0,0,0,0,0,0,0,1,1
1,0,1,1,1,1,1,1,0,1,1,1,1,1
1,1,0,1,0,0,0,0,0,0,0,1,1,1
1,0,0,0,0,1,0,1,1,0,1,0,0,1
1,1,1,0,0,0,0,1,0,0,0,0,1,1
1,1,1,0,0,0,1,0,1,0,0,0,0,1
1,1,0,0,1,0,0,0,0,0,1,0,1,1
1,0,0,1,1,0,0,0,0,0,0,1,0,1
1,0,0,0,1,1,0,0,0,0,0,1,0,1
1,0,0,0,0,1,0,1,0,1,0,1,0,1
1,0,0,0,1,0,0,1,1,0,0,1,0,1
1,0,1,0,0,0,0,0,1,1,0,1,0,1
1,1,1,1,1,1,1,0,0,1,1,1,1,1
1,0,0,1,0,1,0,0,0,0,1,0,0,1
1,1,0,0,0,0,0,1,1,0,0,0,1,1
1,0,0,1,1,0,0,0,1,1,0,0,0,1
1,0,0,0,1,1,0,0,1,1,0,0,0,1
1,0,1,0,0,1,0,1,1,0,0,0,0,1
1,0,0,0,0,1,1,0,0,0,1,0,1,1
1,0,0,1,0,0,0,1,0,1,0,0,0,1
1,0,0,1,1,0,0,0,0,0,1,1,0,1

# Death Transitions
1,death0,death1,death2,death3,death4,death5,death6,death7,death8,death9,death10,death11,0
Download CAViewer: https://github.com/jedlimlx/Cellular-Automaton-Viewer

Supports:
BSFKL, Extended Generations, Regenerating Generations, Naive Rules, R1 Moore, R2 Cross and R2 Von Neumann INT
And some others...

User avatar
bubblegum
Posts: 961
Joined: August 25th, 2019, 11:59 pm
Location: click here to do nothing

Re: Range-2 von Neumann isotropic non-totalistic rulespace

Post by bubblegum » August 26th, 2020, 2:57 am

boink
Something I'd like to propose is the v letter for "outer-totalistic for the inner 8 cells". Additionally I'd like to define the rules of the strings so that muzik will attempt to declare something else canonical so I can shoot him down—no I'm kidding.

Each "node" of the transition consists of a number with a string of letters, numbers and hyphens after. The start of a node is a number ranging from 0 to 8. All nodes are set to the first alphabetically possible sequence.
  1. If the node root and the next letter constitute a valid sequence in Hensel notation:
    1. If the next character is a letter the string of letters list transitions in the form (root)(next)(final) for final in afterletters.
    2. If it's a hyphen the string of letters list transitions in the form to be excluded from the rule and all the other transitions beginning with (root)(next) are added.
  2. If the next letter is a v point 1 is repeated for every valid (root)(next) sequence.
  3. If it's an x transitions are listed (with hyphens at the beginning) to be excluded from the rule and all other transitions with (root) cells are added to the list.
Following this logic AlmostLife (r2c2b9t11s6t11nw0010003330130310333000100) is (I believe, it would be pretty embarrassing if it wasn't) B2vnopqr3v-nopqr/S2v3v-nopqrV2.

Alright this thing is complicated.
Each day is a hidden opportunity, a frozen waterfall that's waiting to be realised, and one that I'll probably be ignoring
sonata wrote:
July 2nd, 2020, 8:33 pm
conwaylife signatures are amazing[citation needed]
anything

Post Reply