Pattern viewer for forum threads

For discussion directly related to ConwayLife.com, such as requesting changes to how the forums or home page function.
User avatar
muzik
Posts: 5614
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » August 13th, 2019, 3:55 pm

To celebrate the 1000th reply to this thread, here's a suggestion:

Currently I'm not satisfied with how themes are currently selected. A slider doesn't really seem to make sense anymore, especially since the numbering scheme for themes was removed, so I think theme selection should instead use a menu. This would free up some room on the main settings menu, and you'd be able to see which themes are available at a glance, which is a win in my book.

Here's a professionally-crafted mock-up of what such a theme selection menu could look like: https://media.discordapp.net/attachment ... estion.png


I also think that selecting themes via numbers in scripting should be deprecated, since the numbers don't really hold any relevance anymore.
Last edited by muzik on August 13th, 2019, 3:57 pm, edited 1 time in total.

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

Re: Pattern viewer for forum threads

Post by rowett » August 13th, 2019, 3:57 pm

muzik wrote:Here's a professionally-crafted mock-up of what such a theme selection menu could look like: https://media.discordapp.net/attachment ... estion.png
I'm certain I don't have the artistic skills to do that justice :D

User avatar
muzik
Posts: 5614
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » August 13th, 2019, 4:19 pm

It's what I do, I could probably have done considerably better with it honestly.

--

Could a button be added that instantly kills all history cells within the active pattern?

Also, will LifeViewer's cutting copying pasting abilities ever be able to accept patterns which are currently in the clipboard, as well as write patterns to it that can then be posted as text/into golly?

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

Re: Pattern viewer for forum threads

Post by rowett » August 13th, 2019, 4:59 pm

muzik wrote:Could a button be added that instantly kills all history cells within the active pattern?
Yes
muzik wrote:Also, will LifeViewer's cutting copying pasting abilities ever be able to accept patterns which are currently in the clipboard...
Maybe but it's tricky because of browser security.
muzik wrote:... as well as write patterns to it that can then be posted as text/into golly?
It can already do this. Click on the Sync toggle button at the top and all copies from LifeViewer will go into the system clipboard.

User avatar
muzik
Posts: 5614
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » August 13th, 2019, 5:48 pm

On this page, if the settings menu is open, the left and right buttons occlude sliders: http://lazyslug.com/lifeview/plugin/0E0P.html

Also, to me, hexagonal cells don't look completely regular, and still seem a bit stretched vertically.

There's also this annoying quirk which I think I might have reported before, where a modified popupwidth displaces subsequently opened lifeviewer windows to the left, instead of correctly aligning them to the right (I haven't tested this on PC, though, either):

Code: Select all

x = 15, y = 8, rule = B3-y5cr/S234w6n
3b2o2b2o3b2o$3b2o2b2o3b2o4$2o2b2o$2obo2bo2b2o2b2o$4b2o3b2o2b2o!
[[ POPUPWIDTH 1300 ]]

Code: Select all

x = 15, y = 8, rule = B3-y5cr/S234w6n
3b2o2b2o3b2o$3b2o2b2o3b2o4$2o2b2o$2obo2bo2b2o2b2o$4b2o3b2o2b2o!
Last edited by muzik on March 7th, 2023, 12:18 pm, edited 1 time in total.

User avatar
muzik
Posts: 5614
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » August 13th, 2019, 6:01 pm

Also, shouldn't killgliders be greyed out for rules with more than two states (excluding lifehistory) and non-moore rules?

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

Re: Pattern viewer for forum threads

Post by rowett » August 14th, 2019, 8:51 am

muzik wrote:Could a button be added that instantly kills all history cells within the active pattern?
On reflection it might be better to just not display history states when editing or selecting. Thoughts?

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

Re: Pattern viewer for forum threads

Post by dvgrn » August 14th, 2019, 9:15 am

rowett wrote:
muzik wrote:Could a button be added that instantly kills all history cells within the active pattern?
On reflection it might be better to just not display history states when editing or selecting. Thoughts?
I definitely wouldn't vote for that. Placing patterns by aligning their LifeHistory envelopes is a big part of my usual editing workflow.

