ConwayLife.com - A community for Conway's Game of Life and related cellular automata
Home  •  LifeWiki  •  Forums  •  Download Golly

Pattern viewer for forum threads

For discussion directly related to ConwayLife.com, such as requesting changes to how the forums or wiki function.

Re: Pattern viewer for forum threads

Postby Ian07 » March 19th, 2019, 5:13 pm

What happened to the copy function? Everything I try to copy instead gives me this and says "Copy complete" instead of "Copied to Clipboard":
x = 20, y = 2, rule = B3/S23
10o4bo$13obob4o!
Ian07
 
Posts: 242
Joined: September 22nd, 2018, 8:48 am

Re: Pattern viewer for forum threads

Postby dvgrn » March 19th, 2019, 10:09 pm

Ian07 wrote:What happened to the copy function? Everything I try to copy instead gives me this and says "Copy complete" instead of "Copied to Clipboard":
x = 20, y = 2, rule = B3/S23
10o4bo$13obob4o!

Hm, that doesn't match what I see. I mean, "Copy Complete" is now what you'll usually see -- there's a potential for a two-stage copy, where LifeViewer does the work and then you have to click a button to confirm. This is because Ctrl+C now copies the current generation that's in the viewer, not the original pattern -- and a pattern that has run for a while is often a lot more RLE than the original pattern. Ctrl+Shift+C copies the original pattern, and Ctrl+Alt+C copies the current pattern but also includes comments.

Is that strange two-line pattern what you get when you do Ctrl+C but paste the text here, directly into a code box in a message? It almost looks more like a couple of lines of text pasted into Golly, like it's actually an error message or some such.
User avatar
dvgrn
Moderator
 
Posts: 5711
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI

Re: Pattern viewer for forum threads

Postby wildmyron » March 19th, 2019, 10:50 pm

Copy doesn't seem to do anything when I'm using Firefox - i.e. no change to the clipboard at all. I didn't report this initially because I thought it was due to the old version of Firefox I was using (v60.5.2 esr on Win10 x64). I've just tested with Firefox v65.0 on Linux and Copy fails there as well. Working fine on Chrome v67.0, Win10 x64.
The latest version of the 5S Project contains over 150,000 spaceships. Tabulated pages up to period 160 are available on the LifeWiki.
wildmyron
 
Posts: 1165
Joined: August 9th, 2013, 12:45 am

Re: Pattern viewer for forum threads

Postby rowett » March 20th, 2019, 1:23 am

Ian07 wrote:What happened to the copy function? Everything I try to copy instead gives me this and says "Copy complete" instead of "Copied to Clipboard":
x = 20, y = 2, rule = B3/S23
10o4bo$13obob4o!

Please let me know which operating system version and browser version you are using. Also please paste the output into a text editor so I can see any message.
User avatar
rowett
Moderator
 
Posts: 1452
Joined: January 31st, 2013, 2:34 am
Location: UK

Re: Pattern viewer for forum threads

Postby rowett » March 20th, 2019, 1:30 am

wildmyron wrote:Copy doesn't seem to do anything when I'm using Firefox - i.e. no change to the clipboard at all. I didn't report this initially because I thought it was due to the old version of Firefox I was using (v60.5.2 esr on Win10 x64). I've just tested with Firefox v65.0 on Linux and Copy fails there as well. Working fine on Chrome v67.0, Win10 x64.

I believe this is now fixed on Firefox. Please try this test page and let me know your results:
  • Let the pattern run until generation 100 (which it will do automatically)
  • Click on the LifeViewer window and Press Ctrl-C and then wait while "Copying..."
  • When prompted "Press Enter to complete copy"
  • You will then see "Copy Complete"
  • Now paste this copy into a text editor and you should see RLE that starts with "x = 4165, y = 4134, ..."
  • Now click on the LifeViewer window and press Ctrl-Shift-C
  • You should see "Copy Complete"
  • Paste this new copy into a text editor and you should see RLE that starts with "x = 165, y = 134, ..."

