Cell builder, a rule cannot simulated by Golly

For discussion of other cellular automata.
Post Reply
User avatar
PHPBB12345
Posts: 1124
Joined: August 5th, 2015, 11:55 pm
Contact:

Cell builder, a rule cannot simulated by Golly

Post by PHPBB12345 » July 26th, 2019, 12:34 am

Code: Select all

#CXRLE Pos=-128,-128
x = 256, y = 256, rule = CellBuilder:T256,256
116$118.B.B.B.B$115.11A$115.A3.B.B.B.B$113.2A.2A$113.A3.A$113.5A$113.
A.A.A$115.A$104.D21A$113.3B!
cellbuilder.zip
It's similar to WWEJ3 and JVNWWE
(72.93 KiB) Downloaded 3 times
Last edited by PHPBB12345 on June 17th, 2024, 8:12 pm, edited 18 times in total.

User avatar
PkmnQ
Posts: 1137
Joined: September 24th, 2018, 6:35 am
Location: Server antipode

Re: Cell builder, a rule cannot simulated by Golly

Post by PkmnQ » July 26th, 2019, 11:14 am

Try the 8-gen trick.
Maybe we can simulate it in fewer that 8 or 64 generations?

User avatar
PHPBB12345
Posts: 1124
Joined: August 5th, 2015, 11:55 pm
Contact:

Re: Cell builder, a rule cannot simulated by Golly

Post by PHPBB12345 » July 26th, 2019, 6:47 pm

PkmnQ wrote:Try the 8-gen trick.
Maybe we can simulate it in fewer that 8 or 64 generations?
Currently unimplemented.

User avatar
Saka
Posts: 3627
Joined: June 19th, 2015, 8:50 pm
Location: Indonesia
Contact:

Re: Cell builder, a rule cannot simulated by Golly

Post by Saka » July 27th, 2019, 12:59 am

How to use?
When I run main.exe I only get a black screen.

User avatar
PHPBB12345
Posts: 1124
Joined: August 5th, 2015, 11:55 pm
Contact:

Re: Cell builder, a rule cannot simulated by Golly

Post by PHPBB12345 » July 27th, 2019, 1:18 am

Saka wrote:How to use?
When I run main.exe I only get a black screen.
Ctrl+V = paste pattern, space = next generation

User avatar
PkmnQ
Posts: 1137
Joined: September 24th, 2018, 6:35 am
Location: Server antipode

Re: Cell builder, a rule cannot simulated by Golly

Post by PkmnQ » July 27th, 2019, 10:22 am

Here’s an example of my trick using Life:

Code: Select all

@RULE 8Gen

@TABLE
n_states:9
neighborhood:Moore
symmetries:permute

var a={0,1,2,3,4,5,6,7,8}
var b=a
var c=a
var d=a
var e=a
var f=a
var g=a
var h=a

0,1,1,1,0,0,0,0,0,2
1,0,0,0,0,0,0,0,0,0
1,1,0,0,0,0,0,0,0,0
1,1,1,0,0,0,0,0,0,2
1,1,1,1,0,0,0,0,0,2
1,1,1,1,1,0,0,0,0,0
1,1,1,1,1,1,0,0,0,0
1,1,1,1,1,1,1,0,0,0
1,1,1,1,1,1,1,1,0,0
1,1,1,1,1,1,1,1,1,0
2,a,b,c,d,e,f,g,h,3
3,a,b,c,d,e,f,g,h,4
4,a,b,c,d,e,f,g,h,5
5,a,b,c,d,e,f,g,h,6
6,a,b,c,d,e,f,g,h,7
7,a,b,c,d,e,f,g,h,8
8,a,b,c,d,e,f,g,h,1
Just run it at 8^1 speed.

User avatar
PHPBB12345
Posts: 1124
Joined: August 5th, 2015, 11:55 pm
Contact:

Re: Cell builder, a rule cannot simulated by Golly

Post by PHPBB12345 » July 29th, 2019, 6:56 am

Incremental timer:

Code: Select all

