Golly 2.9b1 and the overlay

For general discussion about Conway's Game of Life.
User avatar
Andrew
Moderator
Posts: 919
Joined: June 2nd, 2009, 2:08 am
Location: Melbourne, Australia
Contact:

Golly 2.9b1 and the overlay

Post by Andrew » November 14th, 2016, 6:55 am

The 1st beta version of Golly 2.9 is now available:

EDIT: Download links have been removed now that version 3.0b1 has been released.

This version has a new feature called the overlay -- a rectangular area of pixels that can be displayed above the current layer. Lua scripts have total control over what the overlay looks like and how the user interacts with it. Here's a simple example:

Code: Select all

local g = golly()
local ov = g.overlay
-- create a 400x300 overlay in the middle of the layer
ov("create 400 300")
ov("position middle")
-- fill it with a translucent blue background
ov("rgba 0 0 255 128")
ov("fill")
-- draw some white text in the top left corner
ov("rgba 255 255 255 255")
ov("text msg Click to exit.")
ov("blend 1")
ov("paste 10 10 msg")
g.update()
-- wait for user to click in the overlay
while true do
    local event = g.getevent()
    if event:find("^oclick") then break end
end
ov("delete")   -- remove the overlay
All the overlay commands are documented in Help > Overlay.

The Scripts/Lua folder has a number of scripts that illustrate how the overlay can be used to extend Golly in all sorts of ways. A good place to start would be overlay-demo.lua. It contains examples of most of the overlay commands. More complex scripts are also supplied:

breakout.lua -- A script by Chris Rowett that shows how the overlay can be used to create an interactive game.

hexgrid.lua -- Creates a true hexagonal grid for rules that use a hexagonal neighborhood.

lifeviewer.lua -- Another script by Chris that displays patterns like LifeViewer, with history, smooth non-integer scaling, and rotation. Still a work in progress.

pop-plot.lua -- This script has been updated to use the overlay to display nicer looking plots that can be saved in a PNG file.

Apart from the overlay there are a number of other important changes in this version, so make sure you read Help > Changes.

Please note that we're still working on the overlay API. There's likely to be a number of beta releases before the final version is ready for sourceforge (probably well into next year).

Feedback, suggestions, bug reports are all welcome!
Use Glu to explore CA rules on non-periodic tilings: DominoLife and HatLife

User avatar
Scorbie
Posts: 1692
Joined: December 7th, 2013, 1:05 am

Re: Golly 2.9b1 and the overlay

Post by Scorbie » November 14th, 2016, 11:48 am

Oh my god, the overlay is really crazy!!! Thanks a lot for the work!!!
Eye candy for the hex grid was one of the reasons I really wanted to write my own CA simulator, but not it's here actually, I'd rethink about that....

Anyway this is really awesome; people should try this! Oh my god!!

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

Re: Golly 2.9b1 and the overlay

Post by Saka » November 24th, 2016, 10:22 pm

this new golly cant find the python library. Where should the dll be? it's not in the Python27 -> DLLs folder

User avatar
Andrew
Moderator
Posts: 919
Joined: June 2nd, 2009, 2:08 am
Location: Melbourne, Australia
Contact:

Re: Golly 2.9b1 and the overlay

Post by Andrew » November 25th, 2016, 1:05 am

Saka wrote:this new golly cant find the python library. Where should the dll be? it's not in the Python27 -> DLLs folder
2.9b1 looks for the Python library in exactly the same way as 2.8 (and 2.7). Did you download the 32-bit or 64-bit build? Is that the same build as your previous Golly version? Does it match your Python bit size? What is the python_lib setting in your GollyPrefs file? That file should be in the same folder as Golly.exe or in one of these locations:

On Windows XP: C:\Documents and Settings\username\Application Data\Golly\
On Windows 7+: C:\Users\username\AppData\Roaming\Golly\
Use Glu to explore CA rules on non-periodic tilings: DominoLife and HatLife

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

Re: Golly 2.9b1 and the overlay

Post by Saka » November 25th, 2016, 1:34 am

Before this I was using an ancient version of golly, Golly 2.6

User avatar
BlinkerSpawn
Posts: 1992
Joined: November 8th, 2014, 8:48 pm
Location: Getting a snacker from R-Bee's

Re: Golly 2.9b1 and the overlay

Post by BlinkerSpawn » January 9th, 2017, 12:00 pm

Do later betas exist yet or have I been seeing things?
LifeWiki: Like Wikipedia but with more spaceships. [citation needed]

Image

