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

Re: Pattern viewer for forum threads

Post by rowett » December 18th, 2024, 5:51 pm

get_Snacked wrote:
December 18th, 2024, 2:12 pm
i want to make a [really bad] troll where the highlighted 4x2 rectangle is turned fully empty on generation 2
how can i do that?

Code: Select all

x = 17, y = 17, rule = LifeHistory
10.2A$10.A$11.A$10.2A2$A.2A$2A.A$8.2A$8.A.A$10.2A$8.CDCD.A.2A$8.2C2D.
2A.A2$5.2A$5.A$6.A$5.2A!

Set paste mode to Copy so cells are overwritten
[[ PASTEMODE COPY ]]

Set next paste to happen at generation 2
[[ PASTET 2 ]]

Paste a 4x2 rectangle of empty cells at the correct location
[[ PASTE 4b$4b! 8 10 ]]

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

Re: Pattern viewer for forum threads

Post by get_Snacked » December 18th, 2024, 6:28 pm

rowett wrote:
December 18th, 2024, 5:51 pm

Code: Select all

x = 17, y = 17, rule = LifeHistory
10.2A$10.A$11.A$10.2A2$A.2A$2A.A$8.2A$8.A.A$10.2A$8.CDCD.A.2A$8.2C2D.
2A.A2$5.2A$5.A$6.A$5.2A!

Set paste mode to Copy so cells are overwritten
[[ PASTEMODE COPY ]]

Set next paste to happen at generation 2
[[ PASTET 2 ]]

Paste a 4x2 rectangle of empty cells at the correct location
[[ PASTE 4b$4b! 8 10 ]]
thanks!

Code: Select all

x = 18, y = 18, rule = B3/S23
11b2o$11bo$12bo$11b2o2$ob2o$2obo2$9b2o$9bobo$11b2o$9bobo2bob2o$9b2o3b
2obo2$5b2o$5bo$6bo$5b2o!
[[ PASTEMODE COPY PASTET EVERY 32 2 PASTE 4b$4b! 9 11 ]]
[[ PASTEMODE COPY PASTET EVERY 32 10 PASTE 2b$2b$2b$2b! 11 5 ]]
[[ PASTEMODE COPY PASTET EVERY 32 18 PASTE 4b$4b! 5 5 ]]
[[ PASTEMODE COPY PASTET EVERY 32 26 PASTE 2b$2b$2b$2b! 5 9 ]]

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

Re: Pattern viewer for forum threads

Post by rowett » December 29th, 2024, 12:28 pm

Sneak preview!

lifeviewer-pro.png
lifeviewer-pro.png (157.75 KiB) Viewed 4501 times
lifeviewer-standard.png
lifeviewer-standard.png (158.22 KiB) Viewed 4501 times

User avatar
LuveelVoom
Posts: 121
Joined: April 27th, 2022, 7:59 pm

Re: Pattern viewer for forum threads

Post by LuveelVoom » December 29th, 2024, 3:37 pm

rowett wrote:
December 29th, 2024, 12:28 pm
Sneak preview!


lifeviewer-pro.png
lifeviewer-standard.png
:o
Lifeviewer pro? Twice as good performance? Is this a download, or an optimization update or… what? Whatever it is, it looks awesome!

Will it maybe have bigger grids and the option to run faster than 64x?
Rules with time/space behavior thread: viewtopic.php?f=11&t=6803
My rules (has link to ada's rule): viewtopic.php?f=11&t=6843&p=203381#p202923
Discord user: LuveelVoom

User avatar
confocaloid
Posts: 5572
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 » December 29th, 2024, 3:49 pm

LuveelVoom wrote:
December 29th, 2024, 3:37 pm
[...] Lifeviewer pro? Twice as good performance? Is this a download, or an optimization update or… what? Whatever it is, it looks awesome! [...]
rowett wrote:
July 21st, 2024, 10:03 am
unname4798 wrote:
July 21st, 2024, 9:19 am
What is LifeViewer Pro?
A version of LifeViewer only for serious professionals. It differs in two respects: 1) it's not free. 2) it says "Pro" rather than "Standard".

