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
confocaloid
Posts: 5535
Joined: February 8th, 2022, 3:15 pm
Location: learn to protect yourself against stray gliders and sparks and self-destruct mechanisms

Re: Pattern viewer for forum threads

Post by confocaloid » February 3rd, 2025, 9:53 pm

confocaloid wrote:
February 3rd, 2025, 5:33 pm
rowett wrote:
February 3rd, 2025, 5:30 pm
Would you mind letting me know the specifics of your device? It will help with further optimization planning.
Firefox 134, otherwise the same device as previously:
confocaloid wrote:
January 30th, 2024, 12:51 am
Celeron 4205U, 4GB RAM, Ubuntu 22.04,
confocaloid wrote:
July 20th, 2024, 12:37 pm
[...] Laptop, Ubuntu 22.04 / GNOME 42.9, resolution 1366x768, [...]
rowett wrote:
February 3rd, 2025, 8:31 pm
LifeViewer build 1232 is about 50% faster loading patterns.
Opening the page Water strider in Firefox 134.0.2, Ubuntu 22.04:

Code: Select all

refresh rate 60Hz lv-plugin.js:1288:392
read embedded: 5400ms lv-plugin.js:64:239
page scan: 5448ms lv-plugin.js:66:157
Clicking on the infobox viewer takes 4-5 seconds, and doesn't appear to leave any additional output. The viewer says it is build 1232.

The wiki page's current revision is https://conwaylife.com/w/index.php?titl ... did=158454
The wiki page currently uses the following revision of the RLE page: https://conwaylife.com/w/index.php?titl ... did=158442
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.

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

Re: Pattern viewer for forum threads

Post by rowett » February 5th, 2025, 5:42 am

dbell wrote:
February 3rd, 2025, 7:55 pm
Could the pattern viewer popup be made resizable like most other windows? That would be very handy for large patterns.

BCNU,
-dbell
LifeViewer build 1236 allows you to maximize/restore the viewer popup with hotkey F9.

Note the window must have focus.

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

Re: Pattern viewer for forum threads

Post by rowett » February 5th, 2025, 9:16 am

hotcrystal0 wrote:
February 3rd, 2025, 8:23 pm
rowett wrote:
February 3rd, 2025, 7:46 am
LifeViewer build 1231 reduces the height of code boxes that contain valid patterns (i.e. have a SHOW IN VIEWER link). This is to give more real estate on the page.
Could there be the option to resize it to make it taller? (the default will be what it is right now, and it resets when you reload the page)
Not sure I understand. Do you want the option to have individual code boxes taller? What's the benefit?

User avatar
hotcrystal0
Posts: 3176
Joined: July 3rd, 2020, 5:32 pm
Location: United States

Re: Pattern viewer for forum threads

Post by hotcrystal0 » February 5th, 2025, 4:15 pm

Forgot it. How about make code boxes containing a rule and its ruletable after the RLE bigger?

Code: Select all

x = 192, y = 53, rule = B3/S23
33$42b4o$41b6o$40b2ob4o$41b2o3$41b2o$39bo6bo$38bo8bo$38bo8bo$38b9o3$42b
4o$41b6o$40b2ob4o$41b2o!

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

Re: Pattern viewer for forum threads

Post by rowett » February 6th, 2025, 11:25 am

hotcrystal0 wrote:
February 5th, 2025, 4:15 pm
How about make code boxes containing a rule and its ruletable after the RLE bigger?
Nice idea. LifeViewer build 1237 will not reduce the height of a code box that contains an @RULE definition.

Code: Select all

x = 3, y = 3, rule = Life
2bo$obo$b2o!

What a lovely glider!
The rule is built-in.

Code: Select all

x = 3, y = 3, rule = EmbeddedRuleLife
2bo$obo$b2o!

What a lovely glider!

@RULE EmbeddedRuleLife

@TABLE
n_states:2
neighborhood:Moore
symmetries:permute

0,1,1,1,0,0,0,0,0,1
1,0,0,0,0,0,0,0,0,0
1,1,0,0,0,0,0,0,0,0
1,1,1,1,1,0,0,0,0,0
1,1,1,1,1,1,0,0,0,0
1,1,1,1,1,1,1,0,0,0
1,1,1,1,1,1,1,1,0,0
1,1,1,1,1,1,1,1,1,0

@NAMES
0 BACKGROUND
1 ALIVE

User avatar
get_Snacked
Posts: 428
Joined: August 20th, 2022, 10:51 pm
Location: mushroom kingdom
Contact:

Re: Pattern viewer for forum threads

Post by get_Snacked » February 7th, 2025, 8:40 pm

get_Snacked wrote:
February 7th, 2025, 8:15 pm
EDIT:
wow!

Code: Select all

x = 19, y = 19, rule = LifeHistory
14.A$3D10.3A$D6.D4.5A.A$3D8.2A3.2A$D.D9.5A$3D10.3A$14.A$11.3A4$11.3A$
5.D8.A$3D2.3D5.3A$D6.D4.5A$3D8.2A3.2A$2.D9.5A.A$3D10.3A$14.A!
[[ PASTET 6 PASTE A! 7 2 ]]
[[ PASTET 5 PASTE A$3A$2.A! 5 12 ]]
i tried to paste in state-3 cells instead of state-1 cells to preserve the red marked cells, but the cells ended up being state-1 nevertheless:

Code: Select all

x = 19, y = 19, rule = LifeHistory
14.A$3D10.3A$D6.D4.5A.A$3D8.2A3.2A$D.D9.5A$3D10.3A$14.A$11.3A4$11.3A$
5.D8.A$3D2.3D5.3A$D6.D4.5A$3D8.2A3.2A$2.D9.5A.A$3D10.3A$14.A!
[[ PASTET 6 PASTE C! 7 2 ]]
[[ PASTET 5 PASTE C$3C$2.C! 5 12 ]]
how do i fix this?

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

Re: Pattern viewer for forum threads

Post by rowett » February 8th, 2025, 3:45 pm

get_Snacked wrote:
February 7th, 2025, 8:40 pm
i tried to paste in state-3 cells instead of state-1 cells to preserve the red marked cells, but the cells ended up being state-1 nevertheless

how do i fix this?
Try [[ PASTEMODE COPY ]] before the first paste.

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

Re: Pattern viewer for forum threads

Post by rowett » February 11th, 2025, 12:18 pm

Build 1240 adds Safe Mode which helps on low memory devices
  • toggle with Settings>Advanced>Safe Mode (hotkey Shift F9)
    • this setting is saved for the current browser on the current device
  • will not add SHOW IN VIEWER link when pattern uses [[ MAXGRIDSIZE 14 ]]
  • will not Launch Thumbnail when pattern uses [[ MAXGRIDSIZE 14 ]]
    • instead, RLE can be copied by clicking on the Thumbnail
      • this can be disabled with [[ NOCOPY ]]

Post Reply