User avatar
Andrew
Moderator
Posts: 919
Joined: June 2nd, 2009, 2:08 am
Location: Melbourne, Australia
Contact:

Re: Golly 2.9b1 and the overlay

Post by Andrew » January 10th, 2017, 12:45 am

BlinkerSpawn wrote:Do later betas exist yet ... ?
No.
Use Glu to explore CA rules on non-periodic tilings: DominoLife and HatLife

GUYTU6J
Posts: 2200
Joined: August 5th, 2016, 10:27 am
Location: 拆哪!I repeat, CHINA! (a.k.a. 种花家)
Contact:

Re: Golly 2.9b1 and the overlay

Post by GUYTU6J » January 14th, 2017, 10:18 pm

Using lua technology,is it posible to make SeedOfDestruction game into Golly ?

User avatar
Andrew
Moderator
Posts: 919
Joined: June 2nd, 2009, 2:08 am
Location: Melbourne, Australia
Contact:

Re: Golly 2.9b1 and the overlay

Post by Andrew » February 25th, 2017, 11:00 pm

GUYTU6J wrote:Using lua technology,is it posible to make SeedOfDestruction game into Golly ?
I've never been able to get SoD working on my Mac so not 100% sure, but looking at the docs and the screen shots it should be possible to create a nice-looking overlay script that does the same job (but possibly not as fast). Looks like a lot of work though.
Use Glu to explore CA rules on non-periodic tilings: DominoLife and HatLife

User avatar
Andrew
Moderator
Posts: 919
Joined: June 2nd, 2009, 2:08 am
Location: Melbourne, Australia
Contact:

Re: Golly 2.9b1 and the overlay

Post by Andrew » March 16th, 2017, 8:45 pm

I've edited the link for the Mac build in the 1st post to point to a signed dmg file. This should avoid various problems caused by an annoying security "feature" Apple recently added in Mac OS 10.12. The dmg file can also be unpacked on older Mac systems (right back to 10.6).
Use Glu to explore CA rules on non-periodic tilings: DominoLife and HatLife

drc
Posts: 1664
Joined: December 3rd, 2015, 4:11 pm

Re: Golly 2.9b1 and the overlay

Post by drc » March 16th, 2017, 9:17 pm

Can MAP be added in 2.9?

User avatar
rowett
Moderator
Posts: 3776
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Golly 2.9b1 and the overlay

Post by rowett » March 17th, 2017, 12:25 am

drc wrote:Can MAP be added in 2.9?
Yes it's already implemented. It will be available when 2.9b2 is released (or earlier if you wish to build from the source).

User avatar
blah
Posts: 311
Joined: April 9th, 2016, 7:22 pm

Re: Golly 2.9b1 and the overlay

Post by blah » March 17th, 2017, 11:12 am

Since we're asking for features, what about extended neighbourhoods in RuleLoader?
succ

wildmyron
Posts: 1542
Joined: August 9th, 2013, 12:45 am
Location: Western Australia

Re: Golly 2.9b1 and the overlay

Post by wildmyron » March 21st, 2017, 10:34 pm

Been very happily using Golly 2.9b1 on Windows x64 - thank you all for your great work.

I've noticed a minor issue with determining the canonical rulestring for isotropic rules:

1) Change the rule to B3-acei/S
*) Golly displays the rule as B3jknqry/S

2) Open the Set Rule dialogue and close it again
*) Golly displays the rule as B3-acei/S

A number of other actions also cause Golly to flip between different representations. In particular there is a strange interaction with the Undo/Redo mechanism

The same occurs for any similar string with 3 or 5 as the totalistic number and also for rulestrings such as B2-ac/S , B6-ac/S , and B4-aceij/S .
The 5S project (Smallest Spaceships Supporting Specific Speeds) is now maintained by AforAmpere. The latest collection is hosted on GitHub and contains well over 1,000,000 spaceships.

Semi-active here - recovering from a severe case of LWTDS.

User avatar
rowett
Moderator
Posts: 3776
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Golly 2.9b1 and the overlay

Post by rowett » March 21st, 2017, 11:27 pm

wildmyron wrote:I've noticed a minor issue with determining the canonical rulestring for isotropic rules
This has been fixed. Thanks for reporting!

wildmyron
Posts: 1542
Joined: August 9th, 2013, 12:45 am
Location: Western Australia

Re: Golly 2.9b1 and the overlay

Post by wildmyron » March 22nd, 2017, 12:02 am

