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
muzik
Posts: 5652
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » October 17th, 2022, 9:22 pm

Can different shadow colors be added for usable buttons and disabled buttons? Having them both be locked to UIBACKGROUND is restrictive and the results don't always look great.

There's also the issue of it being used for the hardcoded VIEWONLY text as well:

Code: Select all

x = 9, y = 5, rule = B3/S23
$bo3b3o$b3o2bo$2bo!
[[ VIEWONLY
COLOR UIFOREGROUND DarkGreen
COLOR UIBACKGROUND LightPink ]]
----

On the topic of VIEWONLY, would it make sense to disable the Auto GridLines in the mode since drawing is forbidden? The Graph button also doesn't produce any useful information due to only counting iterated generations in its data and can probably be greyed out as well. The entire contents of the Playback category also don't seem to do anything useful when playback itself is impossible, so those can also be made gray.

User avatar
muzik
Posts: 5652
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » October 18th, 2022, 6:11 am

rowett wrote:
October 4th, 2022, 8:59 am
muzik wrote:
October 4th, 2022, 6:56 am
LifeViewer appears to start major grid lines from the top-left of the cell at (0,0). If my measurements are correct, this is inconsistent with Golly, in which they start from the bottom-left.
When I use Golly (the desktop or the Web App versions) the major gridlines are at the top-left of the cell at (0,0).
I can confirm that this is the case for Golly 4.1. The coordinate system is also the same (positive directions are in reading order). I likely wasn't examining the mobile version closely enough.

The change log did say that they only start at the top-left of (0,0) for unbounded grids. How exactly are they determined for bounded grids, as the behaviour seems different and hard to predict?

User avatar
muzik
Posts: 5652
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » October 18th, 2022, 6:39 am

A few questions regarding one-dimensional rule support:
- Will Wolfram rules with odd rule integers ever be supported? This post by bubblegum details a method that can be used to emulate B0 1D rules.
- Will higher-range rules be supported via rulestrings? It's currently possible to emulate higher-range rules via custom 2D neighbourhoods, but this method is rather tedious to set up, only permits outer-totalistic 2-state rules and as such inhibits exploration of said rules.

Code: Select all

x = 9, y = 5, rule = R2,C2,S0-4,B1,3,N@0001e0H
o!
[[ SQUARECELLS ]]

Code: Select all

x = 9, y = 5, rule = R2,C2,S0-5,B1,3,5,N@0003e0
o!

Code: Select all

