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
rowett
Moderator
Posts: 3776
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Pattern viewer for forum threads

Post by rowett » June 13th, 2019, 1:00 pm

Build 343 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:
  • Undo/Redo
    • hotkey Ctrl "Z" for undo edit
    • hotkey Ctrl+Shift "Z" for redo edit
  • [R]History display toggle
    • hotkey Alt "J" disables [R]History display
    • hotkey Alt "H" enables [R]History display
    • only works for [R]History rules
    • this is only a display toggle: state 6 processing still happens
    • however: copy RLE to clipboard will honour current settings
  • Escaping gliders
    • hotkey Alt "K" toggles deleting escaping gliders
    • new "Kill" button in navigation menu to toggle deleting escaping gliders
    • number of deleted gliders is shown in "Help" -> "Info" -> "Grid"
  • lifelib, Jupyter, and LifeViewer integration
    • hotkey Ctrl "S" saves RLE to source docment node
Fixes since the last released build:
  • editor now works with step back
  • [[ KILLGLIDERS ]] now fades dead gliders
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 » June 14th, 2019, 9:32 am

Build 344 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)

Fixes since the last released build:
  • undo/redo records were persisting across patterns
The updated hotkey map detailing the LifeViewer keyboard controls is here.

Comments, feedback, suggestions and bug reports welcome!

User avatar
Ian07
Moderator
Posts: 891
Joined: September 22nd, 2018, 8:48 am
Location: New Jersey, US

Re: Pattern viewer for forum threads

Post by Ian07 » June 17th, 2019, 7:47 pm

Clicking the reset button for LifeViewers on Catagolue causes the reset, step back, step forward, and pause/play buttons to disappear. This doesn't seem to affect either the wiki or forums.

User avatar
calcyman
Moderator
Posts: 2932
Joined: June 1st, 2009, 4:32 pm

Re: Pattern viewer for forum threads

Post by calcyman » June 18th, 2019, 2:08 am

Ian07 wrote:Clicking the reset button for LifeViewers on Catagolue causes the reset, step back, step forward, and pause/play buttons to disappear. This doesn't seem to affect either the wiki or forums.
That's probably because Catagolue appears to have Build 345 rather than 344.
What do you do with ill crystallographers? Take them to the mono-clinic!

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 » June 18th, 2019, 2:18 am

calcyman wrote:
Ian07 wrote:Clicking the reset button for LifeViewers on Catagolue causes the reset, step back, step forward, and pause/play buttons to disappear. This doesn't seem to affect either the wiki or forums.
That's probably because Catagolue appears to have Build 345 rather than 344.
It's fixed in 346, thanks for reporting!

Explanation: The bug was introduced in build 345. Catagolue automatically downloads the latest build where as for the Forum and Wiki I have to release manually. Fortunately (I guess) for the Forum I hadn't got round to the release yet.

More exciting details: The bug only manifested itself in the Closure Compiler minified release. So I hadn't spotted it while testing against the non-minified development build. I've updated the test plan.

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 » June 18th, 2019, 3:08 am

Build 346 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:
  • new [R]History button in navigation menu to toggle [R]History display
  • new previous POI and next POI buttons on main screen if POIs defined - test
Fixes since the last released build:
  • [R]History state 6 regression in editor
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 » June 19th, 2019, 3:59 pm

Build 347 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:
  • added Undo and Redo buttons to main menu
  • improved how Reset works with Undo/Redo
  • new settings icon
  • added Copy button to copy current pattern as RLE to clipboard
    • note: this currently only works on Chrome and Opera - for other browsers please use Ctrl-C or Command-C
  • new Select mode button (not implemented yet!)
  • increased minimum width by 80 pixels
Fixes since the last released build:
  • locked UI controls were allowing clicks through to the background
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 » June 19th, 2019, 5:02 pm

