Page 13 of 137

Re: Pattern viewer for forum threads

Posted: September 10th, 2017, 7:27 am
by Gamedziner
rowett wrote:Correct, LtL is not yet complete in LifeViewer.
Any estimate as to how long that will take?

Re: Pattern viewer for forum threads

Posted: October 26th, 2017, 9:57 am
by Cclee
how close are we to getting LtL in life viewer. it has been over a year since it was first asked

Re: Pattern viewer for forum threads

Posted: October 26th, 2017, 11:16 am
by rowett
Hopefully in a few weeks. I've been busy.

Re: Pattern viewer for forum threads

Posted: October 26th, 2017, 1:47 pm
by Cclee
rowett wrote:Hopefully in a few weeks. I've been busy.
YOY. Can’t wait

Re: Pattern viewer for forum threads

Posted: November 16th, 2017, 2:38 pm
by dvgrn
Electro_blob wrote:How exactly do you make patterns in this thing?
Probably start by creating a pattern in Golly, or editing an existing one. Select and copy (Ctrl+C) the pattern. Or do anything that will produce RLE text or ASCII picture-format text.

For the ASCII case, here's an example: let's see if I can build a loafer pattern freehand from memory. Here's how I remember it -- a loaf, a glider, and an eater:

Code: Select all

.......*.
.**..*.*.
*..*..**.
.*.*.....
..*......
........*
......***
.....*...
.....**..
Then I move the tail end of the glider one cell diagonally, and adjust the mouth of the eater a little bit, et voilà! (Or "and viola!", as they say on the Intertubes... I've also seen "wa-la" and "wah-lah". But I digress.)

You can build your own patterns with periods and asterisks (or O's), the same way. Paste your pattern into a message, select it, and click the "Code" or "viewer" button at the top of the message text field, to tell lv-plugin.js to display your pattern appropriately:

Code: Select all

.OO..O.OO
O..O..OO.
.O.O.....
..O......
........O
......OOO
.....O...
......O..
.......OO
If you use RLE format copied from Golly, you can add scripting commands. Type H in LifeViewer for a summary of the available commands (you have to scroll down a bit). Or hit Reply to this message to see the exact text that produces what you see here:

Code: Select all

x = 9, y = 9, rule = B3/S23
b2o2bob2o$o2bo2b2o$bobo$2bo$8bo$6b3o$5bo$6bo$7b2o!
#C [[ AUTOSTART GPS 7 TRACK -1/7 0 THUMBNAIL GRID THEME 4 ]]

Re: Pattern viewer for forum threads

Posted: November 16th, 2017, 2:59 pm
by Electro_blob
Thank you allot. I think I'm starting to understand. Why are there $'s and numbers? For example in,

Code: Select all

x = 9, y = 9, rule = B3/S23
b2o2bob2o$o2bo2b2o$bobo$2bo$8bo$6b3o$5bo$6bo$7b2o!
#C [[ AUTOSTART GPS 7 TRACK -1/7 0 THUMBNAIL GRID THEME 4 ]]
if it is just binary?

Re: Pattern viewer for forum threads

Posted: November 16th, 2017, 3:04 pm
by dvgrn
Electro_blob wrote:Thank you allot. I think I'm starting to understand. Why are there $'s and numbers... if it is just binary?
Unlike the simple ASCII format with periods and asterisks, RLE format is not just binary ON/OFF -- or rather, it's a moderately compressed encoding of it. See Run Length Encoded.

Re: Pattern viewer for forum threads

Posted: November 16th, 2017, 3:07 pm
by Electro_blob
Electro_blob wrote:Thank you allot. I think I'm starting to understand. Why are there $'s and numbers? For example in,

Code: Select all

x = 9, y = 9, rule = B3/S23
b2o2bob2o$o2bo2b2o$bobo$2bo$8bo$6b3o$5bo$6bo$7b2o!
#C [[ AUTOSTART GPS 7 TRACK -1/7 0 THUMBNAIL GRID THEME 4 ]]
if it is just binary?
Never mind. I just read an article on how this works and it makes sense now. Here's the article if anyone else wants to use it
http://golly.sourceforge.net/Help/formats.html
Thank you allot for suffering through my ignorance.

Re: Pattern viewer for forum threads

Posted: December 23rd, 2017, 5:17 pm
by lifeisawesome
11-59 fps is actually 10 fps, slowly increasing to 20 fps.

Re: Pattern viewer for forum threads

Posted: December 23rd, 2017, 6:02 pm
by rowett
lifeisawesome wrote:11-59 fps is actually 10 fps, slowly increasing to 20 fps.
When you set the fps you are setting the target fps. The actual fps will depend on the power of your computer and the complexity and size of the pattern. If LifeViewer can't meet the target it will draw the fps background in red.

Re: Pattern viewer for forum threads

Posted: January 18th, 2018, 4:06 am
by wildmyron
There's a bug in LifeViewer's handling of negative coord values in #CXRLE lines for rules on bounded grids. See here for test case and details.

I'd also like to mention that there's a little quirk in the panning behaviour which is a bit frustrating, but not enough for me to have reported it before now. It seems that the step for panning is independent of the zoom, so even for very large patterns and -ve Zoom values the view only shifts by one cell in response to the arrow keys. Panning would be much more useful if the step was zoom dependent.

Re: Pattern viewer for forum threads

Posted: January 19th, 2018, 11:08 pm
by rowett
wildmyron wrote:There's a bug in LifeViewer's handling of negative coord values in #CXRLE lines for rules on bounded grids.
Thanks for reporting! I'll take a look.
wildmyron wrote:Panning would be much more useful if the step was zoom dependent.
This is fixed and will be in the next released build.

Re: Pattern viewer for forum threads

Posted: January 19th, 2018, 11:21 pm
by wildmyron
@rowett: that's great, thank you very much.

Re: Pattern viewer for forum threads

Posted: January 24th, 2018, 11:42 pm
by 77topaz
rowett wrote:When you set the fps you are setting the target fps. The actual fps will depend on the power of your computer and the complexity and size of the pattern. If LifeViewer can't meet the target it will draw the fps background in red.
When I use LifeViewer, it behaves slightly differently: the background of the FPS box is always red when a pattern is running, even at just 1 FPS. However, at large step sizes for complex patterns that the system can't seem to keep up with, I see the background of the step size box flashing.

Re: Pattern viewer for forum threads

Posted: January 25th, 2018, 2:11 am
by rowett
77topaz wrote:
rowett wrote:When you set the fps you are setting the target fps. The actual fps will depend on the power of your computer and the complexity and size of the pattern. If LifeViewer can't meet the target it will draw the fps background in red.
When I use LifeViewer, it behaves slightly differently: the background of the FPS box is always red when a pattern is running, even at just 1 FPS. However, at large step sizes for complex patterns that the system can't seem to keep up with, I see the background of the step size box flashing.
To keep the UI responsive LifeViewer has a maximum time it will allow between updates. If STEP is flashing it means LifeViewer performed less generations than set in the STEP box to keep up.

Re: Pattern viewer for forum threads

Posted: March 3rd, 2018, 2:07 am
by rowett
Build 238 is now live on the Forums and LifeWiki

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

Enhancements since the last released build:
  • improved POI capability
    • you can now specify any of the following settings at each POI
      • [[ X Y ZOOM ANGLE LAYERS DEPTH GPS STEP THEME LOOP STOP ]]
    • you can also specify actions at each POI
      • [[ POIRESET ]] - reset playback to T = 0
      • [[ POIPLAY ]] - continue playback from current generation
      • [[ POISTOP ]] - pause playback
      • [[ POIT <generation> ]] - skip to defined generation
    • [[ POITRANS 0..200 ]] specifies the transition speed to the POI in frames (1/60ths of a second)
      • 0 means instantaneous transition
      • if not specified then the default is 12
    • a POI will only change the settings that are defined and other settings are left unmodified
    • the initial settings are the default settings for LifeViewer and can be overridden with script commands before any POI definition
    • added script keyword [[ INITIAL ]] that can be used in a POI definition
      • [[ ALL INITIAL ]] makes all settings for the POI the same as the initial settings
        • the required settings can then be overridden e.g. [[ POI ALL INITIAL ZOOM 4 ]] copies all and overrides ZOOM
      • [[ X|Y|ZOOM|ANGLE|LAYERS|DEPTH|GPS|STEP|THEME|LOOP|STOP INITIAL ]] copies the initial setting of the defined parameter into the POI
        • [[ POI X INITIAL Y INITIAL ]] sets X and Y from the initial and leaves everything else unchanged
      • [[ POI INITIAL ]] makes the defined POI the default on pattern load rather than the initial settings (note this does not change the initial settings for copying)
  • Pattern decoders
    • added support for Hex and von Neumann neighbourhoods to MAP rules
    • MAP rules now allow base64 padding
    • Life 1.05 format patterns now support all rules including bounded grids
  • Script commands
    • new script command [[ SUPPRESS ]] which suppresses overwrite error message for duplicate definitions once
    • [[ WIDTH ]] and [[ HEIGHT ]] are now checked for duplicate definitions
    • [[ STOP ]] and [[ LOOP ]] can now take the parameter [[ OFF ]] to disable them (useful for POI definitions)
    • [[ STOP ]] and [[ LOOP ]] tooltips now show generation
    • [[ NOSOURCE ]] now also hides the "CODE : SELECT ALL" line on the forum
  • UI
    • hotkeys alt and "1" to alt and "9" will switch to respective POIs (if defined)
    • hotkey shift and "c" now cycles backwards through colour Themes
    • hotkey alt and "c" selects the default Theme
    • panning with the cursor keys is faster when zoomed out
    • hotkey shift and "l" will toggle LOOP mode if defined
    • help information now marks current POI with *
  • General
    • whitespace at the beginning of lines is now removed before copying patterns to the clipboard
Fixes since the last released build:
  • Pattern decoders
    • rules in the format SnnBnn were being decoded with S and B transposed
    • non-totalistic rules with repeated neighbour counts were decoded incorrectly
    • bounded grids were not working correctly with CXRLE POS
  • UI
    • copy pattern source (hotkey "c") was not working correctly in the standalone Viewer
    • LifeHistory patterns were not respecting Themes at generation 0
    • updated event handling for the UI to handle spurious mouseleave events posted when both mouseup and mousedown happen between updates
    • if there were more script errors than could fit on one page of the Viewer then the last error could not be scrolled to
    • LOOP was performing a camera reset when LOOP enabled after the LOOP generation
  • General
    • Waypoint error messages were showing incorrect sign when overwriting X or Y camera positions
    • an error could be generated about XOFFSET and YOFFSET when they weren't specified
The updated hotkey map detailing the LifeViewer keyboard controls is here.

Comments, feedback, suggestions and bug reports welcome!

Re: Pattern viewer for forum threads

Posted: March 3rd, 2018, 2:47 am
by Saka
So no LTL yet?

Re: Pattern viewer for forum threads

Posted: March 3rd, 2018, 3:21 am
by rowett
Saka wrote:So no LTL yet?
No, it's not finished yet. LTL patterns get successfully decoded and validated. I just haven't finished the runtime. And no, I'm not sure how long that will take.

Thanks for asking :)

Re: Pattern viewer for forum threads

Posted: March 3rd, 2018, 2:55 pm
by Cclee
rowett wrote:
Saka wrote:So no LTL yet?
No, it's not finished yet. LTL patterns get successfully decoded and validated. I just haven't finished the runtime. And no, I'm not sure how long that will take.

Thanks for asking :)
well closer than before so yay

