Pattern viewer for forum threads
- toroidalet
- Posts: 1514
- Joined: August 7th, 2016, 1:48 pm
- Location: My computer
- Contact:
Re: Pattern viewer for forum threads
The draw functionality is a little buggy, for example after drawing around clicking buttons will draw a line to them rather than triggering them. Also, you can do random fills on view-only patterns.
Any sufficiently advanced software is indistinguishable from malice.
Re: Pattern viewer for forum threads
The next build makes selections respect VIEWONLY mode. Thanks for reporting!toroidalet wrote:The draw functionality is a little buggy, for example after drawing around clicking buttons will draw a line to them rather than triggering them. Also, you can do random fills on view-only patterns.
I can't reproduce the drawing behaviour you're seeing. Do you have a set of steps I can try that shows the issue? Also please confirm which platform you're on.
LifeViewer https://lazyslug.com/lifeviewer
Re: Pattern viewer for forum threads
Build 365 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:
Comments, feedback, suggestions and bug reports welcome!
Please note: you will need to refresh your browser to use the new build (Ctrl-F5 on Chrome)
Fixes since the last released build:
- selections now respect [[ VIEWONLY ]]
- fixes for undo/redo during playback
Comments, feedback, suggestions and bug reports welcome!
LifeViewer https://lazyslug.com/lifeviewer
Re: Pattern viewer for forum threads
Build 366 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:
Comments, feedback, suggestions and bug reports welcome!
Please note: you will need to refresh your browser to use the new build (Ctrl-F5 on Chrome)
Enhancements since the last released build:
- improved selection and paste boxes for offset-square grid and hexagonal grid
- create and clear selection were missing from undo/redo
- horizontal and vertical flip were not working for paste
Comments, feedback, suggestions and bug reports welcome!
LifeViewer https://lazyslug.com/lifeviewer
Re: Pattern viewer for forum threads
Build 367 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:
Comments, feedback, suggestions and bug reports welcome!
Please note: you will need to refresh your browser to use the new build (Ctrl-F5 on Chrome)
Enhancements since the last released build:
- improved selection and paste boxes for triangular grid
- improved performance for hexagonal grid selection display
- paste bottom left and bottom right positions were the wrong way round
Comments, feedback, suggestions and bug reports welcome!
LifeViewer https://lazyslug.com/lifeviewer
Re: Pattern viewer for forum threads
This has now been implemented in Build 367. Thanks for the suggestion!muzik wrote:Can the selection box be made to fit the grid better when used on hexagonal or triangular patterns? It can be hard to tell what is selected and what is not.
LifeViewer https://lazyslug.com/lifeviewer
Re: Pattern viewer for forum threads
Build 368 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:
The updated hotkey map detailing the LifeViewer keyboard controls is here.
Comments, feedback, suggestions and bug reports welcome!
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 POPUPWIDTH validation
Code: Select all
x = 8, y = 14, rule = B2a3ir4i5e/S3i4et5e:T240,16
obo$o5bo$o4b3o$o5bo$o5bo$o4b3o$o5bo$o5bo$o4b3o$o5bo$o5bo$o4b3o$o5bo$ob
o!
[[
RLE clear bo$3o$bo$bo$3o$bo$bo$3o$bo$bo$3o$bo!
PASTET 93
PASTEMODE XOR
PASTE clear 5 1
PASTET 8315
PASTE clear 5 1
PASTET 8318
PASTE clear 5 1
POPUPWIDTH 976 ZOOM 4 ]]
Comments, feedback, suggestions and bug reports welcome!
LifeViewer https://lazyslug.com/lifeviewer
Re: Pattern viewer for forum threads
Build 369 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:
Comments, feedback, suggestions and bug reports welcome!
Please note: you will need to refresh your browser to use the new build (Ctrl-F5 on Chrome)
Enhancements since the last released build:
- Performance improvement for cell history and longevity
- Performance improvement when ZOOM < 1
- THEMEs without history (Mono, Inverse, Golly, MCell, Caterer and Life32) and PASTE commands now have improved performance at STEP sizes > 1
Comments, feedback, suggestions and bug reports welcome!
LifeViewer https://lazyslug.com/lifeviewer
Re: Pattern viewer for forum threads
This is hard to explain (and it's midnight so that won't help exactly), but when selecting cells on the hexagonal grid, the selection appears as a sort of rhombus. Since there are three possible rhombuses that can be traced out this way in a hexagonal grid, could they be added as alternate selection options somehow?
Help wanted: How can we accurately notate any 1D replicator?
Re: Pattern viewer for forum threads
At the moment all grid types (Square, Hexagonal, Offset Square and Triangular) use a "square" selection. I think I'll need hexagonal and triangular selections as well to make Rotate Selection and Flip Selection meaningful for non-Square grids. I'll put this on the backlog but it'll be a while.muzik wrote:This is hard to explain (and it's midnight so that won't help exactly), but when selecting cells on the hexagonal grid, the selection appears as a sort of rhombus. Since there are three possible rhombuses that can be traced out this way in a hexagonal grid, could they be added as alternate selection options somehow?
LifeViewer https://lazyslug.com/lifeviewer
Re: Pattern viewer for forum threads
That would be great. Can the "von Neumann selection" option also be considered?
Help wanted: How can we accurately notate any 1D replicator?
Re: Pattern viewer for forum threads
Build 370 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:
Comments, feedback, suggestions and bug reports welcome!
Please note: you will need to refresh your browser to use the new build (Ctrl-F5 on Chrome)
Enhancements since the last released build:
- performance improvement when ZOOM < -2
- performance improvement for THEMEs without history and STEP size 1
- performance improvement for THEMEs without history when ZOOM < 1
- switching to a THEME without history clears history cells
- not all menu items were being drawn locked when menu locked
Comments, feedback, suggestions and bug reports welcome!
LifeViewer https://lazyslug.com/lifeviewer
Re: Pattern viewer for forum threads
LifeViewer performance
I've created a simple benchmark to measure LifeViewer's performance. The benchmark uses a pattern created by Dave Greene for part of a talk he gave at G4G13. The pattern has about 190,000 live cells and an initial bounding box of 5,673 x 2,923 and uses the standard Conway's Life rule.
The benchmark tests performance of running and displaying the pattern in four different ways:
For the first 1,000 generations you'll see "Warming up" messages. This is to allow the Javascript engines in the various browsers time to optimize the routines.
After that each benchmark phase will run for 1,000 generations in the order above. When the benchmark is finished it will display the message "Complete:" followed by the average generations per second for each of the four phases.
For reference I ran the benchmark on my desktop machine:
I'd be interested in results from other systems. If you get a chance then please run the benchmark and post your results here.
I've created a simple benchmark to measure LifeViewer's performance. The benchmark uses a pattern created by Dave Greene for part of a talk he gave at G4G13. The pattern has about 190,000 live cells and an initial bounding box of 5,673 x 2,923 and uses the standard Conway's Life rule.
The benchmark tests performance of running and displaying the pattern in four different ways:
- Using the Blues theme (which has cell history) and a ZOOM of -12 (so the whole pattern fits in the viewer)
- Using the Mono theme (which has no cell history) and a ZOOM of -12
- Using the Blues theme and a ZOOM of 1
- Using the Mono theme and a ZOOM of 1
For the first 1,000 generations you'll see "Warming up" messages. This is to allow the Javascript engines in the various browsers time to optimize the routines.
After that each benchmark phase will run for 1,000 generations in the order above. When the benchmark is finished it will display the message "Complete:" followed by the average generations per second for each of the four phases.
For reference I ran the benchmark on my desktop machine:
- CPU i7-2600K @ 3.4Ghz
- Windows 10 Pro 64bit
- Chrome 76.0.3809.87 (Official Build) (64-bit)
- Firefox 68.0.1 (64-bit)
- Opera 62.0.3331.99
- Edge 44.18362.1.0
I'd be interested in results from other systems. If you get a chance then please run the benchmark and post your results here.
LifeViewer https://lazyslug.com/lifeviewer
Re: Pattern viewer for forum threads
I've created a new version of the benchmark which calculates and displays the results automatically. I updated the post above with the new details and results.
Please post any results on your own systems by replying to this thread. Please include details of your system: CPU, operating system and browser versions. Thanks!
Please post any results on your own systems by replying to this thread. Please include details of your system: CPU, operating system and browser versions. Thanks!
LifeViewer https://lazyslug.com/lifeviewer
Re: Pattern viewer for forum threads
Code: Select all
CPU: AMD FX-6300
OS: Windows 10 Home 64-bit
Firefox 68.0.1
Benchmark 1: 15 gps
Benchmark 2: 30 gps
Benchmark 3: 38 gps
Benchmark 4: 57 gps
Chrome 76.0.3809.87
Benchmark 1: 25 gps
Benchmark 2: 36 gps
Benchmark 3: 46 gps
Benchmark 4: 69 gps
Opera 62.0.3331.99
Benchmark 1: 24 gps
Benchmark 2: 34 gps
Benchmark 3: 44 gps
Benchmark 4: 62 gps
Re: [[ KILLGLIDERS ]] can not killing LWSS, why?
I would say tlife ants, but I'm not sure if the common c/5 t might wreck anything.rowett wrote:Because currently it just kills gliders. Is there consensus on other spaceships it would be helpful to suppress?
Help wanted: How can we accurately notate any 1D replicator?
Re: Pattern viewer for forum threads
Great, many thanks - that's helpful information!Ian07 wrote:Code: Select all
CPU: AMD FX-6300 OS: Windows 10 Home 64-bit ...
If you get a chance to run it again you should see some good improvements especially in Bench 1 (25%-50% faster) and Bench 2 (40%-50% faster). It also fixes the strangely bad result from Edge on Bench 1. My latest results are:
LifeViewer https://lazyslug.com/lifeviewer
Re: Pattern viewer for forum threads
Build 372 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:
Comments, feedback, suggestions and bug reports welcome!
Please note: you will need to refresh your browser to use the new build (Ctrl-F5 on Chrome)
Enhancements since the last released build:
- performance improvement for ZOOM < 1
- performance improvement for THEMEs without history
- new script command [[ TIME ]] to trigger timing at a waypoint
- waypoint messages can now use string substitutions #0 to #9 to display timing results as average frames per second
Comments, feedback, suggestions and bug reports welcome!
LifeViewer https://lazyslug.com/lifeviewer
Re: Pattern viewer for forum threads
Build 373 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:
Comments, feedback, suggestions and bug reports welcome!
Please note: you will need to refresh your browser to use the new build (Ctrl-F5 on Chrome)
Enhancements since the last released build:
- performance improvement for THEMEs with history
Comments, feedback, suggestions and bug reports welcome!
LifeViewer https://lazyslug.com/lifeviewer
Re: Pattern viewer for forum threads
Here are the results from Safari on my iPhone 6S:
- Bench 1 - 36.0
- Bench 2 - 55.1
- Bench 3 - 50.3
- Bench 4 - 62.2
LifeViewer https://lazyslug.com/lifeviewer
Re: Pattern viewer for forum threads
Build 374 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:
Comments, feedback, suggestions and bug reports welcome!
Please note: you will need to refresh your browser to use the new build (Ctrl-F5 on Chrome)
Enhancements since the last released build:
- performance improvement for next generation (excluding LtL/HROT)
- improved allocation speed for random grid
- population statistics were incorrect if stats were off and pattern had bounded grid
Comments, feedback, suggestions and bug reports welcome!
LifeViewer https://lazyslug.com/lifeviewer
Re: Pattern viewer for forum threads
Build 375 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:
Comments, feedback, suggestions and bug reports welcome!
Please note: you will need to refresh your browser to use the new build (Ctrl-F5 on Chrome)
Enhancements since the last released build:
- increased maximum viewer size to 4096x4096
- improved rendering to window speed
- Note: the benchmark measurement now includes final rendering time so scores will be lower
- fixed B0 rules
Comments, feedback, suggestions and bug reports welcome!
LifeViewer https://lazyslug.com/lifeviewer
Re: Pattern viewer for forum threads
When selecting stuff on a triangular grid, borders appear, but only for the two diagonal directions. The grid option for triangular rules also shows the horizontal line far thicker.
EDIT: also, shouldn't Major be greyed out for hexagonal and triangular grids?
EDIT: also, shouldn't Major be greyed out for hexagonal and triangular grids?
Last edited by muzik on August 11th, 2019, 9:00 pm, edited 2 times in total.
Help wanted: How can we accurately notate any 1D replicator?
Re: Pattern viewer for forum threads
Also, it seems as though custom values for gridmajor intervals persist even when switching themes; note how changing the theme to mcell does not set it to 5:
Code: Select all
x = 9, y = 5, rule = B3/S23
$bo3b3o$b3o2bo$2bo!
[[ COLOR BACKGROUND 48 48 48 COLOR ALIVE 255 255 255 COLOR ALIVERAMP 255 255 255 COLOR DEAD 48 48 48 COLOR DEADRAMP 48 48 48 COLOR GRID 80 80 80 COLOR GRIDMAJOR 112 112 112 GRID GRIDMAJOR 10 ]]
Help wanted: How can we accurately notate any 1D replicator?
Re: Pattern viewer for forum threads
True. All grids currently use a "square" selection.muzik wrote:When selecting stuff on a triangular grid, borders appear, but only for the two diagonal directions.
The grid lines are the same width and the same colour. A row of pixels often looks thicker/brighter than a diagonal line.muzik wrote:The grid option for triangular rules also shows the horizontal line far thicker.
Yes, good spot. I'll fix this for the next build.muzik wrote:EDIT: also, shouldn't Major be greyed out for hexagonal and triangular grids?
LifeViewer https://lazyslug.com/lifeviewer