Re: Pattern viewer for forum threads
Posted: January 30th, 2019, 5:32 pm
Population graph data is now dynamically allocated.rowett wrote:A note on LifeViewer memory usage:
Forums for Conway's Game of Life
https://conwaylife.com/forums/
Population graph data is now dynamically allocated.rowett wrote:A note on LifeViewer memory usage:
Makes sense - could Graph also be removed in this case (moving the Graph button to either the top middle or the bottom middle by default so that the menu remains symmetric even when it's not present)? It probably won't see much use in cases of unrunnable rules, so it'd probably be best removed in such cases.rowett wrote:No. What I've done instead is remove the Theme slider in error cases since it makes no sense - test.
Possibly. But if they do get supported it will be a while. There's a lot on the backlog.muzik wrote:Low priority, but will Mirek's Weighted Life notation for non-totalistic rules and Vote for Life notation for truly totalistic rules ever be supported?
The Graph button gets disabled (greyed out) the same as if you'd used the [[ NOGRAPH ]] command.muzik wrote:could Graph also be removed in this case
Code: Select all
x = 2, y = 8, rule = B3/S23
bo$o$bo$bo$bo$bo$bo$bo!
[[ HISTORYSTATES 67 ]]Code: Select all
x = 2, y = 8, rule = B3/S23
bo$o$bo$bo$bo$bo$bo$bo!
[[ HISTORYSTATES 4294967359 ]]Code: Select all
ah ohNo because 2-state rules use states 128-255 for overlay (LifeHistory states etc.) and I don't want to extend it just for multi-state rules since that creates inconsistency.muzik wrote:Can we define as many history states as we want as long as the longevity and history states combined don't exceed 255?
I'll take a look.muzik wrote:Also, something silly and probably not worth fixing:Code: Select all
x = 2, y = 8, rule = B3/S23 bo$o$bo$bo$bo$bo$bo$bo! [[ HISTORYSTATES 4294967359 ]]
It's not missing. It gets created when you use hotkey "o" or Shift and "o" as the instructions say above it.muzik wrote:There also appears to be a missing image on https://lazyslug.com/lifeview/plugin/viewer.html
Thanks, I'll take a look.muzik wrote:The graph button and theme bar also aren't deactivated with outright invalid RLE inputs
LifeViewer has two things it can do when you take a screenshot with hotkey "o" (or a graph screenshot with hotkey Shift and "o"):muzik wrote:Can a button (or two, one for with the graph as well) be added inside the viewer that takes said screenshot, if not already?
Highly unlikely at the moment. In general things get added when there is enough demand.rowett wrote:Another random low-priority suggestion: LTL Star, Cross and Saltire neighbourhoods.
True. However there are currently no web pages that use option 1 (above) apart from the test page, and option 2 doesn't work because of popup blockers.muzik wrote:I'm pretty sure you can tap and hold and save image on Safari just as easily.
Code: Select all
x = 73, y = 1, rule = W54
2b5o2b2ob2ob2ob2obobobo5bo3b3o4b4o3b3o2b5obo4bo3bo!
Code: Select all
x = 73, y = 1, rule = R1,W54
2b5o2b2ob2ob2ob2obobobo5bo3b3o4b4o3b3o2b5obo4bo3bo!
Code: Select all
x = 73, y = 1, rule = R1,W36
2b5o2b2ob2ob2ob2obobobo5bo3b3o4b4o3b3o2b5obo4bo3bo!
Popup blockers (the Safari popup blocker, at least) will activate if the site attempts to open a new window, but don't when it just opens a new tab.rowett wrote:True. However there are currently no web pages that use option 1 (above) apart from the test page, and option 2 doesn't work because of popup blockers.muzik wrote:I'm pretty sure you can tap and hold and save image on Safari just as easily.
Unfortunately this is both browser specific and in some cases based on user settings.77topaz wrote:Popup blockers (the Safari popup blocker, at least) will activate if the site attempts to open a new window, but don't when it just opens a new tab.
This should now be fixed. Test case is here.77topaz wrote:Something odd I just noticed: when you have a LtL pattern with history states, using the autofit option zooms to the entire envelope of the pattern including the history states, as opposed to just the pattern itself as it does for other rules.
"AUTOFIT 2-state LtL Moore" has the very tip of the bug outside of the window for most of the time; is this intentional?rowett wrote:This should now be fixed. Test case is here.
Not specifically. It's a function of the smoothing that the AutoFit algorithm uses and mostly causes the edge challenge you spotted at high zoom levels with a pattern that fills the display. I'll see if it's easy to adjust for that case.muzik wrote:"AUTOFIT 2-state LtL Moore" has the very tip of the bug outside of the window for most of the time; is this intentional?
I thought about that but decided there's no reason to do so. It's just putting an artificial constraint on those settings. I might indeed want to toggle grid major before switching the grid lines on, or turn on History AutoFit mode before turning on AutoFit.muzik wrote:Also, on the new buttons: HistFit should be greyed out when AUTOFIT is off, and Major should be greyed out when the grid is off.
The buttons on the main menu are there because they're more commonly used (at least by me) than the ones hidden in the settings menu.muzik wrote:I'd also personally move the grid and autofit buttons into the settings page, since I feel they belong there better due to being on/off toggles and not being as immediately useful as the fit pattern button
Try this one.muzik wrote:"AUTOFIT 2-state LtL Moore" has the very tip of the bug outside of the window for most of the time; is this intentional?
Definitely an improvement.rowett wrote:Try this one.muzik wrote:"AUTOFIT 2-state LtL Moore" has the very tip of the bug outside of the window for most of the time; is this intentional?
I suppose one thing you could do is allow the major grid lines to be shown without the minor grid lines in such cases where they're not selected...rowett wrote:I thought about that but decided there's no reason to do so. It's just putting an artificial constraint on those settings. I might indeed want to toggle grid major before switching the grid lines on, or turn on History AutoFit mode before turning on AutoFit.muzik wrote:Also, on the new buttons: HistFit should be greyed out when AUTOFIT is off, and Major should be greyed out when the grid is off.
For the example you gave it's irrelevant since the colours mean you can't tell what the HISTORYSTATES setting is for those Themes.muzik wrote:Can HISTORYSTATES be defined as part of a theme, so that different themes can have different amounts of history states defined for each of them (0 for 0 and 6, 1 for 8 and 9, and 63 for the rest)?
Yes they could be.muzik wrote:Same for the presence of the grid, the colours of the grid and the major intervals of the grid; can these also be made to be defined through the theme? I want to propose new themes based on the default settings of Golly and MCell.
Shown when you switch Themes?muzik wrote:Names shown for each of the themes could be useful as well; for example, theme 10 would be the LifeHistory theme.
Yes, and preferably also in the slider and as a selectable name in code boxes.rowett wrote:Shown when you switch Themes?muzik wrote:Names shown for each of the themes could be useful as well; for example, theme 10 would be the LifeHistory theme.
I'm getting about 20 fps with 100% (usage, I can't remember exactly what that percentage stands for) for that one, compared to 60 fps with about 60% for the range-100 Moore bug and 9 fps for the range-500 Moore bug.rowett wrote:LtL 2-state von Neumann patterns now run faster. Test case is here. Scroll down to the final test.
The percentage figure is showing the workload i.e. what percentage of the budgeted update time was used. For smooth 60fps animation it needs to be less than 100%.77topaz wrote:I'm getting about 20 fps with 100% (usage, I can't remember exactly what that percentage stands for) for that one, compared to 60 fps with about 60% for the range-100 Moore bug and 9 fps for the range-500 Moore bug.