Golly 2.1 minor problem

Has something gone haywire? Let us know about it!
Post Reply
User avatar
Extrementhusiast
Posts: 1970
Joined: June 16th, 2009, 11:24 pm
Location: USA

Golly 2.1 minor problem

Post by Extrementhusiast »

When I do a population plot for a Generations rule, sometimes the state-1 cells come up white, and they stay that way. (For me, they're usually supposed to be red.) Again, it's like the inverting of paste selection, as it is just an insignificant color change, but I thought I might point this out.
I Like My Heisenburps! (and others)
User avatar
Andrew
Moderator
Posts: 1039
Joined: June 2nd, 2009, 2:08 am
Location: Melbourne, Australia
Contact:

Re: Golly 2.1 minor problem

Post by Andrew »

When I do a population plot for a Generations rule, sometimes the state-1 cells come up white, and they stay that way.
State 1 should either be white if the background (ie. state 0) is dark, or black if the background is light. If you don't see that then please tell me the exact steps so I can reproduce the bug. If you want to change the colors then create a copy of the pop-plot.py/pl script and alter or remove the lines that call g.setcolors.
Use Glu or Glui to explore CA rules on non-periodic tilings: DominoLife and HatLife
User avatar
Extrementhusiast
Posts: 1970
Joined: June 16th, 2009, 11:24 pm
Location: USA

Re: Golly 2.1 minor problem

Post by Extrementhusiast »

No, what you describe is what I see. I've found out that if I change the rule to another Generations rule then undo that change, the colors return to normal.
I Like My Heisenburps! (and others)
User avatar
Andrew
Moderator
Posts: 1039
Joined: June 2nd, 2009, 2:08 am
Location: Melbourne, Australia
Contact:

Re: Golly 2.1 minor problem

Post by Andrew »

Another way to restore the colors is to open the Layer > Set Layer Colors dialog and hit the "Default Colors" button.

Or if you want a really quick way to do it, assign a key combo to a .py script containing these commands:

Code: Select all

import golly
golly.setcolors([])
Use Glu or Glui to explore CA rules on non-periodic tilings: DominoLife and HatLife
User avatar
cordership
Posts: 8
Joined: May 31st, 2011, 6:14 pm

Re: Golly 2.1 minor problem

Post by cordership »

It's not a problem; it's normal. It does that to make it be seen better. Once you close the layer it returns to normal.
Dreaming of being a Gemini knightship. Ahhhh........
Post Reply