rowett wrote:
wildmyron wrote:I've noticed a minor issue with determining the canonical rulestring for isotropic rules
This has been fixed. Thanks for reporting!
That was quick. Thank you!
The 5S project (Smallest Spaceships Supporting Specific Speeds) is now maintained by AforAmpere. The latest collection is hosted on GitHub and contains well over 1,000,000 spaceships.

Semi-active here - recovering from a severe case of LWTDS.

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

Re: Golly 2.9b1 and the overlay

Post by Saka » March 24th, 2017, 6:37 am

Golly doesnt simulate b0 generations properly, I think.
Example case:
1. Change rulestring to 012/03/23
2. Soup-search until a "rocket" appears
3. Copy the rocket (in an even rule)
4. Open a new layer
5. Paste the copied rocket in
6. Run
As you can see, even the same pattern can behave differently in different layers

User avatar
dvgrn
Moderator
Posts: 10612
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI
Contact:

Re: Golly 2.9b1 and the overlay

Post by dvgrn » March 24th, 2017, 7:28 am

Saka wrote:As you can see, even the same pattern can behave differently in different layers
Or even in the same layer, actually:

Code: Select all

x = 2, y = 2, rule = 012/03/23
2A$A!
Running this in Golly for 24 ticks produces a diagonal lightspeed rocket. But try
  • running a few dozen ticks with the spacebar;
  • hitting "z" once or twice at any point;
  • holding down the spacebar again.
The rocket mysteriously dies instead of continuing to travel. You have to undo all the way to T=0 before the original behavior is restored.

Copying and pasting to a new layer also seems to cause the ON cells to die off for some reason, which I think is the behavior Saka is describing.

The behavior in LifeViewer Build 222 (or Build 226) seems to be similar, leading to an early death for patterns in this rule.

User avatar
blah
Posts: 311
Joined: April 9th, 2016, 7:22 pm

Re: Golly 2.9b1 and the overlay

Post by blah » March 24th, 2017, 9:49 am

Here's the pre-block actually simulated for 500 generations in that rule in a bounded grid, using my own software. The more states the rule has, the slower patterns have to go, given that they can only expand 2 (?) cells per (amount of states).

Code: Select all

x = 130, y = 130, rule = 012/03/23
130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$62QO3A.10QA3.2AOA45Q$53QACA2Q3A3O3J3.QA2.A.2JAMIL2O2PA43Q$53Q2HCA3DPEOJMJ2AQ.APA3.2JMIMA2N.2P43Q$53Q2HAE2D.2EAGJAIK2Q.P2.2J2LA2MA2NA.PA42Q$51QA2PJK.DA.AF3G.IKAQA3.2J2LK3I2N2.A.42Q$50QA2P2AJD2.2DFA4IA3LK2AJAJAKIJ2IN.N2.42Q$50Q2PA2OM2DACEA3I.2H.LA2K3JA2.AGE2IAKA.42Q$48QA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2GFEVATA2SUAD2A.A2C.C3.DCA2N.43Q$44QA.5JF2D2BIA2EABV2.2SUDEDFAC2G2A2.A.2CLA.43Q$44Q2.2JAJAGF3BCAE.BA2D2.A.2D2FAC2G.GAL.NALJA44Q$44Q2J2LJA.HGF3B2.AJKDEA2.2D.2FC.A.G.A2L.NLA2O.42Q$43QA2J2LA2.A3F3.2F2JABAJ2.DB3ACAG4.4LA.OA42Q$43Q.AMA2K2.2DF.2A.2FAHJ2ALALA.A2D2.2A4.LA.L2N.42Q$43Q.MIM2IAG2DAU2DBF4HKL2I.AM.2D2.2L2.A.2A2LNJA42Q$43Q.I2MIJGEA2.2UAFAIAIA2KAI.A.2FD.A.2L3.2BALAJA42Q$43QAL2A2I2E3.A2JN2GIG2K4I2H2FAD.N.2LA3BA2O2M42Q$43QAO3N2IEA.2K.JNK2GM2A3IA2H2N.2CANL2A2BNMPO2M42Q$43Q2O4NI.AJ2KANANAMNP.2O2FO2A2NAC3L.L2AMAJA2M42Q$43QAP.A2.AKA2JA2MAL2M2N3O2F2M4NLJ2A3LOPJHJPA42Q$44Q2P2.NK.K3M3Q2L3AQA.2A2M2Q2N2AO.2NA2OAJ2P43Q$44QA2PA.A.A.M18QA2.Q2ON2J3M2PA43Q$46QA6.23Q.A.2A3MA45Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q$130Q!
This can probably be simulated with alternating rules, given how the state of the outside is always (generations%number of states), although I'm not sure about the details. Needless to say, Golly should at least display an error message.
succ