Ian07 wrote:Could the "Ctrl+C to copy pattern" thing be put in a more obvious spot, perhaps by "Click to control" when you hover over the viewer? It's such a useful command (especially on the wiki) that it probably shouldn't be buried so far down in the help menu; it took me several months before I even bothered to try it out.
There's now a Copy button at the top right of the LifeViewer window. Thanks for the suggestion!

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 » June 20th, 2019, 3:55 pm

Build 348 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 F2 sets Draw mode
  • hotkey F3 sets Pick mode
  • hotkey F4 sets Select mode (not implemented yet!)
  • hotkey F5 sets Pan mode
  • mouse cursor changes based on action
  • UI list control can now lock individual items
Fixes since the last released build:
  • handle LifeViewer being loaded more than once in a web page
  • undo and redo buttons were not being hidden for VIEWONLY patterns
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 » June 21st, 2019, 5:20 am

muzik wrote:Can the draw button be greyed out on invalid patterns instead of giving an error message?
This is now implemented. Thanks for the suggestion!

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 » June 21st, 2019, 8:31 am

Build 349 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:
  • pause playback while drawing
  • settings menu buttons are larger and cluster better
  • changed "Step back" to "Undo/Redo" in "Help"->"Info"
  • icons now grey out when locked (not just the text and border)
Fixes since the last released build:
  • Pick mode was not being cancelled when another mode selected
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 » June 21st, 2019, 8:35 am

danny wrote: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...
This is now implemented. Thanks for the suggestion!

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 » June 21st, 2019, 5:41 pm

rowett wrote:
danny wrote: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...
This is now implemented. Thanks for the suggestion!
I actually like having it run as I draw... How about implementing a button in the draw menu that determines whether or not the pattern runs while drawing?

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
rowett
Moderator
Posts: 3776
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Pattern viewer for forum threads

Post by rowett » June 23rd, 2019, 2:51 pm

Build 350 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:
  • moved Graph controls below top row
  • Graph hidden if Drawing or Selecting
  • new toggle button to control whether playback is paused during Drawing
  • improved toggle states icon
  • added Select mode UI controls
Fixes since the last released build:
  • fixed playback pause during editing
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 » June 23rd, 2019, 2:52 pm

Gamedziner wrote:I actually like having it run as I draw... How about implementing a button in the draw menu that determines whether or not the pattern runs while drawing?
This was just added in Build 350. Thanks for the suggestion!

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 » June 24th, 2019, 1:18 pm

Build 351 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:
  • added undo/redo detail to button tooltips
  • stop playback on undo
Fixes since the last released build:
  • picked cell colour notification wasn't displaying
  • redo no longer goes back to previous snapshot
  • fix step back with undo
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 » June 25th, 2019, 2:46 am

Build 352 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:
  • added Smart Drawing button to Draw menu
  • increased maximum number of LtL and HROT states to 256
Fixes since the last released build:
  • do not draw when clicking to get window focus
  • remove unneeded extra undo step
The updated hotkey map detailing the LifeViewer keyboard controls is here.

Comments, feedback, suggestions and bug reports welcome!

User avatar
Saka
Posts: 3627
Joined: June 19th, 2015, 8:50 pm
Location: Indonesia
Contact:

Re: Pattern viewer for forum threads

Post by Saka » June 25th, 2019, 7:15 am

What does "smart drawing" do?

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 » June 25th, 2019, 8:56 am

Saka wrote:What does "smart drawing" do?
It draws with the selected state unless the first cell you click on is already that state, in which case it draws with state 0. It's a very convenient way of editing patterns without having to switch states. Golly does it too.

If you turn off Smart Drawing then it just uses the selected state regardless of what you are drawing over.

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 » June 26th, 2019, 6:07 am

Build 353 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:
  • hide Draw, Graph and Select menus when Settings open
  • selection size display (width x height)
Fixes since the last released build:
  • sometimes playback wasn't resuming after auto-paused during drawing
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 » June 26th, 2019, 7:53 am