EDIT: Fixed instructions
User avatar
rowett
Moderator
 
Posts: 1452
Joined: January 31st, 2013, 2:34 am
Location: UK

Re: Pattern viewer for forum threads

Postby wildmyron » March 20th, 2019, 2:27 am

rowett wrote:Please try this test page and let me know your results:
  • Let the pattern run until generation 100 (which it will do automatically)
  • Click on the LifeViewer window and Press Ctrl-C and then wait while "Copying..."
  • When prompted "Press Enter to complete copy"
  • You will then see "Copy Complete"
  • Now paste this copy into a text editor and you should see RLE that starts with "x = 4165, y = 4134, ..."

This works correctly (Fx 60.5, Win10 x64).
rowett wrote:
  • Now click on the LifeViewer window and press Ctrl-Alt-C
  • You should see "Copy Complete"
  • Paste this new copy into a text editor and you should see RLE that starts with "x = 165, y = 134, ..."

  • I think you meant Ctrl-Shift-C. In that case, yes, this also works correctly.
    The latest version of the 5S Project contains over 150,000 spaceships. Tabulated pages up to period 160 are available on the LifeWiki.
    wildmyron
     
    Posts: 1165
    Joined: August 9th, 2013, 12:45 am

    Re: Pattern viewer for forum threads

    Postby rowett » March 20th, 2019, 2:34 am

    wildmyron wrote:I think you meant Ctrl-Shift-C. In that case, yes, this also works correctly.

    I did indeed. Thanks for checking!
    User avatar
    rowett
    Moderator
     
    Posts: 1452
    Joined: January 31st, 2013, 2:34 am
    Location: UK

    Re: Pattern viewer for forum threads

    Postby muzik » March 20th, 2019, 9:35 am

    Can non-isotropic aliases be added? There's a few of them in the last few pages of this thread.
    Bored of using the Moore neighbourhood for everything? Introducing the Range-2 von Neumann isotropic non-totalistic rulespace!
    muzik
     
    Posts: 3310
    Joined: January 28th, 2016, 2:47 pm
    Location: Scotland

    Re: Pattern viewer for forum threads

    Postby Ian07 » March 21st, 2019, 3:22 pm

    When rewinding after a pattern dies out, the final spark toggles back and forth:
    x = 2, y = 2, rule = B3/S23
    bo$o!
    Ian07
     
    Posts: 242
    Joined: September 22nd, 2018, 8:48 am

    Re: Pattern viewer for forum threads

    Postby muzik » March 21st, 2019, 5:16 pm

    Will rotating hexagonal grids ever be supported? I've wanted the option to have hexagons lying flat, as they are on the wiki, instead of with a vertex pointing down.

    ---

    Implementing a triangular grid preliminarily before adding in actual triangular rules, just so we can see how it would work and how it would handle pattern RLEs initially drawn on a square grid, could be helpful in preparation. If triangular rules will be handled using 2 states instead of 4 (which is preferable), then this could be the triangular Moore neighbourhood:
    x = 5, y = 5, rule = B3aeij4aejrtw5-ejkr6-e78/S23
    bo$4o$bobo$b4o$3bo!
    Bored of using the Moore neighbourhood for everything? Introducing the Range-2 von Neumann isotropic non-totalistic rulespace!
    muzik
     
    Posts: 3310
    Joined: January 28th, 2016, 2:47 pm
    Location: Scotland

    Re: Pattern viewer for forum threads

    Postby rowett » March 22nd, 2019, 3:45 am

    muzik wrote:Will rotating hexagonal grids ever be supported? I've wanted the option to have hexagons lying flat, as they are on the wiki, instead of with a vertex pointing down.

    Probably not since they sit on the offset square grid which only works one way.

    muzik wrote:Implementing a triangular grid preliminarily

    Not now. If I get to triangular rules I'll implement the grid then.
    User avatar
    rowett
    Moderator
     
    Posts: 1452
    Joined: January 31st, 2013, 2:34 am
    Location: UK

    Re: Pattern viewer for forum threads

    Postby rowett » March 22nd, 2019, 4:08 am

    Ian07 wrote:When rewinding after a pattern dies out, the final spark toggles back and forth:
    x = 2, y = 2, rule = B3/S23
    bo$o!

    This has been fixed. Thanks for reporting!
    User avatar
    rowett
    Moderator
     
    Posts: 1452
    Joined: January 31st, 2013, 2:34 am
    Location: UK

    Re: Pattern viewer for forum threads

    Postby rowett » March 22nd, 2019, 4:10 am

    Build 316 is now live on the Forums and LifeWiki

    Please note: you will need to refresh your browser to use the new build

    Fixes since the last released build:
    • fixed single phase Copy on Firefox
    • fixed step back after pattern dies
    The updated hotkey map detailing the LifeViewer keyboard controls is here.

    Comments, feedback, suggestions and bug reports welcome!
    User avatar
    rowett
    Moderator
     
    Posts: 1452
    Joined: January 31st, 2013, 2:34 am
    Location: UK

    Re: Pattern viewer for forum threads

    Postby muzik » March 22nd, 2019, 5:15 am

    Can the draw button be greyed out on invalid patterns instead of giving an error message?
    Bored of using the Moore neighbourhood for everything? Introducing the Range-2 von Neumann isotropic non-totalistic rulespace!
    muzik
     
    Posts: 3310
    Joined: January 28th, 2016, 2:47 pm
    Location: Scotland

    Re: Pattern viewer for forum threads

    Postby rowett » March 22nd, 2019, 5:25 am

    muzik wrote:Can the draw button be greyed out on invalid patterns instead of giving an error message?

    Yes it's on the backlog.
    User avatar
    rowett
    Moderator
     
    Posts: 1452
    Joined: January 31st, 2013, 2:34 am
    Location: UK

    Re: Pattern viewer for forum threads

    Postby muzik » March 29th, 2019, 9:36 am

    Just saw the triangular test. Excited.

    The spacing between cells seems a bit off, though (especially easy to see with history).
    Bored of using the Moore neighbourhood for everything? Introducing the Range-2 von Neumann isotropic non-totalistic rulespace!
    muzik
     
    Posts: 3310
    Joined: January 28th, 2016, 2:47 pm
    Location: Scotland

    Re: Pattern viewer for forum threads

    Postby muzik » March 29th, 2019, 10:03 am

    A few more things:

    - Can the current triangular Moore neighbourhood have its extension changed to TM, and the triangular von Neumann neighbourhood made to use T instead, for consistency with Tim Hutton's FredkinModN.py script (if I remember correctly)?
    x = 3, y = 2, rule = B/S0123456789ABCT
    bo$obo!

    - Can LifeViewer be made to convert TriLife rules into its own 2-state rule format when loading them?
    viewtopic.php?f=11&t=960&p=7019#p7016
    - Will we be able to deactivate the triangular grid for triangular rules/activate it for non-triangular rules like with hexagons?
    - Will triangular neighbourhoods for LTL be considered?
    - Can an option to add spacing around the triangles and squares like the hexagons currently have be added (as well as an option to expand the hexagons so they touch)?
    Bored of using the Moore neighbourhood for everything? Introducing the Range-2 von Neumann isotropic non-totalistic rulespace!
    muzik
     
    Posts: 3310
    Joined: January 28th, 2016, 2:47 pm
    Location: Scotland

    Re: Pattern viewer for forum threads

    Postby rowett » March 29th, 2019, 12:32 pm

    muzik wrote:Just saw the triangular test. Excited.

    The spacing between cells seems a bit off, though (especially easy to see with history).

    Yes I'm still working on it.
    User avatar
    rowett
    Moderator
     
    Posts: 1452
    Joined: January 31st, 2013, 2:34 am
    Location: UK

    Re: Pattern viewer for forum threads

    Postby muzik » March 29th, 2019, 1:47 pm

    Will major gridlines be added for triangular rules?
    Bored of using the Moore neighbourhood for everything? Introducing the Range-2 von Neumann isotropic non-totalistic rulespace!
    muzik
     
    Posts: 3310
    Joined: January 28th, 2016, 2:47 pm
    Location: Scotland

    Re: Pattern viewer for forum threads

    Postby danny » March 29th, 2019, 2:02 pm

    I have one minor request, when you draw it should halt the lifeviewer and then continue when you release, it shouldn't be hard to implement...
    she/they // Please stop using my full name. Refer to me as dani.

    "I'm always on duty, even when I'm off duty." -Cody Kolodziejzyk, Ph.D.
    User avatar
    danny
     
    Posts: 953
    Joined: October 27th, 2017, 3:43 pm
    Location: New Jersey, USA

    Re: Pattern viewer for forum threads

    Postby muzik » March 29th, 2019, 2:55 pm

    Found a way to make cells invisible:
    x = 11, y = 6, rule = B13579B/S13579BT
    o3b3obo$o3bobobo$o3bobobo$o3bobobo$o3bobobo$3ob3ob3o!
    [[ SQUARECELLS HEXDISPLAY ]]
    Bored of using the Moore neighbourhood for everything? Introducing the Range-2 von Neumann isotropic non-totalistic rulespace!
    muzik
     
    Posts: 3310
    Joined: January 28th, 2016, 2:47 pm
    Location: Scotland

    Re: Pattern viewer for forum threads

    Postby rowett » March 30th, 2019, 4:52 am

    muzik wrote:Can the current triangular Moore neighbourhood have its extension changed to TM, and the triangular von Neumann neighbourhood made to use T instead, for consistency with Tim Hutton's FredkinModN.py script (if I remember correctly)?

    Yes it's already on the backlog.

    muzik wrote:Can LifeViewer be made to convert TriLife rules into its own 2-state rule format when loading them?

    Possibly but low priority if so.

    muzik wrote:Will we be able to deactivate the triangular grid for triangular rules/activate it for non-triangular rules like with hexagons?

    It probably doesn't make sense since the square grid for 2-state triangular rules isn't helpful. With the hexagonal grid we just change how each cell is drawn (cell or hexagon) but the neighbourhood and grid are correct.

    muzik wrote:Will triangular neighbourhoods for LTL be considered?

    Not planned.

    muzik wrote:Can an option to add spacing around the triangles and squares like the hexagons currently have be added (as well as an option to expand the hexagons so they touch)?

    Yes it's on the backlog.
    User avatar
    rowett
    Moderator
     
    Posts: 1452
    Joined: January 31st, 2013, 2:34 am
    Location: UK

    Re: Pattern viewer for forum threads

    Postby rowett » March 30th, 2019, 4:53 am

    muzik wrote:Will major gridlines be added for triangular rules?

    Not planned.
    User avatar
    rowett
    Moderator
     
    Posts: 1452
    Joined: January 31st, 2013, 2:34 am
    Location: UK

    Re: Pattern viewer for forum threads

    Postby rowett » March 30th, 2019, 4:54 am

    danny wrote:I have one minor request, when you draw it should halt the lifeviewer and then continue when you release

    Yes it will be an option.
    User avatar
    rowett
    Moderator
     
    Posts: 1452
    Joined: January 31st, 2013, 2:34 am
    Location: UK

    Re: Pattern viewer for forum threads

    Postby rowett » March 30th, 2019, 4:58 am

    muzik wrote:Found a way to make cells invisible:
    x = 11, y = 6, rule = B13579B/S13579BT
    o3b3obo$o3bobobo$o3bobobo$o3bobobo$o3bobobo$3ob3ob3o!
    [[ SQUARECELLS HEXDISPLAY ]]

    Fixed, thanks.
    User avatar
    rowett
    Moderator
     
    Posts: 1452
    Joined: January 31st, 2013, 2:34 am
    Location: UK

    PreviousNext

    Return to Website Discussion

    Who is online

    Users browsing this forum: No registered users and 1 guest