Re: Pattern viewer for forum threads

Posted: March 3rd, 2018, 3:56 pm
by rowett
Build 239 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 LifeHistory states 2 and 6 that were broken by the previous release
Comments, feedback, suggestions and bug reports welcome!

Re: Pattern viewer for forum threads

Posted: March 3rd, 2018, 5:01 pm
by 77topaz
rowett wrote:Build 239 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 LifeHistory states 2 and 6 that were broken by the previous release
Comments, feedback, suggestions and bug reports welcome!
I'm getting some slightly annoying behaviour that I didn't get previously: when I drag the GPS or x sliders, and I drag one all the way to the end so my mouse cursor ends up above the other slider, it automatically selects that slider when I release my mouse, which means I keep adjusting the GPS unintentionally while changing the x, and vice versa.

Re: Pattern viewer for forum threads

Posted: March 3rd, 2018, 5:31 pm
by rowett
77topaz wrote:I'm getting some slightly annoying behaviour that I didn't get previously: when I drag the GPS or x sliders, and I drag one all the way to the end so my mouse cursor ends up above the other slider, it automatically selects that slider when I release my mouse, which means I keep adjusting the GPS unintentionally while changing the x, and vice versa.
Thanks for reporting!

I believe I have fixed the issue.

Please test it here and let me know if it's working as you expect.
You may need to refresh your browser on the test page to get the new build. Click the Help button on the Viewer and it should say Build 240.

Re: Pattern viewer for forum threads

Posted: March 3rd, 2018, 6:39 pm
by 77topaz
rowett wrote:Thanks for reporting!

I believe I have fixed the issue.

Please test it here and let me know if it's working as you expect.
You may need to refresh your browser on the test page to get the new build. Click the Help button on the Viewer and it should say Build 240.
Yep, it's working correctly now. Thanks! :D

Re: Pattern viewer for forum threads

Posted: March 14th, 2018, 7:19 pm
by fluffykitty
Bug: 60gps is a lot faster than 59gps.

Re: Pattern viewer for forum threads

Posted: March 15th, 2018, 3:59 am
by rowett
fluffykitty wrote:Bug: 60gps is a lot faster than 59gps.
Thanks for reporting!