Conversely, a keyboard shortcut that kills LifeHistory cells inside a selection is, for me, one of the biggest things that's still missing from Golly's editing system. I should have added some kind of ToChangeColors.lua script a long time ago, but haven't quite figured out what exactly I want to add.

User avatar
muzik
Posts: 5614
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » August 14th, 2019, 9:39 am

There might be a few aliases currently on Catagolue but aren't on LifeViewer yet, so it might be worth checking if there are any more: https://catagolue.appspot.com/census/r5b31t42s34t53

It looks like there's been a lot of aliases invented over the past year, so I may just have a bunch of work ahead of me to document them all.

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

Re: Pattern viewer for forum threads

Post by rowett » August 14th, 2019, 11:41 am

dvgrn wrote:
rowett wrote:On reflection it might be better to just not display history states when editing or selecting. Thoughts?
I definitely wouldn't vote for that. Placing patterns by aligning their LifeHistory envelopes is a big part of my usual editing workflow.
I meant the LifeViewer history cells not LifeHistory.
dvgrn wrote:Conversely, a keyboard shortcut that kills LifeHistory cells inside a selection is, for me, one of the biggest things that's still missing from Golly's editing system. I should have added some kind of ToChangeColors.lua script a long time ago, but haven't quite figured out what exactly I want to add.
Good idea I’ll add the ability to change all cells of a particular state.

fluffykitty
Posts: 1175
Joined: June 14th, 2014, 5:03 pm
Contact:

Re: Pattern viewer for forum threads

Post by fluffykitty » August 14th, 2019, 6:47 pm

Feature request: Only display on steps that are a multiple of x (useful for strobing rules)

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

Re: Pattern viewer for forum threads

Post by rowett » August 15th, 2019, 2:13 am

fluffykitty wrote:Feature request: Only display on steps that are a multiple of x (useful for strobing rules)
Is setting the STEP size to a higher value not good enough?

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

Re: Pattern viewer for forum threads

Post by rowett » August 15th, 2019, 3:48 am

Build 379 is now live on the Forums and LifeWiki

Please note: you will need to refresh your browser to use the new build (Ctrl-F5 on Chrome)

Enhancements since the last released build:
  • replaced Theme slider with a Theme button that opens a page of buttons to select the required theme
  • hotkeys Alt+"0" to Alt+"9" select drawing states when in Draw mode
  • hotkey "Del" clears all cells of the current drawing state when in Draw mode
  • hotkey Shift+"Del" clears [R]History cells
Fixes since the last released build:
  • hide POI Previous/Next buttons when Settings menu is displayed
  • grey out Kill button unless rule is 2-state Moore
  • ensure PopUp Viewer is right aligned
The updated hotkey map detailing the LifeViewer keyboard controls is here.

Comments, feedback, suggestions and bug reports welcome!

Gamedziner
Posts: 795
Joined: May 30th, 2016, 8:47 pm
Location: Milky Way Galaxy: Planet Earth

Re: Pattern viewer for forum threads

Post by Gamedziner » August 15th, 2019, 8:00 am

rowett wrote:
fluffykitty wrote:Feature request: Only display on steps that are a multiple of x (useful for strobing rules)
Is setting the STEP size to a higher value not good enough?
When lag starts to occur, the STEP size is bypassed. Perhaps there can be a toggle to make it bypass the steps per second instead.

Code: Select all

x = 81, y = 96, rule = LifeHistory
58.2A$58.2A3$59.2A17.2A$59.2A17.2A3$79.2A$79.2A2$57.A$56.A$56.3A4$27.
A$27.A.A$27.2A21$3.2A$3.2A2.2A$7.2A18$7.2A$7.2A2.2A$11.2A11$2A$2A2.2A
$4.2A18$4.2A$4.2A2.2A$8.2A!

User avatar
muzik
Posts: 5614
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » August 15th, 2019, 8:53 am

Loving the new update!

Is there a "clear everything outside this selection" button? I'd like to see one of these if not.

Also, can the kill all history cells hotkey have a button that does that inside the viewer for devices without keyboards?

Will the fading effect when switching themes ever come back?

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