User avatar
confocaloid
Posts: 5572
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 » December 29th, 2024, 6:56 pm

In LifeViewer build 1225, viewing the following snippet (unexpectedly) clears all the birth/survival conditions.
The expected behaviour is that only the pattern is filled randomly, while the rules are kept unchanged.

I believe it worked as I expected when I posted it.
confocaloid wrote:
December 24th, 2024, 8:39 am

Code: Select all

#C [[ GRID THEME MCell RANDOMIZE RANDWIDTH 200 RANDHEIGHT 160 RANDFILL 25 ]]
x = 1, y = 1, rule = R5,C0,S4,7-10,12,17-18,20-21,24-25,30,32-33,35,37-38,41,44-46,48-49,52,54-55,60-62,64,B6-7,9-10,14,17-18,20-23,33,35,39,42,44-45,53-57,61,64,NW000000000001000000000000000100000000000100000001000000000000000100000000000000000000000000000000000D0000000000010000000D000D0000000100000000000D00000000000000000000000000000000000100000000000000010000000100000000000100000000000000010000000000
o!
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: 4145
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Pattern viewer for forum threads

Post by rowett » December 30th, 2024, 2:07 am

confocaloid wrote:
December 29th, 2024, 6:56 pm
In LifeViewer build 1225, viewing the following snippet (unexpectedly) clears all the birth/survival conditions.
Fixed, thanks!

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

Re: Pattern viewer for forum threads

Post by rowett » December 30th, 2024, 6:34 pm

Getting closer...

lifeviewer-pro2.png
lifeviewer-pro2.png (70.41 KiB) Viewed 4402 times
golly4.3.png
golly4.3.png (13.25 KiB) Viewed 4402 times

User avatar
LuveelVoom
Posts: 121
Joined: April 27th, 2022, 7:59 pm

Re: Pattern viewer for forum threads

Post by LuveelVoom » December 30th, 2024, 6:55 pm

rowett wrote:
December 30th, 2024, 6:34 pm
Getting closer...


lifeviewer-pro2.png


golly4.3.png
HROT algorithm update?!?!?! omg i am so hyped :D


Edit:

Feature request, could we have a graph for multi state rules that shows the pop/birth/death of each state?
Rules with time/space behavior thread: viewtopic.php?f=11&t=6803
My rules (has link to ada's rule): viewtopic.php?f=11&t=6843&p=203381#p202923
Discord user: LuveelVoom

User avatar
confocaloid
Posts: 5572
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 » December 30th, 2024, 9:51 pm

LuveelVoom wrote:
December 30th, 2024, 6:55 pm
[...] Feature request, could we have a graph for multi state rules that shows the pop/birth/death of each state?
The "population" graphs for each nonzero cellstate separately may be possible, there would be n-1 "population" graphs for a n-state CA.

The "birth/death" part no longer suffices with three or more cellstates. Instead of just two graphs "births" and "deaths", there would be up to n(n-1) graphs for a n-state CA. There would be a separate graph for every state-changing transition. So for example 6 graphs for a three-state CA (0->1, 0->2, 1->0, 1->2, 2->0, 2->1); 12 graphs for a four-state CA; 20 graphs for a five-state CA; and so on. With >3 cellstates that probably would be impractical to display in an embedded viewer.

Maybe simply disable "births/deaths" for general multistate CA (because in general there is no guarantee that the concepts of births and deaths at all make sense), and instead display only the population graph, but let the user choose which cellstates should contribute to the population?
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: 4145
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Pattern viewer for forum threads

Post by rowett » January 5th, 2025, 12:04 pm

Supreme victory!

lifeviewer-pro-vn.png
lifeviewer-pro-vn.png (31.49 KiB) Viewed 4272 times
golly4.3vn.png
golly4.3vn.png (9.22 KiB) Viewed 4272 times

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

Re: Pattern viewer for forum threads

Post by rowett » January 6th, 2025, 2:11 pm

2-state 1024x1024 patterns.

For these rules on average LifeViewer Pro is 4x the speed of LifeViewer Standard, and 94% the speed of Golly 4.3.

lifeviewer-pro-hrot.png
lifeviewer-pro-hrot.png (18.78 KiB) Viewed 4242 times

User avatar
b-engine
Posts: 2555
Joined: October 26th, 2023, 4:11 am
Location: Somewhere on where Earth At

Re: Pattern viewer for forum threads

Post by b-engine » January 12th, 2025, 8:27 am

confocaloid wrote:
January 11th, 2025, 9:06 pm
Note that LifeViewer has scripting commands which can autogenerate pseudorandom soups, and can avoid the need to post them explicitly. (The scripting commands also clearly communicate to other people both the intent to show a soup and the specific way of generating the soup.)

Code: Select all

#C [[ RANDOMIZE RANDWIDTH 256 RANDHEIGHT 192 RANDFILL 33 RANDSEED 31415926 ]]
x = 1, y = 1, rule = B3/S23
o!
How to get the seed of a large random pattern, anyway?
500: Internal server error. Back to homepage.

User avatar
confocaloid
Posts: 5572
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 » January 12th, 2025, 8:34 am

b-engine wrote:
January 12th, 2025, 8:27 am
How to get the seed of a large random pattern, anyway?
I think it works in the other direction. "RANDSEED" is part of input data, and the pseudorandom pattern is the output. However, most "random-looking patterns" cannot be obtained this way.
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: 4145
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Pattern viewer for forum threads

Post by rowett » January 12th, 2025, 11:31 am

When released, LifeViewer Pro will require the following browser versions:
  • Chrome 91+
  • Edge 91+
  • Safari 16.4+
  • Firefox 89+
  • Opera 77+
If you have an older browser then it will run in the current Standard mode.

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

Re: Pattern viewer for forum threads

Post by rowett » January 15th, 2025, 6:18 pm

lifeviewer-pro-really.png
lifeviewer-pro-really.png (11.14 KiB) Viewed 4021 times

User avatar
LuveelVoom
Posts: 121
Joined: April 27th, 2022, 7:59 pm

Re: Pattern viewer for forum threads

Post by LuveelVoom » January 15th, 2025, 8:21 pm

rowett wrote:
January 15th, 2025, 6:18 pm
lifeviewer-pro-really.png
Given the FOUR TIMES performance increase, might we have an option to go higher than 96? 128, maybe? 256, perhaps?
Also, this update is looking to be HUGE. If you’re changing elements of the UI and not just performance now, can we expect more features? Support for more rulespaces, maybe? I would love to know when you expect this update to be finished. Great work, rowett :)
Rules with time/space behavior thread: viewtopic.php?f=11&t=6803
My rules (has link to ada's rule): viewtopic.php?f=11&t=6843&p=203381#p202923
Discord user: LuveelVoom

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

Re: Pattern viewer for forum threads

Post by rowett » January 19th, 2025, 5:21 pm

LuveelVoom wrote:
January 15th, 2025, 8:21 pm
Given the FOUR TIMES performance increase...
The performance increase really depends on the specific function. HROT is a big improvement. Rendering is about 1.7x, sub-sampling for zooms < 1 is about 3x, iterators for Life-like and [R]Super algos are about 1.6x.
lifeviewer-standard-engine.png
lifeviewer-standard-engine.png (24.39 KiB) Viewed 3932 times
lifeviewer-pro-engine.png
lifeviewer-pro-engine.png (22.81 KiB) Viewed 3932 times
LuveelVoom wrote:
January 15th, 2025, 8:21 pm
If you’re changing elements of the UI and not just performance now, can we expect more features? Support for more rulespaces, maybe?
Unlikely for the initial release. At the moment the focus is on performance.
LuveelVoom wrote:
January 15th, 2025, 8:21 pm
I would love to know when you expect this update to be finished.
I'm hoping to open it up for limited public testing in the next couple of weeks. As for the final release: when it's done. Target is very early April.

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

Re: Pattern viewer for forum threads

Post by rowett » January 22nd, 2025, 6:29 pm

The Alpha Release of LifeViewer Pro is now available here for testing.
  • What is LifeViewer Pro?
    LifeViewer Pro is essentially LifeViewer Standard with a new, faster engine. It's been under development for a while and is now ready for broader testing.
  • What does Alpha mean?
    Alpha means the software is still under active development but ready for limited testing. Features may change at any time, and bugs are to be expected. It is not yet feature complete, and additional features will be added.
  • How can I help?
    Below is a list of functions that have been improved with the new, faster engine. Please pick one and check whether it still works as it does in LifeViewer Standard. If you encounter any issues, please post a message in this thread.
  • What functions are already improved?
    • Rendering the cells (square grid or zoomed out triangular grid only, single layer, no camera rotation)
    • Identify
    • Iterators:
      • Life-like
      • Generations
      • [R]History
      • [R]Investigator
      • [R]Super
      • HROT (deterministic only)
      • RuleLoader
    • The maximum STEP is now 96x
    • The maximum period for Identify has been increased
  • How should I report an issue?
    Reply to this thread with the following details:
    • What you were testing (e.g. Identify for Generations patterns)
    • What device you were using (e.g. Windows 11 PC or iPhone 14)
    • Which browser and version you were using (e.g. Chrome 131)
    • Which build number of LifeViewer you were using (see Help, e.g. 1227)
    • The pattern you were using (RLE format)
    • The outcome you expected
    • What happened (include a screenshot if applicable)
    • Steps to reproduce the problem
  • How can I easily compare it with LifeViewer Standard?
    • LifeViewer Pro includes both the new, faster engine and the original engine.
    • To switch between the two, go to Settings>Advanced>WASM Engine (hotkey Alt+` or Option+` on Mac).
  • How can I compare the performance?
    • In Settings>Advanced, enable Frame Times (hotkey T) and Timing Details (hotkey Shift+T). Use the WASM Engine toggle to switch between engines and re-run your test.
  • How can I tell I'm using LifeViewer Pro?
    • The Help menu will show "LifeViewer Pro" rather than "LifeViewer Standard".
    • At all times, "LifeViewer Pro Alpha release" will be displayed in the top left corner of the window.
  • I followed the link but I'm seeing LifeViewer Standard instead of LifeViewer Pro.
    • This most likely means that your browser does not support the new engine. You can find a list of required browser versions here.
EDIT 1: Build 1228 added support for [R]Super Hexagonal and von Neumann neighbourhoods.
EDIT 2: Build 1229 added support for [R]Investigator rules (Moore, Hexagonal and von Neumann).
EDIT 3: Build 1230 added support for RuleLoader rules.

User avatar
R2INT
Posts: 262
Joined: July 2nd, 2024, 7:42 pm

Re: Pattern viewer for forum threads

Post by R2INT » January 27th, 2025, 9:54 pm

Testing HROT B0:

Code: Select all

x = 1, y = 1, rule = R2,C2,S,B0
o!
In LifeViewer Standard, this pattern is a p2 oscillator.
In LifeViewer Pro, this pattern is a spacefiller.
Range-2 INT
R2INT's Rule Collection

Currently experimenting with 3-state rules.

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

Re: Pattern viewer for forum threads

Post by rowett » January 28th, 2025, 9:07 am

R2INT wrote:
January 27th, 2025, 9:54 pm
Testing HROT B0:
Fixed in build 1230. Thanks for reporting!

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

Re: Pattern viewer for forum threads

Post by rowett » 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.

dbell
Posts: 327
Joined: June 27th, 2013, 12:47 am
Contact:

Re: Pattern viewer for forum threads

Post by dbell » 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

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

Re: Pattern viewer for forum threads

Post by hotcrystal0 » 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)

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

Re: Pattern viewer for forum threads

Post by rowett » February 3rd, 2025, 8:31 pm

LifeViewer build 1232 is about 50% faster loading patterns.

Post Reply