x = 9, y = 5, rule = R3,C2,S0-6,B1,3,5,N@0000000fc000H
o!
[[ SQUARECELLS ]]
If higher range rules are indeed supported, there are several possibilities as to what 1D rulespace will be supported. Here are some proposals:
- Two states: R[range],W[rule integer]
where [range] is an integer or half-integer value from 0 to the desired upper limit (integers would use the square grid, and half-integers would use the offset square grid), and [rule integer] is either a decimal or hexadecimal value (usual W rules use decimal in Golly/LifeViewer, but MCell used hexadecimal) from 0 to 2^([range]*8) (I think) describing the desired binary combination of transitions
- Two states, totalistic: R[range],WT[totalistic code]
where range is an integer or half-integer as described previously, and the totalistic code is a decimal or hexadecimal value which describes the cell's amount of total neighbours including the cell itself (example rule: https://www.wolframalpha.com/input/?i=t ... ic+code+42)
- Two states, outer-totalistic: R[range],WOT[outer-totalistic code]
where range is as described previously and the outer-totalistic code describes the total amount of neighbours a cell has excluding itself (example rule: https://www.wolframalpha.com/input?i=k% ... 2C+range+2)

There are also multistate rules, which I'd very much like to see general support for. WolframAlpha also has ways to classify these which I can provide if needed.

User avatar
rowett
Moderator
Posts: 3823
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Pattern viewer for forum threads

Post by rowett » October 18th, 2022, 9:05 pm

muzik wrote:
October 17th, 2022, 9:22 pm
There's also the issue of it being used for the hardcoded VIEWONLY text as well
Fixed, thanks.

User avatar
muzik
Posts: 5652
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » October 19th, 2022, 7:14 am

The new COLOR HELP allows for the changing of help text, but the cyan hotkey text from mousing over buttons is still hardcoded to be cyan. I'd expect that either these would also follow the help color, or that they would be customizable via some other dedicated script commands such as COLOR HOTKEY.

Code: Select all

x = 9, y = 5, rule = B3/S23
$bo3b3o$b3o2bo$2bo!
[[ COLOR HELP Salmon ]]
On the topic of non-colourable text, for script command error pages gray text (such as the Up / Down in the following example) also appear to be non-customizable:

Code: Select all

x = 9, y = 5, rule = B3/S23
$bo3b3o$b3o2bo$2bo!
[[ COLOR HELP Salmon COLOR TEXT Yellow COLOR ERROR PaleGreen ZOOM 0 ]]

User avatar
rowett
Moderator
Posts: 3823
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Pattern viewer for forum threads

Post by rowett » October 19th, 2022, 8:52 am

muzik wrote:
October 19th, 2022, 7:14 am
The new COLOR HELP allows for the changing of help text, but the cyan hotkey text from mousing over buttons is still hardcoded to be cyan
Hotkey text now uses the HELP text colour.
muzik wrote:
October 19th, 2022, 7:14 am
for script command error pages gray text (such as the Up / Down in the following example) also appear to be non-customizable
Error and Help pages gray text now uses the UILOCKED colour.

User avatar
muzik
Posts: 5652
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » October 19th, 2022, 7:51 pm

To round off the text customisation stuff:

Several cases exist in LifeViewer of pulsating text which alternates across a gradient of white and blue. Neither of the two extremes of color here appear to be changeable via scripts of any kind. The three I know of are "Click to control" and the two following viewers' mouseover prompts.

Code: Select all

x = 3, y = 4, rule = B3aijr4ciq7c/S2-i3-a4i5q
o$2o$b2o$2o!
[[ THUMBNAIL COLOR TEXT Red ]]

Code: Select all

x = 3, y = 4, rule = B3aijr4ciq7c/S2-i3-a4i5q
o$2o$b2o$2o!
[[ NOGUI COLOR TEXT Red ]]
There are also many other cases of text mainly relating to LifeViewer functions that is also permanently white and does not appear to be customizable. The "Copied to external clipboard" which can be obtained from the above NOGUI viewer is one such case. Other examples are "Play", "Pause", "Reset", "Copied to external clipboard" from usual selections, "Now click to paste", "Rotation does not fit in bounded grid", "No room to nudge selection", "Fit Pattern" and "Center Pattern".

Code: Select all

x = 1, y = 10, rule = B3/S23:T5,10
o$o$o$o$o$o$o$o$o$o!
[[ COLOR TEXT Red ]]
Text lines which do obey the text color include "Empty Pattern" from attempting to use Identify or Select All and "New Pattern" for things with no alive cells.

An odd case is the "Life ended at" message. There appear to be two distinct variants - one from normal playback, which is non-customizable, and the second one from use of Identify, which is in fact customizable despite having the exact same text (and also appearing slightly lower than the other message):

Code: Select all

x = 8, y = 2, rule = B3/S23
bo4b2o$3o3b2o!
[[ COLOR TEXT Red ]]
Another issue with most of the "non-customizable" white texts mentioned above is that they don't get cancelled immediately when opening a menu, causing them to again visually occlude parts of the menu annoyingly, so they should probably be made to follow the example of the texts that do.

And finally, could the text that shows up when the viewer is paused be made past tense?

User avatar
rowett
Moderator
Posts: 3823
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Pattern viewer for forum threads

Post by rowett » October 20th, 2022, 11:18 am

muzik wrote:
October 19th, 2022, 7:51 pm
Several cases exist in LifeViewer of pulsating text which alternates across a gradient of white and blue. Neither of the two extremes of color here appear to be changeable via scripts of any kind.
The pulsing now uses the UI Foreground and UI Select colours.

User avatar
rowett
Moderator
Posts: 3823
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Pattern viewer for forum threads

Post by rowett » October 21st, 2022, 9:26 am

muzik wrote:
October 19th, 2022, 7:51 pm
There are also many other cases of text mainly relating to LifeViewer functions that is also permanently white and does not appear to be customizable.
These now use the UIFOREGROUND colour.
muzik wrote:
October 19th, 2022, 7:51 pm
An odd case is the "Life ended at" message. There appear to be two distinct variants.
There is just one variant now.
muzik wrote:
October 19th, 2022, 7:51 pm
Another issue with most of the "non-customizable" white texts mentioned above is that they don't get cancelled immediately when opening a menu
Fixed, thanks.
muzik wrote:
October 19th, 2022, 7:51 pm
And finally, could the text that shows up when the viewer is paused be made past tense?
No. That would make it inconsistent.

User avatar
muzik
Posts: 5652
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » October 22nd, 2022, 8:04 am

Text annotations which result from scripts like the following are also permanently hidden when a menu is opened. I'm not sure if this is desirable behaviour - informational text from the viewer should be cancelled, but script-related stuff should probably stay IMO, being treated as a background element behind the dark background menus create.

Code: Select all

x = 3, y = 3, rule = B3/S23
o$obo$2o!
[[ T 0 "Important text that should not be cancelled" ]]
Speaking of the dark menu background: could the color of this be made customizable as well, since the graph background can be customized (preferably as its own element, since it has a pretty different function from UIBACKGROUND by default)?

User avatar
muzik
Posts: 5652
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » October 24th, 2022, 6:59 pm

Upon playing the pattern in the above post, the text disappears only to immediately expand again when playback begins. Is this an intended effect?

User avatar
rowett
Moderator
Posts: 3823
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Pattern viewer for forum threads

Post by rowett » October 31st, 2022, 10:34 am

Hexagonal Selections

Can anyone point me at a tool or paper that describes a good way of making selections on a hexagonal grid?

User avatar
muzik
Posts: 5652
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » November 2nd, 2022, 7:06 am

A random thought I had as to how hexagonal selections could be handled (it's definitely restrictive, but better than nothing):

Let's say we begin the selection by clicking on a cell marked by the blue dot. We then drag the cursor away from the blue dot. The viewer would then pick one of the six rays that the cursor's angle from the center is closest to:

Code: Select all

x = 13, y = 13, rule = noneH
A5.A$.A4.A$2.A3.A$3.A2.A$4.A.A$5.2A$6AB6A$6.2A$6.A.A$6.A2.A$6.A3.A$6.
A4.A$6.A5.A!
[[ GRID COLOR BACKGROUND 0 0 0 COLOR 1 255 255 255 COLOR 2 0 0 255 ]]
Let's say that the green cell is the target cell that we drag to from the blue cell.

Code: Select all

x = 13, y = 14, rule = noneH
6.C2$A5.A$.A4.A$2.A3.A$3.A2.A$4.A.A$5.2A$6AB6A$6.2A$6.A.A$6.A2.A$6.A
3.A$6.A4.A$6.A5.A!
[[ GRID COLOR BACKGROUND 0 0 0 COLOR 1 255 255 255 COLOR 2 0 0 255 COLOR 3 0 255 0 ]]
LifeViewer would then create a hexagon-shaped selection which has this line as one of the hexagon's three possible diagonals, similar to the rhombus but with certain vertices truncated accordingly to give an equilateral hexagonal shape:

Code: Select all

x = 13, y = 15, rule = noneH
2.4DC$2.6D$A.4DE2D$.A4DE3D$2.E3DE4D$3.E2DE4D$4.EDE4D$5.2E4D$6AF4E2A$
6.2A$6.A.A$6.A2.A$6.A3.A$6.A4.A$6.A5.A!
[[ GRID COLOR BACKGROUND 0 0 0 COLOR 1 255 255 255 COLOR 2 128 0 255 COLOR 3 128 255 0 COLOR 4 128 0 0 COLOR 5 255 192 192 COLOR 6 128 0 255 ]]
----

Something I noticed while making this example: COLOR BACKGROUND does not seem to work as expected for the none rule, and doesn't seem to work for rule tables either.

Code: Select all

x = 4, y = 4, rule = none
4o$4o$4o$4o!
[[ COLOR BACKGROUND 128 0 0 ]]

Code: Select all

x = 4, y = 4, rule = Life-RuleLoader
4o$4o$4o$4o!
[[ COLOR BACKGROUND 128 0 0 ]]

Code: Select all

x = 4, y = 4, rule = Fredkin_mod8_vonNeumann
4o$4o$4o$4o!
[[ COLOR BACKGROUND 128 0 0 ]]

Code: Select all

x = 4, y = 4, rule = B3/S23
4o$4o$4o$4o!
[[ COLOR BACKGROUND 128 0 0 ]]

Code: Select all

x = 4, y = 4, rule = 23/3/8
4o$4o$4o$4o!
[[ COLOR BACKGROUND 128 0 0 ]]

Code: Select all

x = 4, y = 4, rule = R1,C2,S2-3,B3
4o$4o$4o$4o!
[[ COLOR BACKGROUND 128 0 0 ]]

Code: Select all

x = 4, y = 4, rule = MargSingRot
4o$4o$4o$4o!
[[ COLOR BACKGROUND 128 0 0 ]]

Code: Select all

x = 4, y = 4, rule = PCA_4
4o$4o$4o$4o!
[[ COLOR BACKGROUND 128 0 0 ]]

User avatar
rowett
Moderator
Posts: 3823
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Pattern viewer for forum threads

Post by rowett » November 2nd, 2022, 10:25 am

Same pattern, different random seeds. Reset for variants within a particular seed.

Code: Select all

#C [[ AUTOSTART HARDRESET RANDSEED 1667837288458 ]]
x = 204, y = 203, rule = R100,C2,S10350-15740,B9351-12361,P:T500
85b34o$79b46o$75b54o$72b60o$69b66o$67b70o$65b74o$63b78o$62b80o$60b84o$
59b86o$58b88o$56b92o$55b94o$54b96o$53b98o$52b100o$51b102o$51b102o$50b
104o$49b106o$48b108o$47b110o$47b110o$46b112o$45b114o$45b114o$44b116o$
44b116o$43b118o$42b120o$42b120o$41b122o$41b122o$40b124o$40b124o$39b
126o$39b126o$38b128o$38b128o$37b130o$36b132o$36b132o$35b134o$35b134o$
34b136o$33b138o$33b138o$32b140o$31b142o$31b142o$30b144o$30b144o$29b
146o$28b148o$28b148o$27b150o$27b150o$26b152o$25b154o$25b154o$24b156o$
24b11ob60o12b60ob11o$23b12ob57o18b57ob12o$23b11ob56o22b56ob11o$23b10o
2b54o26b54o2b10o$22b11o2b53o28b53o2b11o$22b10o2b53o30b53o2b10o$21b10o
3b52o32b52o3b10o$21b9o4b51o34b51o4b9o$20b10o4b50o36b50o4b10o$20b9o4b
50o38b50o4b9o$20b8o5b49o40b49o5b8o$19b8o6b48o42b48o6b8o$19b8o5b48o44b
48o5b8o$19b7o6b48o44b48o6b7o$18b7o7b47o46b47o7b7o$18b6o8b47o46b47o8b6o
$18b6o8b46o48b46o8b6o$17b6o8b47o48b47o8b6o$17b5o9b46o50b46o9b5o$17b5o
9b46o50b46o9b5o$17b4o10b46o50b46o10b4o$16b5o10b45o52b45o10b5o$16b4o10b
46o52b46o10b4o$16b3o11b45o54b45o11b3o$16b3o11b45o54b45o11b3o$15b3o12b
45o54b45o12b3o$15b3o12b44o56b44o12b3o$15b2o12b45o56b45o12b2o$15b2o12b
45o56b45o12b2o$14b2o13b44o58b44o13b2o$14b2o13b44o58b44o13b2o$14b2o12b
45o58b45o12b2o$13b2o13b44o60b44o13b2o$13b2o13b44o60b44o13b2o$13bo13b
44o62b44o13bo$12b2o13b44o62b44o13b2o$12b2o12b45o62b45o12b2o$12bo12b45o
64b45o12bo$11b2o12b45o64b45o12b2o$11b2o11b45o66b45o11b2o$10b2o11b46o
66b46o11b2o$9b3o11b45o68b45o11b3o$9b3o10b45o70b45o10b3o$8b3o10b46o70b
46o10b3o$7b4o10b45o72b45o10b4o$6b5o9b45o74b45o9b5o$6b4o10b45o74b45o10b
4o$5b5o9b45o76b45o9b5o$4b6o9b44o78b44o9b6o$4b6o8b45o78b45o8b6o$3b6o9b
44o80b44o9b6o$3b6o8b45o80b45o8b6o$2b7o7b45o82b45o7b7o$2b7o7b45o82b45o
7b7o$b7o7b45o84b45o7b7o$b7o7b45o84b45o7b7o$b7o6b45o86b45o6b7o$7o7b45o
86b45o7b7o$7o6b46o86b46o6b7o$7o6b45o88b45o6b7o$6o7b45o88b45o7b6o$6o6b
47o86b47o6b6o$6o6b47o86b47o6b6o$5o6b48o86b48o6b5o$b4o6b48o86b48o6b4o$b
3o7b49o84b49o7b3o$b3o6b50o84b50o6b3o$2bo7b51o82b51o7bo$10b51o82b51o$9b
53o80b53o$9b7o2b45o78b45o2b7o$9b6o3b44o80b44o3b6o$9b6o4b43o80b43o4b6o$
8b6o6b41o82b41o6b6o$8b5o8b40o82b40o8b5o$8b5o9b38o84b38o9b5o$8b4o11b37o
84b37o11b4o$9b3o12b35o86b35o12b3o$10bo14b34o86b34o14bo$26b32o88b32o$
27b31o88b31o$28b30o88b30o$29b29o88b29o$30b28o88b28o$31b27o88b27o$32b
26o88b26o$33b25o88b25o$34b25o86b25o$35b24o86b24o$36b24o84b24o$37b23o
84b23o$38b23o82b23o$39b22o82b22o$40b20o84b20o$41b19o84b19o$42b17o86b
17o$43b16o86b16o$44b15o86b15o$45b15o84b15o$46b16o80b16o$47b16o78b16o$
47b17o76b17o$48b17o74b17o$49b17o72b17o$50b17o70b17o$51b17o68b17o$52b
18o64b18o$53b18o62b18o$54b18o60b18o$55b19o56b19o$56b19o54b19o$57b20o
50b20o$58b21o46b21o$59b22o42b22o$59b25o36b25o$60b27o30b27o$59b31o24b
31o$59b37o12b37o$58b88o$59b86o$60b84o$61b82o$62b80o$63b78o$64b76o$65b
74o$67b70o$68b68o$69b66o$70b64o$72b60o$73b58o$75b54o$76b52o$78b48o$79b
46o$81b42o$84b36o$87b30o$90b24o$93b18o!

Code: Select all

#C [[ AUTOSTART HARDRESET RANDSEED 1667837374293 ]]
x = 204, y = 203, rule = R100,C2,S10350-15740,B9351-12361,P:T500
85b34o$79b46o$75b54o$72b60o$69b66o$67b70o$65b74o$63b78o$62b80o$60b84o$
59b86o$58b88o$56b92o$55b94o$54b96o$53b98o$52b100o$51b102o$51b102o$50b
104o$49b106o$48b108o$47b110o$47b110o$46b112o$45b114o$45b114o$44b116o$
44b116o$43b118o$42b120o$42b120o$41b122o$41b122o$40b124o$40b124o$39b
126o$39b126o$38b128o$38b128o$37b130o$36b132o$36b132o$35b134o$35b134o$
34b136o$33b138o$33b138o$32b140o$31b142o$31b142o$30b144o$30b144o$29b
146o$28b148o$28b148o$27b150o$27b150o$26b152o$25b154o$25b154o$24b156o$
24b11ob60o12b60ob11o$23b12ob57o18b57ob12o$23b11ob56o22b56ob11o$23b10o
2b54o26b54o2b10o$22b11o2b53o28b53o2b11o$22b10o2b53o30b53o2b10o$21b10o
3b52o32b52o3b10o$21b9o4b51o34b51o4b9o$20b10o4b50o36b50o4b10o$20b9o4b
50o38b50o4b9o$20b8o5b49o40b49o5b8o$19b8o6b48o42b48o6b8o$19b8o5b48o44b
48o5b8o$19b7o6b48o44b48o6b7o$18b7o7b47o46b47o7b7o$18b6o8b47o46b47o8b6o
$18b6o8b46o48b46o8b6o$17b6o8b47o48b47o8b6o$17b5o9b46o50b46o9b5o$17b5o
9b46o50b46o9b5o$17b4o10b46o50b46o10b4o$16b5o10b45o52b45o10b5o$16b4o10b
46o52b46o10b4o$16b3o11b45o54b45o11b3o$16b3o11b45o54b45o11b3o$15b3o12b
45o54b45o12b3o$15b3o12b44o56b44o12b3o$15b2o12b45o56b45o12b2o$15b2o12b
45o56b45o12b2o$14b2o13b44o58b44o13b2o$14b2o13b44o58b44o13b2o$14b2o12b
45o58b45o12b2o$13b2o13b44o60b44o13b2o$13b2o13b44o60b44o13b2o$13bo13b
44o62b44o13bo$12b2o13b44o62b44o13b2o$12b2o12b45o62b45o12b2o$12bo12b45o
64b45o12bo$11b2o12b45o64b45o12b2o$11b2o11b45o66b45o11b2o$10b2o11b46o
66b46o11b2o$9b3o11b45o68b45o11b3o$9b3o10b45o70b45o10b3o$8b3o10b46o70b
46o10b3o$7b4o10b45o72b45o10b4o$6b5o9b45o74b45o9b5o$6b4o10b45o74b45o10b
4o$5b5o9b45o76b45o9b5o$4b6o9b44o78b44o9b6o$4b6o8b45o78b45o8b6o$3b6o9b
44o80b44o9b6o$3b6o8b45o80b45o8b6o$2b7o7b45o82b45o7b7o$2b7o7b45o82b45o
7b7o$b7o7b45o84b45o7b7o$b7o7b45o84b45o7b7o$b7o6b45o86b45o6b7o$7o7b45o
86b45o7b7o$7o6b46o86b46o6b7o$7o6b45o88b45o6b7o$6o7b45o88b45o7b6o$6o6b
47o86b47o6b6o$6o6b47o86b47o6b6o$5o6b48o86b48o6b5o$b4o6b48o86b48o6b4o$b
3o7b49o84b49o7b3o$b3o6b50o84b50o6b3o$2bo7b51o82b51o7bo$10b51o82b51o$9b
53o80b53o$9b7o2b45o78b45o2b7o$9b6o3b44o80b44o3b6o$9b6o4b43o80b43o4b6o$
8b6o6b41o82b41o6b6o$8b5o8b40o82b40o8b5o$8b5o9b38o84b38o9b5o$8b4o11b37o
84b37o11b4o$9b3o12b35o86b35o12b3o$10bo14b34o86b34o14bo$26b32o88b32o$
27b31o88b31o$28b30o88b30o$29b29o88b29o$30b28o88b28o$31b27o88b27o$32b
26o88b26o$33b25o88b25o$34b25o86b25o$35b24o86b24o$36b24o84b24o$37b23o
84b23o$38b23o82b23o$39b22o82b22o$40b20o84b20o$41b19o84b19o$42b17o86b
17o$43b16o86b16o$44b15o86b15o$45b15o84b15o$46b16o80b16o$47b16o78b16o$
47b17o76b17o$48b17o74b17o$49b17o72b17o$50b17o70b17o$51b17o68b17o$52b
18o64b18o$53b18o62b18o$54b18o60b18o$55b19o56b19o$56b19o54b19o$57b20o
50b20o$58b21o46b21o$59b22o42b22o$59b25o36b25o$60b27o30b27o$59b31o24b
31o$59b37o12b37o$58b88o$59b86o$60b84o$61b82o$62b80o$63b78o$64b76o$65b
74o$67b70o$68b68o$69b66o$70b64o$72b60o$73b58o$75b54o$76b52o$78b48o$79b
46o$81b42o$84b36o$87b30o$90b24o$93b18o!

Code: Select all

#C [[ AUTOSTART HARDRESET RANDSEED 1667837246540 ]]
x = 204, y = 203, rule = R100,C2,S10350-15740,B9351-12361,P:T500
85b34o$79b46o$75b54o$72b60o$69b66o$67b70o$65b74o$63b78o$62b80o$60b84o$
59b86o$58b88o$56b92o$55b94o$54b96o$53b98o$52b100o$51b102o$51b102o$50b
104o$49b106o$48b108o$47b110o$47b110o$46b112o$45b114o$45b114o$44b116o$
44b116o$43b118o$42b120o$42b120o$41b122o$41b122o$40b124o$40b124o$39b
126o$39b126o$38b128o$38b128o$37b130o$36b132o$36b132o$35b134o$35b134o$
34b136o$33b138o$33b138o$32b140o$31b142o$31b142o$30b144o$30b144o$29b
146o$28b148o$28b148o$27b150o$27b150o$26b152o$25b154o$25b154o$24b156o$
24b11ob60o12b60ob11o$23b12ob57o18b57ob12o$23b11ob56o22b56ob11o$23b10o
2b54o26b54o2b10o$22b11o2b53o28b53o2b11o$22b10o2b53o30b53o2b10o$21b10o
3b52o32b52o3b10o$21b9o4b51o34b51o4b9o$20b10o4b50o36b50o4b10o$20b9o4b
50o38b50o4b9o$20b8o5b49o40b49o5b8o$19b8o6b48o42b48o6b8o$19b8o5b48o44b
48o5b8o$19b7o6b48o44b48o6b7o$18b7o7b47o46b47o7b7o$18b6o8b47o46b47o8b6o
$18b6o8b46o48b46o8b6o$17b6o8b47o48b47o8b6o$17b5o9b46o50b46o9b5o$17b5o
9b46o50b46o9b5o$17b4o10b46o50b46o10b4o$16b5o10b45o52b45o10b5o$16b4o10b
46o52b46o10b4o$16b3o11b45o54b45o11b3o$16b3o11b45o54b45o11b3o$15b3o12b
45o54b45o12b3o$15b3o12b44o56b44o12b3o$15b2o12b45o56b45o12b2o$15b2o12b
45o56b45o12b2o$14b2o13b44o58b44o13b2o$14b2o13b44o58b44o13b2o$14b2o12b
45o58b45o12b2o$13b2o13b44o60b44o13b2o$13b2o13b44o60b44o13b2o$13bo13b
44o62b44o13bo$12b2o13b44o62b44o13b2o$12b2o12b45o62b45o12b2o$12bo12b45o
64b45o12bo$11b2o12b45o64b45o12b2o$11b2o11b45o66b45o11b2o$10b2o11b46o
66b46o11b2o$9b3o11b45o68b45o11b3o$9b3o10b45o70b45o10b3o$8b3o10b46o70b
46o10b3o$7b4o10b45o72b45o10b4o$6b5o9b45o74b45o9b5o$6b4o10b45o74b45o10b
4o$5b5o9b45o76b45o9b5o$4b6o9b44o78b44o9b6o$4b6o8b45o78b45o8b6o$3b6o9b
44o80b44o9b6o$3b6o8b45o80b45o8b6o$2b7o7b45o82b45o7b7o$2b7o7b45o82b45o
7b7o$b7o7b45o84b45o7b7o$b7o7b45o84b45o7b7o$b7o6b45o86b45o6b7o$7o7b45o
86b45o7b7o$7o6b46o86b46o6b7o$7o6b45o88b45o6b7o$6o7b45o88b45o7b6o$6o6b
47o86b47o6b6o$6o6b47o86b47o6b6o$5o6b48o86b48o6b5o$b4o6b48o86b48o6b4o$b
3o7b49o84b49o7b3o$b3o6b50o84b50o6b3o$2bo7b51o82b51o7bo$10b51o82b51o$9b
53o80b53o$9b7o2b45o78b45o2b7o$9b6o3b44o80b44o3b6o$9b6o4b43o80b43o4b6o$
8b6o6b41o82b41o6b6o$8b5o8b40o82b40o8b5o$8b5o9b38o84b38o9b5o$8b4o11b37o
84b37o11b4o$9b3o12b35o86b35o12b3o$10bo14b34o86b34o14bo$26b32o88b32o$
27b31o88b31o$28b30o88b30o$29b29o88b29o$30b28o88b28o$31b27o88b27o$32b
26o88b26o$33b25o88b25o$34b25o86b25o$35b24o86b24o$36b24o84b24o$37b23o
84b23o$38b23o82b23o$39b22o82b22o$40b20o84b20o$41b19o84b19o$42b17o86b
17o$43b16o86b16o$44b15o86b15o$45b15o84b15o$46b16o80b16o$47b16o78b16o$
47b17o76b17o$48b17o74b17o$49b17o72b17o$50b17o70b17o$51b17o68b17o$52b
18o64b18o$53b18o62b18o$54b18o60b18o$55b19o56b19o$56b19o54b19o$57b20o
50b20o$58b21o46b21o$59b22o42b22o$59b25o36b25o$60b27o30b27o$59b31o24b
31o$59b37o12b37o$58b88o$59b86o$60b84o$61b82o$62b80o$63b78o$64b76o$65b
74o$67b70o$68b68o$69b66o$70b64o$72b60o$73b58o$75b54o$76b52o$78b48o$79b
46o$81b42o$84b36o$87b30o$90b24o$93b18o!

Code: Select all

#C [[ AUTOSTART HARDRESET RANDSEED 1667837707853 ]]
x = 204, y = 203, rule = R100,C2,S10350-15740,B9351-12361,P:T500
85b34o$79b46o$75b54o$72b60o$69b66o$67b70o$65b74o$63b78o$62b80o$60b84o$
59b86o$58b88o$56b92o$55b94o$54b96o$53b98o$52b100o$51b102o$51b102o$50b
104o$49b106o$48b108o$47b110o$47b110o$46b112o$45b114o$45b114o$44b116o$
44b116o$43b118o$42b120o$42b120o$41b122o$41b122o$40b124o$40b124o$39b
126o$39b126o$38b128o$38b128o$37b130o$36b132o$36b132o$35b134o$35b134o$
34b136o$33b138o$33b138o$32b140o$31b142o$31b142o$30b144o$30b144o$29b
146o$28b148o$28b148o$27b150o$27b150o$26b152o$25b154o$25b154o$24b156o$
24b11ob60o12b60ob11o$23b12ob57o18b57ob12o$23b11ob56o22b56ob11o$23b10o
2b54o26b54o2b10o$22b11o2b53o28b53o2b11o$22b10o2b53o30b53o2b10o$21b10o
3b52o32b52o3b10o$21b9o4b51o34b51o4b9o$20b10o4b50o36b50o4b10o$20b9o4b
50o38b50o4b9o$20b8o5b49o40b49o5b8o$19b8o6b48o42b48o6b8o$19b8o5b48o44b
48o5b8o$19b7o6b48o44b48o6b7o$18b7o7b47o46b47o7b7o$18b6o8b47o46b47o8b6o
$18b6o8b46o48b46o8b6o$17b6o8b47o48b47o8b6o$17b5o9b46o50b46o9b5o$17b5o
9b46o50b46o9b5o$17b4o10b46o50b46o10b4o$16b5o10b45o52b45o10b5o$16b4o10b
46o52b46o10b4o$16b3o11b45o54b45o11b3o$16b3o11b45o54b45o11b3o$15b3o12b
45o54b45o12b3o$15b3o12b44o56b44o12b3o$15b2o12b45o56b45o12b2o$15b2o12b
45o56b45o12b2o$14b2o13b44o58b44o13b2o$14b2o13b44o58b44o13b2o$14b2o12b
45o58b45o12b2o$13b2o13b44o60b44o13b2o$13b2o13b44o60b44o13b2o$13bo13b
44o62b44o13bo$12b2o13b44o62b44o13b2o$12b2o12b45o62b45o12b2o$12bo12b45o
64b45o12bo$11b2o12b45o64b45o12b2o$11b2o11b45o66b45o11b2o$10b2o11b46o
66b46o11b2o$9b3o11b45o68b45o11b3o$9b3o10b45o70b45o10b3o$8b3o10b46o70b
46o10b3o$7b4o10b45o72b45o10b4o$6b5o9b45o74b45o9b5o$6b4o10b45o74b45o10b
4o$5b5o9b45o76b45o9b5o$4b6o9b44o78b44o9b6o$4b6o8b45o78b45o8b6o$3b6o9b
44o80b44o9b6o$3b6o8b45o80b45o8b6o$2b7o7b45o82b45o7b7o$2b7o7b45o82b45o
7b7o$b7o7b45o84b45o7b7o$b7o7b45o84b45o7b7o$b7o6b45o86b45o6b7o$7o7b45o
86b45o7b7o$7o6b46o86b46o6b7o$7o6b45o88b45o6b7o$6o7b45o88b45o7b6o$6o6b
47o86b47o6b6o$6o6b47o86b47o6b6o$5o6b48o86b48o6b5o$b4o6b48o86b48o6b4o$b
3o7b49o84b49o7b3o$b3o6b50o84b50o6b3o$2bo7b51o82b51o7bo$10b51o82b51o$9b
53o80b53o$9b7o2b45o78b45o2b7o$9b6o3b44o80b44o3b6o$9b6o4b43o80b43o4b6o$
8b6o6b41o82b41o6b6o$8b5o8b40o82b40o8b5o$8b5o9b38o84b38o9b5o$8b4o11b37o
84b37o11b4o$9b3o12b35o86b35o12b3o$10bo14b34o86b34o14bo$26b32o88b32o$
27b31o88b31o$28b30o88b30o$29b29o88b29o$30b28o88b28o$31b27o88b27o$32b
26o88b26o$33b25o88b25o$34b25o86b25o$35b24o86b24o$36b24o84b24o$37b23o
84b23o$38b23o82b23o$39b22o82b22o$40b20o84b20o$41b19o84b19o$42b17o86b
17o$43b16o86b16o$44b15o86b15o$45b15o84b15o$46b16o80b16o$47b16o78b16o$
47b17o76b17o$48b17o74b17o$49b17o72b17o$50b17o70b17o$51b17o68b17o$52b
18o64b18o$53b18o62b18o$54b18o60b18o$55b19o56b19o$56b19o54b19o$57b20o
50b20o$58b21o46b21o$59b22o42b22o$59b25o36b25o$60b27o30b27o$59b31o24b
31o$59b37o12b37o$58b88o$59b86o$60b84o$61b82o$62b80o$63b78o$64b76o$65b
74o$67b70o$68b68o$69b66o$70b64o$72b60o$73b58o$75b54o$76b52o$78b48o$79b
46o$81b42o$84b36o$87b30o$90b24o$93b18o!

User avatar
otismo
Posts: 1220
Joined: August 18th, 2010, 1:41 pm
Location: Florida
Contact:

Re: Pattern viewer for forum threads

Post by otismo » November 2nd, 2022, 12:56 pm

seems like google chrome does not like our Life Viewer

is there already a thread for this ?

Thank You !
"One picture is worth 1000 words; but one thousand words, carefully crafted, can paint an infinite number of pictures."
- autonomic writing
forFUN : http://viropet.com
Art Gallery : http://cgol.art
Video WebSite : http://conway.life

Book
Posts: 385
Joined: August 28th, 2021, 2:38 pm
Location: California
Contact:

Re: Pattern viewer for forum threads

Post by Book » November 2nd, 2022, 1:20 pm

otismo wrote:
November 2nd, 2022, 12:56 pm
seems like google chrome does not like our Life Viewer

is there already a thread for this ?

Thank You !
assuming it is the same bug: viewtopic.php?f=3&t=1622&start=2325#p151543
Phil Bookman

User avatar
muzik
Posts: 5652
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » November 2nd, 2022, 3:29 pm

rowett wrote:
November 2nd, 2022, 10:25 am
Same pattern, different random seeds...
Instead of a NR neighbourhood, could some sort of suffix be added to the HROT rulestring that controls determinicity as to allow for non-deterministic rules with any supported neighbourhood?

User avatar
rowett
Moderator
Posts: 3823
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Pattern viewer for forum threads

Post by rowett » November 2nd, 2022, 4:08 pm

muzik wrote:
November 2nd, 2022, 3:29 pm
rowett wrote:
November 2nd, 2022, 10:25 am
Same pattern, different random seeds...
Instead of a NR neighbourhood, could some sort of suffix be added to the HROT rulestring that controls determinicity as to allow for non-deterministic rules with any supported neighbourhood?
I haven't decided yet it's currently just an experiment. If it turns out to be interesting I'll develop it further.

User avatar
confocaloid
Posts: 3066
Joined: February 8th, 2022, 3:15 pm

Re: Pattern viewer for forum threads

Post by confocaloid » November 3rd, 2022, 3:53 am

I was asked on my talk page whether there is an issue with odd- vs. even-numbered ZOOM settings. The current documentation of the EmbedViewer template recommends to use even integers for ZOOM. The recommendation was added by GUYTU6J in May 2022.

I wanted to ask whether that recommendation is valid/up-to-date. Does it make sense to restrict to even integer zoom values? Was this discussed somewhere before adding this to the template documentation?
127:1 B3/S234c User:Confocal/R (isotropic CA, incomplete)
Unlikely events happen.
My silence does not imply agreement, nor indifference. If I disagreed with something in the past, then please do not construe my silence as something that could change that.

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 » November 3rd, 2022, 6:10 am

confocaloid wrote:
November 3rd, 2022, 3:53 am
I was asked on my talk page whether there is an issue with odd- vs. even-numbered ZOOM settings. The current documentation of the EmbedViewer template recommends to use even integers for ZOOM. The recommendation was added by GUYTU6J in May 2022.

I wanted to ask whether that recommendation is valid/up-to-date. Does it make sense to restrict to even integer zoom values? Was this discussed somewhere before adding this to the template documentation?
The issue with odd integer zooms is that they make a pattern in Template:EmbedViewer slightly distorted, in which different cells appear to have different sizes. 1:1 screenshots from some samples demonstrate the effect from ZOOM 2 to ZOOM 11:
zoom.png
zoom.png (37.39 KiB) Viewed 971 times
On the left are those with even integers; it appears that the cell size in pixels is consistently ZOOM divided by 2 (minus 1 when grid line is present).

On the right use odd integers; ZOOM/2 is no longer an integer, and the cell size may vary by ±1 pixel. The resulting display is not only aesthetically not pleasing, but also potentially misleading.

If someone knowing a little about LifeViewer attempts to download the pattern by means based on a hasty screenshot, they would end up getting something like

Code: Select all

x = 178, y = 52, rule = B3/S23
36b2o110b2o$35b4o109b2o$35b4o107b6o$33b3o2bo107b6o$15b3o15b5o106b4o2b
2o$15b3o15b5o106b4o2b2o$14bo3b2o13b5o82b4o20b6o$14bo18b5o82b4o20b6o$
14bo18b5o80b2o4b2o18b6o$35b3o80b2o4b2o18b6o$12b2o4b2o98b2o24b6o$12b2o
4b2o98b2o24b6o$11bo8bo125b4o$11bo8bo125b4o$11bo8bo95b2o6b2o$11b4o2b4o
27b3o65b2o6b2o$47bo2bo63b2o10b2o$47bo2bo63b2o10b2o$2bo45b2o64b2o10b2o$
2ob2o109b2o10b2o$2ob2o109b6o2b6o36b4o$3o111b6o2b6o36b4o$162b2o2b2o$
162b2o2b2o$9b3o9b3o32bo45b2o60b2o$8bo3b2o6bo3b2o30bo45b2o60b2o$8bo3b2o
6bo3b2o30bo43b2o2b2o$8bo3b2o6bo3b2o18bo9b2ob2o41b2o2b2o$8bo3b2o6bo3b2o
16b3o11bo43b4o$8bo3b2o6bo3b2o16b3o11bo43b4o$9b3o9b3o9b3o5b3o12bo$33b3o
6b3o11bo$33b3o6b3o11bo55b4o12b4o42b2o$44bo11bo55b4o12b4o42b2o$54b2ob2o
51b2o4b2o8b2o4b2o40b2o$54b2ob2o51b2o4b2o8b2o4b2o40b2o$56bo53b2o4b2o8b
2o4b2o24b2o12b2o2b2o$56bo53b2o4b2o8b2o4b2o24b2o12b2o2b2o$56bo53b2o4b2o
8b2o4b2o22b4o14b2o$110b2o4b2o8b2o4b2o22b4o14b2o$112b4o12b4o12b4o6b4o
16b2o$112b4o12b4o12b4o6b4o16b2o$144b4o8b4o14b2o$144b4o8b4o14b2o$158b2o
14b2o$158b2o14b2o$172b2o2b2o$172b2o2b2o$174b2o$174b2o$174b2o$174b2o!
The right one from ZOOM 4 may be corrected by downscaling by 2, but the left one from ZOOM 3 cannot.

User avatar
pzq_alex
Posts: 793
Joined: May 1st, 2021, 9:00 pm
Location: tell me if you know

Re: Pattern viewer for forum threads

Post by pzq_alex » November 3rd, 2022, 7:51 am

pzq_alex wrote:
October 4th, 2022, 6:09 am
Upon opening the LifeViewer in viewtopic.php?f=11&t=4009&p=151742#p151742, it says that the pattern is too big; however, if you look more closely, the pattern is shown 2-state.
Also, new bug: after this one has STOPped, step one step back, set the step to 1, and then try to press the "step" button. Be sure to refresh the page after each attempt (it only works on LifeViewers opened for the first time).

Code: Select all

x = 1, y = 1, rule = B3/S23
!
[[ RANDOMIZE STEP 64 STOP 640 ]]
Last edited by pzq_alex on November 3rd, 2022, 8:36 am, edited 2 times in total.
\sum_{n=1}^\infty H_n/n^2 = \zeta(3)

How much of current CA technology can I redevelop "on a desert island"?

User avatar
rowett
Moderator
Posts: 3823
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Pattern viewer for forum threads

Post by rowett » November 3rd, 2022, 7:51 am

GUYTU6J wrote:
November 3rd, 2022, 6:10 am
confocaloid wrote:
November 3rd, 2022, 3:53 am
I was asked on my talk page whether there is an issue with odd- vs. even-numbered ZOOM settings.
The issue with odd integer zooms is that they make a pattern in Template:EmbedViewer slightly distorted, in which different cells appear to have different sizes.
The thumbnails are half of the size of the full viewer so the Zoom values are divided by 2. This means that odd integer zoom numbers become non-integers (3/2 = 1.5, 5/2 = 2.5, etc.).
By default LifeViewer uses a nearest pixel sampling method to display the cells. This is fast but not pretty for non-integer zooms. The good news is that LifeViewer also features a prettier display method that uses anti-aliasing to display the cells. This is a bit slower and uses a bit more memory.

Here is the default mode:

Code: Select all

#C [[ ZOOM 3 THUMBLAUNCH THUMBSIZE 2 THEME Inverse GRID ]]
x = 39, y = 26, rule = B3/S23
24bo$23b3o$22b2obo$10b2o10b3o$9bo2bo9b3o$9bo12b3o$23b2o$8bo3bo$7bo5bo
$7bo5bo$7b3ob3o18b2o$31bobo$bo30bo$obo$2o2$6b2o6b2o21bo$5bo2bo4bo2bo20b
o$5bo2bo4bo2bo12bo6bobo$5bo2bo4bo2bo11b2o7bo$6b2o6b2o6b2o3b2o8bo$22b2o
4b2o7bo$29bo7bo$36bobo$37bo$37bo!

Here is the quality mode:

Code: Select all

#C [[ ZOOM 3 THUMBLAUNCH THUMBSIZE 2 QUALITY THEME Inverse GRID ]]
x = 39, y = 26, rule = B3/S23
24bo$23b3o$22b2obo$10b2o10b3o$9bo2bo9b3o$9bo12b3o$23b2o$8bo3bo$7bo5bo
$7bo5bo$7b3ob3o18b2o$31bobo$bo30bo$obo$2o2$6b2o6b2o21bo$5bo2bo4bo2bo20b
o$5bo2bo4bo2bo12bo6bobo$5bo2bo4bo2bo11b2o7bo$6b2o6b2o6b2o3b2o8bo$22b2o
4b2o7bo$29bo7bo$36bobo$37bo$37bo!

So perhaps consider adding the [[ QUALITY ]] script command.

User avatar
rowett
Moderator
Posts: 3823
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Pattern viewer for forum threads

Post by rowett » November 3rd, 2022, 12:46 pm

muzik wrote:
November 2nd, 2022, 7:06 am
COLOR BACKGROUND does not seem to work as expected for the none rule, and doesn't seem to work for rule tables either.
Fixed, thanks.

User avatar
rowett
Moderator
Posts: 3823
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Pattern viewer for forum threads

Post by rowett » November 4th, 2022, 12:47 am

pzq_alex wrote:
November 3rd, 2022, 7:51 am
after this one has STOPped, step one step back, set the step to 1, and then try to press the "step" button.
Fixed, thanks.

User avatar
muzik
Posts: 5652
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » November 5th, 2022, 9:56 am

The antialiasing option can cause living cells to partially appear in other cell spaces with cell borders enabled at certain zoom levels:

Code: Select all

x = 5, y = 5, rule = B3/S23
5o$obobo$5o$obobo$5o!
[[ CELLBORDERS QUALITY ZOOM 5.37 THEME Inverse ]]

Post Reply