User avatar
rowett
Moderator
Posts: 3776
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Golly 2.9b1 and the overlay

Post by rowett » March 24th, 2017, 10:19 am

dvgrn wrote:The behavior in LifeViewer Build 222 (or Build 226) seems to be similar, leading to an early death for patterns in this rule.
I think LifeViewer is correct. The pattern should not create rockets given the three cell starting configuration. I'll see if I can mend Golly.

User avatar
blah
Posts: 311
Joined: April 9th, 2016, 7:22 pm

Re: Golly 2.9b1 and the overlay

Post by blah » March 24th, 2017, 10:31 am

rowett wrote:I think LifeViewer is correct.
It isn't. Golly and LifeViewer both simulate the rule innacurately. As I posted earlier, the pattern slowly explodes. It does not move, nor does it die. How do LifeViewer and Golly even simulate this?

Edit: And on the subject of simulating it for infinite grids, maybe the different states could represent a difference from the outside state (t%states). For example, at t=20 in a 17-state rule, state 20%17=3 is treated as the live state, and state 2 would be the dead cells, and they would count up modularly. A 'still life' would constantly oscillate. At some point it would become state 0, but that wouldn't be a contradiction; it would have to have neighbours, othewise it would be s8 anyway.

Did I explain that well enough? I think that could work.
succ

User avatar
dvgrn
Moderator
Posts: 10612
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI
Contact:

Re: Golly 2.9b1 and the overlay

Post by dvgrn » March 24th, 2017, 11:19 am

blah wrote:
rowett wrote:I think LifeViewer is correct.
It isn't. Golly and LifeViewer both simulate the rule [inaccurately]. As I posted earlier, the pattern slowly explodes. It does not move, nor does it die.
I can confirm this in Golly. Here's the equivalent 24-state rule table:

Code: Select all

@RULE Generations-with-B03-S012-23states-plus-NEWOFF

Rule table simulation of B0 Generations rule, for test purposes
Start by building a block of state-23 cells to simulate OFF cells
(because using actual OFF cells has bad effects in Golly,
   rapidly increasing population even with a bounded grid)

@TABLE

n_states:24
neighborhood:Moore
symmetries:permute

var a={23,0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22}
var b={23,0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22}
var c={23,0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22}
var d={23,0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22}
var e={23,0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22}
var f={23,0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22}
var g={23,0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22}
var h={23,0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22}

var m={23,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22}
var n={23,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22}
var o={23,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22}
var p={23,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22}
var q={23,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22}
var r={23,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22}
var s={23,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22}
var t={23,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22}

# NEWOFF cell turns ON if 0 or 3 ON neighbors
23,a,b,c,d,e,f,g,h,1
23,1,1,1,a,b,c,d,e,1

# ON cells remain ON if 0, 1, or 2 neighbors
1,a,b,c,d,e,f,g,h,1
1,1,a,b,c,d,e,f,g,1
1,1,1,a,b,c,d,e,f,1

# otherwise ON cells become slowly-dying NEWOFF cells
1,m,n,o,p,q,r,s,t,2
2,m,n,o,p,q,r,s,t,3
3,m,n,o,p,q,r,s,t,4
4,m,n,o,p,q,r,s,t,5
5,m,n,o,p,q,r,s,t,6
6,m,n,o,p,q,r,s,t,7
7,m,n,o,p,q,r,s,t,8
8,m,n,o,p,q,r,s,t,9
9,m,n,o,p,q,r,s,t,10
10,m,n,o,p,q,r,s,t,11
11,m,n,o,p,q,r,s,t,12
12,m,n,o,p,q,r,s,t,13
13,m,n,o,p,q,r,s,t,14
14,m,n,o,p,q,r,s,t,15
15,m,n,o,p,q,r,s,t,16
16,m,n,o,p,q,r,s,t,17
17,m,n,o,p,q,r,s,t,18
18,m,n,o,p,q,r,s,t,19
19,m,n,o,p,q,r,s,t,20
20,m,n,o,p,q,r,s,t,21
21,m,n,o,p,q,r,s,t,22
22,m,n,o,p,q,r,s,t,23

@COLORS

23   96   96   96
And here's the pattern to run in that rule, with a simulated 100x100 bounded grid:

Code: Select all