x = 32, y = 26, rule = CellBuilder:T256,256
10$12.3ACG3A.2B7.B$12.A6.13A$12.A.4A.A3.A.2BA2.BA$12.A.A2BA.2A2.2A2.
2A2.A$12.A.A.16A$12.A.4A.A$10.3A3.AB.4A$10.A5.2A.A2.A$10.A.9A.A$10.A.
A6.4A$10.A.A2.4A.A$10.A4.A.4A$10.6A2.A$11.B.A.4A2$13.A!
8-bit counter:

Code: Select all

x = 47, y = 15, rule = CellBuilder:T256,256
10$10.5A.2B2.2B2.2B2.2B2.2B2.2B2.2B2.2B$10.A3.A.3A.3A.3A.3A.3A.3A.3A.
3A$10.A3.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A$10.A3.C3.A3.A3.A3.A3.A3.A
3.A3.A$10.4AEC.3A.3A.3A.3A.3A.3A.3A.2A!

User avatar
PHPBB12345
Posts: 1124
Joined: August 5th, 2015, 11:55 pm
Contact:

Re: Cell builder, a rule cannot simulated by Golly

Post by PHPBB12345 » August 6th, 2019, 10:54 pm

Code rewriter:

Code: Select all

x = 37, y = 43, rule = CellBuilder:T256,256
10$31.B4A$31.BA2.A$31.BA.2A$32.4A$32.A2.A$29.3BA.2A$22.14A$22.A2.A3.B
5.A$21.BA2.A9.A$21.BA.2A9.A$21.B4A9.A$21.BA2.A8.2A$22.A2.A.4A.5A$22.A
.2A.A2.4A2.A$19.10A.A2.A$19.A7.4A2.A$19.A13.A$12.3ACG3A.2B7.B$12.A6.
13A$12.A.4A.A3.A.2BA2.BA.A$12.A.A2BA.2A2.2A2.2A2.A.A$12.A.A.16A.A$12.
A.4A.A13.A$10.3A3.AB.4A10.B$10.A5.2A.A2.A10.B$10.A.9A.A10.B$10.A.A6.
4A10.B$10.A.A2.4A.A$10.A4.A.4A$10.6A2.A$11.B.A.4A2$13.A!

User avatar
ishanpm
Posts: 27
Joined: September 28th, 2017, 9:54 pm
Contact:

Re: Cell builder, a rule cannot simulated by Golly

Post by ishanpm » August 9th, 2019, 12:53 am

Could you post an explanation of the rule and the cell states? It's not very clear from the examples, and the source code is a bit dense. The main obstacle to a Golly implementation seems to be the FloodErase function, but some trickery with timing could lead to a ruletable implementation.

User avatar
PHPBB12345
Posts: 1124
Joined: August 5th, 2015, 11:55 pm
Contact:

Re: Cell builder, a rule cannot simulated by Golly

Post by PHPBB12345 » August 9th, 2019, 4:56 am

ishanpm wrote:Could you post an explanation of the rule and the cell states? It's not very clear from the examples, and the source code is a bit dense. The main obstacle to a Golly implementation seems to be the FloodErase function, but some trickery with timing could lead to a ruletable implementation.

Code: Select all

States:
   0: BACKGROUND    - Empty space. Structure can be built here but no photons can exist in it.
   1: WIRE          - Photon-conducting structure
   2: ISOLATOR      - Non-conducting structure (has special functions)
   3: TAIL
   4: HEAD
   5: FORWARD head  - extends construction arm
   6: BACKWARD head - retracts construction arm (if tailless, removes an entire wire)
   7: DELETE head   - writes remote cell BACKGROUND (ie. erases any cell) 
   8: WRITE head    - writes remote cell WIRE 
   9: ISOLATE head  - writes remote cell ISOLATOR 
  10: TOGGLE head   - toggles remote cell between ISOLATOR or BACKGROUND
  11: LEFT head     - bends construction arm left
  12: RIGHT head    - bends construction arm right
  13: READ head     - reads remote structure type, non-destructive
  14: TEMP_WRITE    - Temporary state to write a remote cell WIRE
  15: TEMP_ISOLATE  - Temporary state to write a remote cell ISOLATE
  16: QUANTUM       - Temporary state that collapses to a certain photon type when reading a remote cell

ISOLATOR on right increments
ISOLATOR on left decrements
ISOLATOR on left and right increment by 5

LMB = Increment cell state
RMB = Decrement cell state

Post Reply