Life tag testing

For scripts to aid with computation or simulation in cellular automata.
Locked
User avatar
dvgrn
Moderator
Posts: 12053
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI
Contact:

Re: Life tag testing

Post by dvgrn »

rowett wrote: April 12th, 2020, 4:40 pmI think it is working. The first glider appears on the second lane at T=2559 (as in the script, and not 2259 as you wrote above. The second glider appears on that lane at T=7038 which is 2559 + 4479 = 7038 (again, as specified in the script).
Oh, good Golly. Yeah, I just forgot and wrote my slow-salvo data collector script to produce a series of absolute timestamps, instead of deltas between successive paste times. Thanks for the reminder...!

Code: Select all

x = 291, y = 292, rule = B3/S23
bo$2bo$3o253$260b2o$259bo2bo$260b2o2$256bo$255bobo$255bobo$256bo3$269b
2o$268bo2bo$269b2o2$265bo$264bobo$264bobo$265bo2$279b2o$278bo2bo$279b
2o2$275bo$274bobo$274bobo$275bo3$288b2o$287bo2bo$288b2o2$284bo$283bobo
$283bobo$284bo!
#C [[ STEP 64 ]]
#C [[ RLE glider bo$2bo$3o! ]]
#C [[ PASTET 640 640 640 1280 640 1280 1280 640 640 640 640 640 640 640 640 640 1280 1280 640 640 1280 640 640 640 640 640 640 1280 640 640 640 640 640 640 640 640 640 640 640 640 640 640 640 640 640 640 1280 1280 1280 640 640 640 1280 640 640 1280 640 1280 640 1280 640 640 640 640 640 640 640 640 640 640 640 640 640 640 640 640 1280 640 640 640 1280 640 640 640 640 1280 1280 640 640 640 640 640 1280 640 640 640 640 1280 640 640 640 640 640 640 640 640 640 640 640 640 1280 1280 1280 640 1280 640 640 1280 640 640 1280 640 640 640 640 1280 640 640 640 640 1280 640 640 640 640 1280 640 640 640 640 640 640 640 1280 640 640 640 640 640 640 1280 1280 640 640 640 640 640 640 640 640 640 1280 1280 1280 1280 640 640 ]]
#C [[ PASTE glider 0 0 ]]
#C [[ PASTET 2559 1920 1280 7040 1280 2560 5120 12800 1280 1280 3200 2560 1920 1920 11520 3200 3840 1280 4480 3840 8960 1280 1280 1920 2560 2560 3840 3840 3840 5760 5120 1280 7040 1280 1280 1280 2560 ]]
#C [[ PASTE glider 4 0 ]]
-- Oh, I meant to mention a problem I ran into: when the starting pattern is LifeHistory instead of Life, PASTE fills in the pasted glider with ON cells for some reason. I don't exactly see what the problem has to do with this issue but maybe it's related?

Code: Select all

x = 291, y = 292, rule = LifeHistory
.A$2.A$3A246$283.2D$283.2D6$260.2A$259.A2.A$260.2A2$256.A$255.A.A$
255.A.A$256.A3$269.2A$268.A2.A$269.2A2$265.A$264.A.A$264.A.A$265.A2$
279.2A$278.A2.A$279.2A2$275.A$274.A.A$274.A.A$275.A3$288.2A$287.A2.A$
288.2A2$284.A$283.A.A$283.A.A$284.A!
#C [[ RLE glider bo$2bo$3o! ]]
#C [[ PASTET 640 640 640 1280 640 1280 1280 640 640 640 640 640 640 640 640 640 1280 1280 640 640 1280 640 640 640 640 640 640 1280 640 640 640 640 640 640 640 640 640 640 640 640 640 640 640 640 640 640 1280 1280 1280 640 640 640 1280 640 640 1280 640 1280 640 1280 640 640 640 640 640 640 640 640 640 640 640 640 640 640 640 640 1280 640 640 640 1280 640 640 640 640 1280 1280 640 640 640 640 640 1280 640 640 640 640 1280 640 640 640 640 640 640 640 640 640 640 640 640 1280 1280 1280 640 1280 640 640 1280 640 640 1280 640 640 640 640 1280 640 640 640 640 1280 640 640 640 640 1280 640 640 640 640 640 640 640 1280 640 640 640 640 640 640 1280 1280 640 640 640 640 640 640 640 640 640 1280 1280 1280 1280 640 640 ]]
#C [[ STEP 64 STOP 640 ]]
#C [[ PASTE glider 0 0 ]]
#C [[ PASTET 2559 1920 1280 7040 1280 2560 5120 12800 1280 1280 3200 2560 1920 1920 11520 3200 3840 1280 4480 3840 8960 1280 1280 1920 2560 2560 3840 3840 3840 5760 5120 1280 7040 1280 1280 1280 2560 ]]
#C [[ PASTE glider 4 0 ]]
User avatar
rowett
Moderator
Posts: 4597
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Life tag testing

Post by rowett »

Build 518 is now available on the lazyslug server

Fixes in this build:
  • fixed [R]History 2-state paste
    User avatar
    rowett
    Moderator
    Posts: 4597
    Joined: January 31st, 2013, 2:34 am
    Location: UK
    Contact:

    Re: Life tag testing

    Post by rowett »

    dvgrn wrote: April 12th, 2020, 6:52 pm Oh, I meant to mention a problem I ran into: when the starting pattern is LifeHistory instead of Life, PASTE fills in the pasted glider with ON cells for some reason.
    Fixed your specific issue in build 518.

    For reference [R]History PASTE only works with 2 states. All of the paste modes simply use (source & 1) {logical op} (dest & 1).
    User avatar
    rowett
    Moderator
    Posts: 4597
    Joined: January 31st, 2013, 2:34 am
    Location: UK
    Contact:

    Re: Life tag testing

    Post by rowett »

    If it would be helpful I could add a BOOK Theme to LifeViewer to set the book's colours and GRIDMAJOR setting.
    Then you could replace:

    Code: Select all

    #C [[ GRID GRIDMAJOR 0 COLOR GRID 192 192 192 COLOR DEADRAMP 255 220 192 COLOR ALIVE 0 0 0 COLOR DEAD 192 220 255 COLOR BACKGROUND 255 255 255 ]]
    
    with:

    Code: Select all

    #C [[ GRID THEME BOOK ]] 
    
    User avatar
    dvgrn
    Moderator
    Posts: 12053
    Joined: May 17th, 2009, 11:00 pm
    Location: Madison, WI
    Contact:

    Re: Life tag testing

    Post by dvgrn »

    rowett wrote: April 19th, 2020, 3:00 am If it would be helpful I could add a BOOK Theme to LifeViewer to set the book's colours and GRIDMAJOR setting.
    Then you could replace:

    Code: Select all

    #C [[ GRID GRIDMAJOR 0 COLOR GRID 192 192 192 COLOR DEADRAMP 255 220 192 COLOR ALIVE 0 0 0 COLOR DEAD 192 220 255 COLOR BACKGROUND 255 255 255 ]]
    
    with:

    Code: Select all

    #C [[ GRID THEME BOOK ]] 
    
    That would be handy, I think -- thanks! I suspect Nathaniel can be convinced to update to the latest LifeViewer version, if that feature comes along.
    User avatar
    rowett
    Moderator
    Posts: 4597
    Joined: January 31st, 2013, 2:34 am
    Location: UK
    Contact:

    Re: Life tag testing

    Post by rowett »

    Build 519 is now available on the lazyslug server

    Enhancements in this build:
    • added BOOK Theme

    Code: Select all

    x = 25, y = 21, rule = B3/S23
    12b2o$12bobo$3bo3b2o6bo7b2o$2bobobo2bo2bo2bo7b2o$2bobo2b2o6bo$3bo8bobo
    $12b2o4$2b3o$bo3bo$o5bo$bo3bo$2b3o$2b3o4$3b2o$3b2o!
    #C [[ GRID THEME BOOK ]]
    
    User avatar
    Nathaniel
    Site Admin
    Posts: 907
    Joined: December 10th, 2008, 3:48 pm
    Location: New Brunswick, Canada
    Contact:

    Re: Life tag testing

    Post by Nathaniel »

    rowett wrote: April 19th, 2020, 10:03 am Enhancements in this build:
    • added BOOK Theme
    Nice, thanks!
    User avatar
    rowett
    Moderator
    Posts: 4597
    Joined: January 31st, 2013, 2:34 am
    Location: UK
    Contact:

    Re: Life tag testing

    Post by rowett »

    Build 520 is now available on the lazyslug server

    Enhancements in this build:
    • annotations now support specifying the zoom range at which they will be visible
      • [[ LABEL X Y ZOOM (MAXZOOM) (FIXED) "string" ]]
      • [[ ARROW X1 Y1 X2 Y2 ZOOM (MAXZOOM) (FIXED) ]]
      • [[ POLYLINE X1 Y1 X2 Y2 .. ZOOM (MAXZOOM) (FIXED) ]]
      • [[ POLYFILL X1 Y1 X2 Y2 .. ZOOM (MAXZOOM) (FIXED) ]]
      • if MAXZOOM is specified then the annotation will be visible from ZOOM to MAXZOOM
      • if MAXZOOM is not specified then the annotation will be visible from ZOOM / 4 to ZOOM * 4 (the current default)
      • negative zoom value -N mean a zoom of 1/N so ZOOM -4 is the same as ZOOM 1/4 or ZOOM 0.25
    Fixes in this build:
    • fixed Theme button position
    • fixed Help->Info->Identify having info when no identification happened
    User avatar
    rowett
    Moderator
    Posts: 4597
    Joined: January 31st, 2013, 2:34 am
    Location: UK
    Contact:

    Re: Life tag testing

    Post by rowett »

    Build 521 is now available on the lazyslug server

    Fixes in this build:
    • fixed an issue with Nudge and Selection direction
    User avatar
    rowett
    Moderator
    Posts: 4597
    Joined: January 31st, 2013, 2:34 am
    Location: UK
    Contact:

    Re: Life tag testing

    Post by rowett »

    Build 522 is now available on the lazyslug server

    Fixes in this build:
    • fixed an issue with Copy to External Clipboard and Selection direction
    User avatar
    dvgrn
    Moderator
    Posts: 12053
    Joined: May 17th, 2009, 11:00 pm
    Location: Madison, WI
    Contact:

    Re: Life tag testing

    Post by dvgrn »

    There's now a weird hiccup, at least for me, in the highway robber article. On the first cycle of the infinite loop, the pattern suddenly gets drawn in a slightly different location, shifted a pixel or two northwest, somewhere around T=300. Once the mysterious adjustment happens, everything seems to stay steady in future cycles.
    User avatar
    rowett
    Moderator
    Posts: 4597
    Joined: January 31st, 2013, 2:34 am
    Location: UK
    Contact:

    Re: Life tag testing

    Post by rowett »

    dvgrn wrote: May 25th, 2020, 5:58 am There's now a weird hiccup, at least for me, in the highway robber article. On the first cycle of the infinite loop, the pattern suddenly gets drawn in a slightly different location, shifted a pixel or two northwest, somewhere around T=300. Once the mysterious adjustment happens, everything seems to stay steady in future cycles.
    It happens at about T=400 and it's because at that point the grid grows from the default 512x512 cells to 1024x1024 cells due to a glider escaping. This causes LifeViewer to re-center.
    User avatar
    rowett
    Moderator
    Posts: 4597
    Joined: January 31st, 2013, 2:34 am
    Location: UK
    Contact:

    Re: Life tag testing

    Post by rowett »

    Build 523 is now available on the lazyslug server

    Fixes in this build:
    • attempt to fix window position on iPad
    • fix Load Pattern
    User avatar
    rowett
    Moderator
    Posts: 4597
    Joined: January 31st, 2013, 2:34 am
    Location: UK
    Contact:

    Re: Life tag testing

    Post by rowett »

    Build 524 is now available on the lazyslug server

    Fixes in this build:
    • attempt to fix second popup move on iPad
    User avatar
    rowett
    Moderator
    Posts: 4597
    Joined: January 31st, 2013, 2:34 am
    Location: UK
    Contact:

    Re: Life tag testing

    Post by rowett »

    Build 525 is now available on the lazyslug server

    Enhancements in this build:
    • Ctrl-C while Help displayed will copy topic to clipboard
    User avatar
    rowett
    Moderator
    Posts: 4597
    Joined: January 31st, 2013, 2:34 am
    Location: UK
    Contact:

    Re: Life tag testing

    Post by rowett »

    Build 526 is now available on the lazyslug server

    Enhancements in this build:
    • added support for Cross neighbourhood for LtL and HROT rules
      • specify with N+
    User avatar
    rowett
    Moderator
    Posts: 4597
    Joined: January 31st, 2013, 2:34 am
    Location: UK
    Contact:

    Re: Life tag testing

    Post by rowett »

    Build 527 is now available on the lazyslug server

    Enhancements in this build:
    • added support for Saltire and Star neighbourhoods for LtL and HROT rules
      • specify with NX for Saltire and N* for Star
    User avatar
    rowett
    Moderator
    Posts: 4597
    Joined: January 31st, 2013, 2:34 am
    Location: UK
    Contact:

    Re: Life tag testing

    Post by rowett »

    Build 528 is now available on the lazyslug server

    Enhancements in this build:
    • new script command [[ RANDOMIZE ]] will generate random pattern on start
    Fixes in this build:
    • attempt to fix ignored touch events on iPad
    User avatar
    rowett
    Moderator
    Posts: 4597
    Joined: January 31st, 2013, 2:34 am
    Location: UK
    Contact:

    Re: Life tag testing

    Post by rowett »

    Build 529 is now available on the lazyslug server

    Enhancements in this build:
    • improved Cross performance for LtL and HROT rules
    • added some more aliases
    Fixes in this build:
    • don't randomize pattern if the rule is invalid
    User avatar
    rowett
    Moderator
    Posts: 4597
    Joined: January 31st, 2013, 2:34 am
    Location: UK
    Contact:

    Re: Life tag testing

    Post by rowett »

    Build 530 is now available on the lazyslug server

    Enhancements in this build:
    • added support for L2 neighbourhood for LtL and HROT rules
      • specify with N2
    User avatar
    rowett
    Moderator
    Posts: 4597
    Joined: January 31st, 2013, 2:34 am
    Location: UK
    Contact:

    Re: Life tag testing

    Post by rowett »

    Build 531 is now available on the lazyslug server

    Enhancements in this build:
    • added more aliases
    • added support for Cross, Saltire, Star and L2 neighbourhoods for Generations LtL/HROT rules
    User avatar
    rowett
    Moderator
    Posts: 4597
    Joined: January 31st, 2013, 2:34 am
    Location: UK
    Contact:

    Re: Life tag testing

    Post by rowett »

    Build 532 is now available on the lazyslug server

    Fixes in this build:
    • fixed LtL L2 random rule generation
    • disabled Alt Gridlines button should be off
    User avatar
    rowett
    Moderator
    Posts: 4597
    Joined: January 31st, 2013, 2:34 am
    Location: UK
    Contact:

    Re: Life tag testing

    Post by rowett »

    Build 533 is now available on the lazyslug server

    Enhancements in this build:
    • added support for Hex neighbourhood for LtL and HROT rules
      • specify with NH
    Fixes in this build:
    • display "New pattern" if there are only state 0 cells
    • playback controls were not being reset after rule change from reversible rule
    • fixed some Margolus Identify issues
    User avatar
    rowett
    Moderator
    Posts: 4597
    Joined: January 31st, 2013, 2:34 am
    Location: UK
    Contact:

    Re: Life tag testing

    Post by rowett »

    Build 534 is now available on the lazyslug server

    Enhancements in this build:
    • improved text wrapping in Help->Aliases for some rule types
    Fixes in this build:
    • hex display was incorrect from ZOOM 1x to 4x when High Quality Rendering enabled
    • hotkeys "b" and "Backspace" should only step back 1 generation
    User avatar
    rowett
    Moderator
    Posts: 4597
    Joined: January 31st, 2013, 2:34 am
    Location: UK
    Contact:

    Re: Life tag testing

    Post by rowett »

    Build 535 is now available on the lazyslug server

    Enhancements in this build:
    • added more aliases
    Locked