Re: Pattern viewer for forum threads

Post by rowett » August 15th, 2019, 9:16 am

Gamedziner wrote:When lag starts to occur, the STEP size is bypassed. Perhaps there can be a toggle to make it bypass the steps per second instead.
I could add a toggle to disable the STEP bypass. It would mean that LifeViewer could get not very responsive for large patterns at high STEP sizes.

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

Re: Pattern viewer for forum threads

Post by rowett » August 15th, 2019, 9:21 am

muzik wrote:Is there a "clear everything outside this selection" button? I'd like to see one of these if not.
It's on the backlog.
muzik wrote:Also, can the kill all history cells hotkey have a button that does that inside the viewer for devices without keyboards?
I'll probably put one in Select mode.
muzk wrote:Will the fading effect when switching themes ever come back?
It's still there if you switch Themes with the keyboard or indeed if a Waypoint or POI changes Theme. Not getting instant feedback when clicking on a new Theme button felt wrong when I tested it.

User avatar
muzik
Posts: 5614
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » August 15th, 2019, 12:31 pm

Is it just me, or are COLOR OFF, COLOR ON and COLOR HISTORY all redundant? Changing them with scripts doesn't seem to do anything.

Code: Select all

# Type or paste RLE data into this box and click on the View button.
x = 9, y = 5, rule = LifeHistory
$bo3b3o$b3o2bo$2bo!
[[ COLOR ON 255 0 0 COLOR OFF 0 255 0 COLOR HISTORY 0 0 255 COLOR MARK1 0 127 255 COLOR MARKOFF 0 255 255 COLOR MARK2 255 0 255 COLOR KILL 255 255 0 ]]

User avatar
muzik
Posts: 5614
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » August 15th, 2019, 12:39 pm

Also, with hex patterns, history seems pretty bugged:

Code: Select all

x = 20, y = 20, rule = LifeHistory
4.DF2.A3.DEB.A.C$D.A.B.CADCF.CBCF2.B$AD5.A.BF2.B3.CB$C3.E.E.B.ECD3.A.
2D$2.ECDEBE.F2.D.BFEB$B.DC.A.F6.DBD$2.AC4.F2.FABDC.B.C$5.BDFE.AF4.D.A
E$.F3.ED.B3.A4.B.B$.B2.DA.2FE.EC3.D.F$.EC.A2.CEADAFE.A3C$D2.F.DAEC.E.
B.A.BA.C$EC3.EB2.A5.E.E.A$A2.BAD.C.F.D2.F2.B$BA2.2F2CB.AEF2DF.A.C$D7.
BECF.E4.A$3.AEF.FC2.D.CE3.DC$D.B.C3.CDC.C2.A.F.E$2EADF.F7.F2.B$.DAEC.
DA.A.BD.B.CE!

Code: Select all

x = 20, y = 20, rule = Hex LifeHistory
4.DF2.A3.DEB.A.C$D.A.B.CADCF.CBCF2.B$AD5.A.BF2.B3.CB$C3.E.E.B.ECD3.A.
2D$2.ECDEBE.F2.D.BFEB$B.DC.A.F6.DBD$2.AC4.F2.FABDC.B.C$5.BDFE.AF4.D.A
E$.F3.ED.B3.A4.B.B$.B2.DA.2FE.EC3.D.F$.EC.A2.CEADAFE.A3C$D2.F.DAEC.E.
B.A.BA.C$EC3.EB2.A5.E.E.A$A2.BAD.C.F.D2.F2.B$BA2.2F2CB.AEF2DF.A.C$D7.
BECF.E4.A$3.AEF.FC2.D.CE3.DC$D.B.C3.CDC.C2.A.F.E$2EADF.F7.F2.B$.DAEC.
DA.A.BD.B.CE!

Code: Select all