Build 354 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)

Fixes since the last released build:
  • fixed selecting drawing state
  • disable starting playback while mid-draw
The updated hotkey map detailing the LifeViewer keyboard controls is here.

Comments, feedback, suggestions and bug reports welcome!

GUYTU6J
Posts: 2200
Joined: August 5th, 2016, 10:27 am
Location: 拆哪!I repeat, CHINA! (a.k.a. 种花家)
Contact:

Re: Pattern viewer for forum threads

Post by GUYTU6J » June 28th, 2019, 12:17 pm

Lifeviewer doesn't portrait this pattern correctly.It becomes a dot.Is it because of the comments?

Code: Select all

#Life 1.06
#D Bee hive reburner.
#D
#D A series of bee hives is
#D transformed by 4 interlaced
#D gliders at the speed of 60/311 c.
#D Every 5*311 generations a
#D HWSS escapes eastward.
#D
#D Helmut Postl, October 1994.
x = 53, y = 115, rule = B3/S23
24bobo$25b2o$25bo10$2bo$obo$b2o32$23b6o$22bo5bo$28bo11b2o$22bo4bo11b4o
$24b2o13b2ob2o$41b2o$49b4o$48bo3bo$52bo$44b2o2bo2bo$44b3o$44b2o2bo2bo$
52bo$48bo3bo$49b4o40$13b3o$15bo$14bo10$37b2o$38b2o$37bo!
EDIT:In golly, it becomes two dots.
When the first line is deleted, both Golly and Lifeviewer show correctly.

Code: Select all

#D Bee hive reburner.
#D
#D A series of bee hives is 
#D transformed by 4 interlaced
#D gliders at the speed of 60/311 c.
#D Every 5*311 generations a
#D HWSS escapes eastward.
#D
#D Helmut Postl, October 1994.
x = 53, y = 115, rule = B3/S23
24bobo$25b2o$25bo10$2bo$obo$b2o32$23b6o$22bo5bo$28bo11b2o$22bo4bo11b4o
$24b2o13b2ob2o$41b2o$49b4o$48bo3bo$52bo$44b2o2bo2bo$44b3o$44b2o2bo2bo$
52bo$48bo3bo$49b4o40$13b3o$15bo$14bo10$37b2o$38b2o$37bo!

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 » June 28th, 2019, 1:45 pm

GUYTU6J wrote:Lifeviewer doesn't portrait this pattern correctly.It becomes a dot.Is it because of the comments?
No it's because the first line is: #Life 1.06
That tells LifeViewer (and Golly) that the pattern is in Life 1.06 format. Unfortunately it isn't. It's in standard RLE format. Delete the first line and all will be well.

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 » June 28th, 2019, 5:28 pm

Build 355 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:
  • Select mode now has some limited functionality:
    • selecting a rectangle of cells (no selection box visible yet)
    • flip X
    • flip Y
    • rotate clockwise
    • rotate counter-clockwise
    • random fill with user defined density from 0% to 100%
    • clear cells in selection
  • opening Help will close Settings and vice versa
Fixes since the last released build:
  • fixed an issue with redo and snapshots
  • fixed draw buttons being hidden with states toggle
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 » June 28th, 2019, 7:42 pm

The random fill function does not work properly with Generations-type rules. It only fills with states 0 and 2 in this 3-state rule:

Code: Select all

x = 3, y = 1, rule = B3/S123/3
3o!
Additionally, attempting to draw over these cells fails until at least one generation has passed since their creation.

(P.S.:I noticed that there are more than three options shown for states in the above rule when in draw mode. Bug?)

EDIT: It seems cells cleared using select mode do not leave any history cells. Also, rotating selections containing random fill + originally present state 1 cells seems to do weird stuff, at least with the above rule.

EDIT 2: Not sure if this is intended, but you can effectively make a 2-by-1 selection "walk" by alternating clockwise and counterclockwise rotations.

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!

Post Reply