x = 100, y = 100, rule = Generations-with-B03-S012-23states-plus-NEWOFF
100W$100W$100W$100W$100W$100W$100W$100W$100W$100W$100W$100W$100W$100W
$100W$100W$100W$100W$100W$100W$100W$100W$100W$100W$100W$100W$100W$
100W$100W$100W$100W$100W$100W$100W$100W$100W$100W$100W$100W$100W$100W
$100W$100W$100W$100W$100W$100W$100W$100W$49W2A49W$49WA50W$100W$100W$
100W$100W$100W$100W$100W$100W$100W$100W$100W$100W$100W$100W$100W$100W
$100W$100W$100W$100W$100W$100W$100W$100W$100W$100W$100W$100W$100W$
100W$100W$100W$100W$100W$100W$100W$100W$100W$100W$100W$100W$100W$100W
$100W$100W$100W$100W$100W$100W!
After 500 ticks this produces the exact same pattern that blah posted, though it's hard to tell in LifeViewer due to the different colors. In Golly the colors are almost identical:

Code: Select all

x = 50, y = 49, rule = Generations-with-B03-S012-23states-plus-NEWOFF
50Q$50Q$21QO3AW10QA3W2AOA6Q$12QACA2Q3A3O3J3WQA2WAW2JAMIL2O2PA4Q$12Q2H
CA3DPEOJMJ2AQWAPA3W2JMIMA2NW2P4Q$12Q2HAE2DW2EAGJAIK2QWP2W2J2LA2MA2NAW
PA3Q$10QA2PJKWDAWAF3GWIKAQA3W2J2LK3I2N2WAW3Q$9QA2P2AJD2W2DFA4IA3LK2AJ
AJAKIJ2INWN2W3Q$9Q2PA2OM2DACEA3IW2HWLA2K3JA2WAGE2IAKAW3Q$7QA2P2NAOFDB
CEC4IA2HJ2WKLKJA3WG3EWK3W3Q$6QA2P2NWN2FDBAUAU3I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DFAC2G2A2WAW2CLAW4Q$3Q2W2JAJAGF3BCAEWBA2D2WAW2D2FAC2GWGALWNALJ
A5Q$3Q2J2LJAWHGF3B2WAJKDEA2W2DW2FCWAWGWA2LWNLA2OW3Q$2QA2J2LA2WA3F3W2F
2JABAJ2WDB3ACAG4W4LAWOA3Q$2QWAMA2K2W2DFW2AW2FAHJ2ALALAWA2D2W2A4WLAWL
2NW3Q$2QWMIM2IAG2DAU2DBF4HKL2IWAMW2D2W2L2WAW2A2LNJA3Q$2QWI2MIJGEA2W2U
AFAIAIA2KAIWAW2FDWAW2L3W2BALAJA3Q$2QAL2A2I2E3WA2JN2GIG2K4I2H2FADWNW2L
A3BA2O2M3Q$2QAO3N2IEAW2KWJNK2GM2A3IA2H2NW2CANL2A2BNMPO2M3Q$2Q2O4NIWAJ
2KANANAMNPW2O2FO2A2NAC3LWL2AMAJA2M3Q$2QAPWA2WAKA2JA2MAL2M2N3O2F2M4NLJ
2A3LOPJHJPA3Q$3Q2P2WNKWK3M3Q2L3AQAW2A2M2Q2N2AOW2NA2OAJ2P4Q$3QA2PAWAWA
WM18QA2WQ2ON2J3M2PA4Q$5QA6W23QWAW2A3MA6Q$50Q$50Q!

User avatar
rowett
Moderator
Posts: 3776
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Golly 2.9b1 and the overlay

Post by rowett » March 24th, 2017, 11:30 am

blah wrote:How do LifeViewer and Golly even simulate this?
They use alternate algorithms for even and odd generations the same as for non-Generations rules.

User avatar
rowett
Moderator
Posts: 3776
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Golly 2.9b1 and the overlay

Post by rowett » March 24th, 2017, 11:35 am

So for clarity I'm working on two separate issues:
  1. LifeViewer and Golly behave differently on the same pattern for 012/03/23. They shouldn't since they use exactly the same algorithm
  2. I'm investigating the algorithm they both use to see why it doesn't produce the output blah and Dave generated

User avatar
blah
Posts: 311
Joined: April 9th, 2016, 7:22 pm

Re: Golly 2.9b1 and the overlay

Post by blah » March 24th, 2017, 11:42 am

Well, if they use two different rules for even and odd generations, that's the problem. These rules don't alternate every 2 generations, they oscillate through n generations (n being the number of states). The algorithm I came up with before should work.
succ

Post Reply