x = 20, y = 20, rule = B13579YS02468XZLHistory
4.DF2.A3.DEB.A.C$D.A.B.CADCF.CBCF2.B$AD5.A.BF2.B3.CB$C3.E.E.B.ECD3.A.
2D$2.ECDEBE.F2.D.BFEB$B.DC.A.F6.DBD$2.AC4.F2.FABDC.B.C$5.BDFE.AF4.D.A
E$.F3.ED.B3.A4.B.B$.B2.DA.2FE.EC3.D.F$.EC.A2.CEADAFE.A3C$D2.F.DAEC.E.
B.A.BA.C$EC3.EB2.A5.E.E.A$A2.BAD.C.F.D2.F2.B$BA2.2F2CB.AEF2DF.A.C$D7.
BECF.E4.A$3.AEF.FC2.D.CE3.DC$D.B.C3.CDC.C2.A.F.E$2EADF.F7.F2.B$.DAEC.
DA.A.BD.B.CE!

Also try drawing with the lifehistory exclusive cell types, it's similarly buggy.

Zooming out shows the real cells.

User avatar
muzik
Posts: 5614
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » August 15th, 2019, 1:48 pm

Here's a more accurate colour scheme for MCell Theme Generations. It's still not perfect since it's supposed to cut off and loop every 32 generations but this is what we can do so far.

Code: Select all

x = 3, y = 5, rule = 1456/2356/16
.2A4$2A!
[[ COLOR BACKGROUND 0 0 0 COLOR ALIVE 255 255 0 COLOR DYING 255 255 0 COLOR DEAD 0 0 0 COLOR GRID 64 0 0 COLOR GRIDMAJOR 99 3 1 GRIDMAJOR 5 COLOR DYINGRAMP 0 255 0 ]]

EDIT: There also doesn't seem to be any info on DYING or DYINGRAMP in the help section for colours.

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

Re: Pattern viewer for forum threads

Post by rowett » August 15th, 2019, 3:01 pm

muzik wrote:There also doesn't seem to be any info on DYING or DYINGRAMP in the help section for colours.
The info is in "Help"->"Themes"->"Multi".

User avatar
muzik
Posts: 5614
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » August 15th, 2019, 3:02 pm

rowett wrote:
muzik wrote:There also doesn't seem to be any info on DYING or DYINGRAMP in the help section for colours.
The info is in "Help"->"Themes"->"Multi".
Shouldn't it also be in the scripting section, though? It seems to be absent from there.

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

Re: Pattern viewer for forum threads

Post by rowett » August 15th, 2019, 3:04 pm

Build 380 is now live on the Forums and LifeWiki

Please note: you will need to refresh your browser to use the new build (Ctrl-F5 on Chrome)

Enhancements since the last released build:
  • hotkey Alt+"T" to toggle playback throttling
  • updated MCell multi-state Theme
Fixes since the last released build:
  • [R]History COLOR commands were being ignored
  • hexagons and triangles were ignoring [R]History colours
The updated hotkey map detailing the LifeViewer keyboard controls is here.

Comments, feedback, suggestions and bug reports welcome!

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

Re: Pattern viewer for forum threads

Post by rowett » August 15th, 2019, 3:07 pm

muzik wrote:
rowett wrote:
muzik wrote:There also doesn't seem to be any info on DYING or DYINGRAMP in the help section for colours.
The info is in "Help"->"Themes"->"Multi".
Shouldn't it also be in the scripting section, though? It seems to be absent from there.
It's there now - well spotted!

User avatar
muzik
Posts: 5614
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » August 15th, 2019, 5:30 pm

Bit of a stupid nitpick here, but killgliders should probably not be greyed out here:

Code: Select all

x = 36, y = 9, rule = R1,C0,M0,S2..3,B3..3,NM
26bo$26bobo$9bo17bobo$9b2o16bo2bo3b2o$4b2o4b2o15bobo4b2o$2o2b2o4b3o13b
obo$2o2b2o4b2o7bobo4bo$9b2o9b2o$9bo10bo!

Code: Select all

x = 36, y = 9, rule = B3/S23
26bo$26bobo$9bo17bobo$9b2o16bo2bo3b2o$4b2o4b2o15bobo4b2o$2o2b2o4b3o13b
obo$2o2b2o4b2o7bobo4bo$9b2o9b2o$9bo10bo!
Also can the aliases be updated? There's some on the catagolue lit that aren't in lifeviewer yet.

(2^10th reply!)

Post Reply