Pattern viewer for forum threads

For discussion directly related to ConwayLife.com, such as requesting changes to how the forums or home page function.
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, 2021, 5:44 am

New page!
muzik wrote:
January 24th, 2019, 7:21 pm

One thing I've noticed is that the circular neighbourhood used by LifeViewer is actually different to the L² neighbourhood shown here.

Can this "Euclidean distance" neighbourhood also be supported (with suffix NL, say)? I can't think of any other programs that actually handle rules using this neighbourhood, so maybe this could be a first. I don't think it's particularly high priority to add support for this, though.
What's the difference between circular and L^2 (or L2, for search keywords) neighbourhood? I can only find some examples in this list, but I don't see an explanation on the forums.

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

Re: Pattern viewer for forum threads

Post by rowett » November 3rd, 2021, 12:07 pm

GUYTU6J wrote:
November 3rd, 2021, 5:44 am
What's the difference between circular and L^2 (or L2, for search keywords) neighbourhood? I can only find some examples in this list, but I don't see an explanation on the forums.
If r is the neighbourhood range then:
L2 (Euclidean) is the set of points <= r * r
Circular is the set of points <= r * r + r

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 4th, 2021, 11:14 am

Can we support custom definition of colors for CELLBORDERS, GRID and GRIDMAJOR, as well as their thickness?

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

Re: Pattern viewer for forum threads

Post by rowett » November 4th, 2021, 12:31 pm

GUYTU6J wrote:
November 4th, 2021, 11:14 am
Can we support custom definition of colors for CELLBORDERS, GRID and GRIDMAJOR, as well as their thickness?
GRID and GRIDMAJOR colors are already customizable: https://conwaylife.com/wiki/LifeViewer#Grid
CELLBORDERS are always drawn in the background color (LifeViewer simply draws grid lines in the background color).

Thickness is not customizable at the moment. I'll take a look at some stage.

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 5th, 2021, 12:10 pm

rowett wrote:
November 4th, 2021, 12:31 pm
...
CELLBORDERS are always drawn in the background color (LifeViewer simply draws grid lines in the background color).
...
Ooops, then there will be style inconsistency between my new viewer-based template:Nbh-demo and the old images. As can be seen in neighbourhood, the hypothetical COLOR CELLBORDERS should be set as 82 192 82 so as to signify the borders of neighbourhood.

---

Related, my newest revision to triangular neighbourhood is broken due to the invalid LE or LV following N in HROT notation. Should I edit them out (replacing with some weighted neighbours), or wait till LifeViewer begins to support them?

---
EDIT: is it known that the brightness of a LifeViewer thumbnail depends on its size? The effect can be seen under "Night mode" or "Dark mode" on mobile browser:
Screenshot_20211106_011914.jpg
Screenshot_20211106_011914.jpg (179.42 KiB) Viewed 2367 times
Compared with smaller viewer windows, which is about as bright as other static images, larger ones are significantly different.

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

Re: Pattern viewer for forum threads

Post by rowett » November 5th, 2021, 6:07 pm

GUYTU6J wrote:
November 5th, 2021, 12:10 pm
Related, my newest revision to triangular neighbourhood is broken due to the invalid LE or LV following N in HROT notation. Should I edit them out (replacing with some weighted neighbours), or wait till LifeViewer begins to support them?
No plans to have LifeViewer or Golly support LE or LV for HROT. You can replace with a Custom neighborhood.

LV would be R2,C0,S,B1,N@06E5C0L
LE would be R1,C0,S,B1,N@58L

Also it would be worth replacing "STARTFROM 1" in your template with "STOP 1 AUTOSTART NOREPORT". It will prevent the message briefly appearing.
GUYTU6J wrote:
November 5th, 2021, 12:10 pm
EDIT: is it known that the brightness of a LifeViewer thumbnail depends on its size? The effect can be seen under "Night mode" or "Dark mode" on mobile browser
It wasn't known (to me). There's nothing in LifeViewer that changes brightness based on size.

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 5th, 2021, 9:24 pm

rowett wrote:
November 5th, 2021, 6:07 pm
No plans to have LifeViewer or Golly support LE or LV for HROT. You can replace with a Custom neighborhood.

LV would be R2,C0,S,B1,N@06E5C0L
LE would be R1,C0,S,B1,N@58L
...
Thank you. How about the "6-cell triangular outer neighbourhood" and the "6-cell triangular inner neighbourhood"?
rowett wrote:
November 5th, 2021, 6:07 pm
...
Also it would be worth replacing "STARTFROM 1" in your template with "STOP 1 AUTOSTART NOREPORT". It will prevent the message briefly appearing.
...
But there is NOGUI so that AUTOSTART STOP 1 is disabled. And why doesn't NOREPORT work with STARTFROM 1 ?

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

Re: Pattern viewer for forum threads

Post by rowett » November 6th, 2021, 1:02 am

GUYTU6J wrote:
November 5th, 2021, 9:24 pm
And why doesn't NOREPORT work with STARTFROM 1 ?
It does now. You also may wish consider adding NOCOPY since it doesn't seem helpful to be able the copy the RLE from what are effectively just neighborhood images.

User avatar
wwei47
Posts: 1657
Joined: February 18th, 2021, 11:18 am

Re: Pattern viewer for forum threads

Post by wwei47 » November 6th, 2021, 10:33 am

LifeViewer's controls are flashing like crazy on a chromebook.

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

Re: Pattern viewer for forum threads

Post by rowett » November 6th, 2021, 2:47 pm

wwei47 wrote:
November 6th, 2021, 10:33 am
LifeViewer's controls are flashing like crazy on a chromebook.
Please try build 653 and let me know if it helps. You'll need to hard refresh your browser.

User avatar
calcyman
Moderator
Posts: 2936
Joined: June 1st, 2009, 4:32 pm

Re: Pattern viewer for forum threads

Post by calcyman » November 7th, 2021, 9:13 pm

Did you change something that causes LifeViewers to appear in more locations? They've popped up below the 'pattern RLE' boxes on Catagolue pages:

https://catagolue.hatsya.com/object/xp2 ... n813/b3s23
What do you do with ill crystallographers? Take them to the mono-clinic!

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

Re: Pattern viewer for forum threads

Post by rowett » November 8th, 2021, 12:37 am

calcyman wrote:
November 7th, 2021, 9:13 pm
Did you change something that causes LifeViewers to appear in more locations?
Yes but it was for another use case. I've reverted the change so next refresh things should return to normal.

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

Re: Pattern viewer for forum threads

Post by Book » November 16th, 2021, 5:06 pm

I've got the LifeViewer plugin js file from the link on the wiki. How do I instantiate the viewer on my web page? Any instructions available. Thanks.
Phil Bookman

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

Re: Pattern viewer for forum threads

Post by rowett » November 16th, 2021, 6:06 pm

Book wrote:
November 16th, 2021, 5:06 pm
I've got the LifeViewer plugin js file from the link on the wiki. How do I instantiate the viewer on my web page? Any instructions available. Thanks.
See here.

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

Re: Pattern viewer for forum threads

Post by Book » November 17th, 2021, 8:50 pm

rowett wrote:
November 16th, 2021, 6:06 pm
Book wrote:
November 16th, 2021, 5:06 pm
I've got the LifeViewer plugin js file from the link on the wiki. How do I instantiate the viewer on my web page? Any instructions available. Thanks.
See here.
Ok, that worked great. Now, if I type into the textarea, how do I get the viewer to refresh with the rle I typed?
Phil Bookman

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

Re: Pattern viewer for forum threads

Post by rowett » November 18th, 2021, 3:56 am

Book wrote:
November 17th, 2021, 8:50 pm
Ok, that worked great. Now, if I type into the textarea, how do I get the viewer to refresh with the rle I typed?
One way is to add a button into the <div> containing the RLE:

Code: Select all

	<button type="button" onclick="updateMe(this); return false;">Update</button>

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

Re: Pattern viewer for forum threads

Post by Book » November 18th, 2021, 6:27 pm

rowett wrote:
November 18th, 2021, 3:56 am
Book wrote:
November 17th, 2021, 8:50 pm
Ok, that worked great. Now, if I type into the textarea, how do I get the viewer to refresh with the rle I typed?
One way is to add a button into the <div> containing the RLE:

Code: Select all

	<button type="button" onclick="updateMe(this); return false;">Update</button>
Excellent. Thanks. I have developed a LifeWiki tutorial for the plug-in which you may wish to review. It's currently on my User:Book page but I plan to deploy it to its own page soon.

You'll see I omitted the meta tag variations that I think are not needed for the tutorial, or are perhaps no longer needed as browsers etc. have changed since you wrote that post with instructions.

If you have any input, I'd appreciate it.
Phil Bookman

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

Re: Pattern viewer for forum threads

Post by rowett » November 30th, 2021, 10:18 am

Code: Select all

#C sample attempt to follow a glider around in the p59 gun
#C [[ AUTOSTART GPS 60 THEME 2 LAYERS 2 DEPTH 0.4 T 0 X -48 Y 58 ZOOM 12
#C PAUSE 1 "3..."
#C PAUSE 1 "2..."
#C PAUSE 1 "1..."
#C PAUSE 1 "Go!" TILT 0.5
#C T 140 X -80 Y 94 ZOOM 20
#C T 310 X -120 Y 52 ZOOM 16 ANGLE 45 STEP 4
#C T 360 X -130 Y 65 ZOOM 10 ANGLE 90 STEP 1
#C PAUSE 2 "Dramatic pause"
#C T 480 THEME 3 DEPTH 5 LAYERS 6 GPS 15 X -110 Y 95 ANGLE 0 ZOOM 15 "Slow motion" TILT 1
#C T 610 THEME 1 DEPTH 0.4 GPS 30 AUTOFIT ANGLE 10 STEP 2
#C T 675 THEME 4 GPS 60 LAYERS 2 X -106 Y 50 ZOOM 10 ANGLE 350 STEP 3 TILT 2
#C T 858 X -140 Y 0 ZOOM 8 ANGLE 10 STEP 1
#C PAUSE 5 X 0 Y 5 ZOOM 1.5 DEPTH 0 ANGLE 0 "Show me the world..." TILT 0
#C PAUSE 5 AUTOFIT THEME 5 "That's all folks!\nWaypoint Animations"
#C LOOP 1300 ]]
x = 299, y = 239, rule = B3/S23
118b2o3b2o$118b2o2bob3o$122bo4bo$118b4ob2o2bo$118bo2bobobob2o$121bobob
obo$122b2obobo$126bo2$112b2o$113bo7b2o$113bobo$114b2o$121b2o$121b2obo
98b2o3b2o26b2o3b2o$122b2o99b2o2bob3o22b3obo2b2o$123bo103bo4bo20bo4bo$
223b4ob2o2bo20bo2b2ob4o$223bo2bobobob2o18b2obobobo2bo$124b2o100bobobob
o20bobobobo$124bo102b2obobo20bobob2o$125b3o103bo22bo$127bo$136bobo78b
2o48b2o$137b2o79bo7b2o29b3o7bo$126b2o3b2o4bo80bobo5b2o28bo3bo4bobo$
124b3obo2b2o86b2o34bo5bo3b2o$108b2o13bo4bo125bo3bo3bo$109b2o12bo2b2ob
4o121bo2bobo2bo$108bo13b2obobobo2bo92b2o27bo3bo3bo$123bobobobo94bobo
28bo5bo$123bobob2o97bo33bo$124bo130bo3bo$229b2o24bo$137b2o90bo8bobo15b
o$128bo8bo92b3o6b2o12b3o$127b3o5bobo94bo6bo13bo$126b5o4b2o15bo$125b2o
3b2o21bo115bo$124b3o3b3o18b3o87bo26b2o$125b2o3b2o107b2o27bobo$126b5o
109b2o$93b3o31b3o$95bo30b3o$94bo30b2o83b2o$126bo54bo29b2o$123b3o55b3o
26bo$123bo60bo$183b2o69bo$153bo16b2o48b2o33bo$110bo27b3o12b3o14b2o48b
2o31b3o34bo$110bobo25bo17bo115b2o14b5o$110b2o27bo15b2o9bo103bo2bo13bo
5bo$167b2o101b2obobo4bo7b3o2bo$92bo67b3o3b2o12b3o26b3o13bo46bob2o3bobo
9bob2o$92b3o64bo4bo13bo4bo24bo4bo11bobo44bo5bo3bo5b4o2bo$79bo15bo129b
2o7b2o34b3o5bo3bo5bo3b2o$79b2o13b2o59bobo2bo3bo13bo3bo2bobo16bobo2bo3b
o20bo34bo8bo3bo6b3o$78bobo74bobo3b3o6b3o6b3o3bobo16bobo3b3o6b3o10bobo
34b2o8bobo9bo$154bo15b3o15bo14bo15b3o10b2o46bo10bob2o$86b2o66b2o15bo
15b2o14b2o15bo69b2ob2o$86bo67b3o14bo14b3o14b3o14bo15b2o7bo21b2o$83b2ob
o68b2o14bo14b2o16b2o14bo15b2o5b3o20bo2bo$83bo2b3o7bobo53b2ob2o13bobo
15bo14bo15bobo20bo39b2o$84b2o3bo6bo2bo53bobo81bo4b2o22b3o13bo$86b4o6bo
2bo48b2o4bo81bobo20b2o22b3o$86bo11bo3b2o45bo20bobo15bo14bo15bobo13b2ob
2o18bobo24bo$87b3o12bobo41b3o5b2o15bo14b2o16b2o14bo14b2o21bo$90bo13bo
41bo7b2o15bo14b3o14b3o14bo14b3o19b2o$85b5o14b2o65bo15b2o14b2o15bo15b2o
$84bo73b2o10b3o15bo14bo15b3o15bo33bo$64b2o17bo2b2o69bobo10b3o6b3o3bobo
16bobo3b3o6b3o6b3o3bobo30b2obobo$63bobo16bob2obo69bo20bo3bo2bobo16bobo
2bo3bo13bo3bo2bobo29bobobobo$65bo10b2o4bo73b2o7b2o96bo2bobobob2o$74bo
2bo2b2ob4o77bobo11bo4bo24bo4bo13bo4bo30b4ob2o2bo$74b2obobobobo2bo79bo
13b3o26b3o12b2o3b3o35bo4bo$77bobobobo139b2o38b2o2bob3o$77bobob2o37bo
104bo9b2o15bo10b2o3b2o$78bo28bo10b3o114bo17bo$108bo8bo52b2o19b2o27b2o
14b3o12b3o$91b2o13b3o8b2o51b2o18bobo27b2o16bo$82b2o7bo100bo$82b2o5bobo
$89b2o34b2ob2o51bo28bo$126bob2o49b2o30b2o$126bo53b2o28b2o$49b2o67b2o4b
3o$50b2o66b2o3bo3b2o70b2o3b2o$49bo22bo13bo36b4o2bo20b2o45b3obo2b2o$71b
o13b2o22b2o15bob2o21b2o43bo4bo$71b3o5b2o4bobo20bobo12b3o2bo21bo45bo2b
2ob4o32b3o$80bo27bo13bo5bo66b2obobobo2bo32bo$77b3o27b2o6bo7b5o68bobobo
bo36bo26bo$77bo35b2o10bo70bobob2o65b2o$114b2o60b2o19bo68b2o$100bo76b2o
$100b3o73bo33b2o$103bo97b2o7bo28bo$102b2o61bo35b2o5bobo15bo10b3o$165bo
bo40b2o14bobo9bo$105bo59b2o58b2o9b2o51bo$34b3o67bo2bo179b3o$36bo71bo
177bo$35bo22bo9b2o3b2o24b2o4bo29b3o106b2o40b2o$56b2o10b2o2bob3o23bo4bo
3bo27bo53bo53bo8bo$57b2o13bo4bo22bo2bo5bo2b2o22bo54bobo11b2o31bo6bob2o
4b2o$68b4ob2o2bo24b2o8bobo76b2o5b2o4b2o31bo6b2o2bo4bobo38b2ob2o$68bo2b
o3bob2o24bobobo6bo84bo6bo30b2o3b2o2b2o34bo12bob2o$71bobobobo26b3o7b2o
80b3o43b2obo34bobo12bo$72b2obobo83b3o32bo31b2o15bo35b2o4b2o4b3o$76bo
24bo3bo57bo63bobo12b3o24bo17b2o3bo3b2o$100bob2obo56bo64bo13bo9b2o14b5o
20b4o2bo$34bo27b2o36bobo3b2o118b2o5bobo6b5o5bo13bo5bo5b2o15bob2o$34b3o
26bo8bo26b2obobobo2bo40bobo68bo11b2o11bo5bobo12b3o2bo4bobo12b3o2bo$37b
o25bobo5b2o27bo2b2ob4o40b2o69b3o10bo9bo8b2o15bob2o3bo13bo5bo$20bo15b2o
26b2o34bo4bo45bo72bo19b2o21b4o2bo2b2o14b5o$20b2o56bo22b3obo2b2o113b2o
37b2o3bo3b2o21bo$19bobo57bo23b2o3b2o11bo140b2o4b3o$25b2ob2o12bo34b3o
41b2o132b2o13bo$25b2obo13bobo75bobo53bobo75bobo13bob2o$28bo13b2o132b2o
41b3o34bo12b2ob2o$28b3o4b2o140bo11b2o3b2o23bo57bobo$4bo21b2o3bo3b2o37b
2o113b2o2bob3o22bo56b2o$2b5o14b2o2bo2b4o21b2o19bo72bo45bo4bo34b2o26b2o
15bo$bo5bo13bo3b2obo15b2o8bo9bo10b3o69b2o40b4ob2o2bo27b2o5bobo25bo$bo
2b3o12bobo4bo2b3o12bobo5bo11b2o11bo68bobo40bo2bobobob2o26bo8bo26b3o$2o
bo15b2o5bo5bo13bo5b5o6bobo5b2o118b2o3bobo36b2o27bo$o2b4o20b5o14b2o9bo
13bo64bo56bob2obo$b2o3bo3b2o17bo24b3o12bobo63bo57bo3bo24bo$3b3o4b2o4b
2o35bo15b2o31bo32b3o83bobob2o$3bo12bobo34bob2o43b3o80b2o7b3o26bobobobo
$2obo12bo34b2o2b2o3b2o30bo6bo84bo6bobobo24b2obo3bo2bo$2ob2o38bobo4bo2b
2o6bo31b2o4b2o5b2o76bobo8b2o24bo2b2ob4o$44b2o4b2obo6bo31b2o11bobo54bo
22b2o2bo5bo2bo22bo4bo13b2o$44bo8bo53bo53bo27bo3bo4bo23b3obo2b2o10b2o$
11b2o40b2o106b3o29bo4b2o24b2o3b2o9bo22bo$12bo177bo71bo$9b3o179bo2bo67b
3o$9bo51b2o9b2o58b2o59bo$62bo9bobo14b2o40bobo$59b3o10bo15bobo5b2o35bo
61b2o$59bo28bo7b2o97bo$87b2o33bo73b3o$120b2o76bo$31b2o68bo19b2o60b2o$
30b2o65b2obobo70bo10b2o35bo$32bo26bo36bobobobo68b5o7bo6b2o27b3o$60bo
32bo2bobobob2o66bo5bo13bo27bo$58b3o32b4ob2o2bo45bo21bo2b3o12bobo20bobo
4b2o5b3o$97bo4bo43b2o21b2obo15b2o22b2o13bo$93b2o2bob3o45b2o20bo2b4o36b
o13bo22bo$93b2o3b2o70b2o3bo3b2o66b2o$172b3o4b2o67b2o$87b2o28b2o53bo$
86b2o30b2o49b2obo$88bo28bo51b2ob2o34b2o$207bobo5b2o$106bo100bo7b2o$60b
o16b2o27bobo18b2o51b2o8b3o13b2o$45b3o12b3o14b2o27b2o19b2o52bo8bo$45bo
17bo114b3o10bo28bo$29b2o3b2o10bo15b2o9bo104bo37b2obobo$27b3obo2b2o38b
2o139bobobobo$26bo4bo35b3o3b2o12b3o26b3o13bo79bo2bobobobob2o$26bo2b2ob
4o30bo4bo13bo4bo24bo4bo11bobo77b4ob2o2bo2bo$25b2obobobo2bo96b2o7b2o73b
o4b2o10bo$26bobobobo29bobo2bo3bo13bo3bo2bobo16bobo2bo3bo20bo69bob2obo
16bobo$26bobob2o30bobo3b3o6b3o6b3o3bobo16bobo3b3o6b3o10bobo69b2o2bo17b
2o$27bo33bo15b3o15bo14bo15b3o10b2o73bo$61b2o15bo15b2o14b2o15bo65b2o14b
5o$40b2o19b3o14bo14b3o14b3o14bo15b2o7bo41bo13bo$40bo21b2o14bo14b2o16b
2o14bo15b2o5b3o41bobo12b3o$13bo24bobo18b2ob2o13bobo15bo14bo15bobo20bo
45b2o3bo11bo$13b3o22b2o20bobo81bo4b2o48bo2bo6b4o$16bo13b3o22b2o4bo81bo
bo53bo2bo6bo3b2o$15b2o39bo20bobo15bo14bo15bobo13b2ob2o53bobo7b3o2bo$
29bo2bo20b3o5b2o15bo14b2o16b2o14bo14b2o68bob2o$30b2o21bo7b2o15bo14b3o
14b3o14bo14b3o67bo$4b2ob2o69bo15b2o14b2o15bo15b2o66b2o$4b2obo10bo46b2o
10b3o15bo14bo15b3o15bo$7bo9bobo8b2o34bobo10b3o6b3o3bobo16bobo3b3o6b3o
6b3o3bobo74bobo$7b3o6bo3bo8bo34bo20bo3bo2bobo16bobo2bo3bo13bo3bo2bobo
59b2o13b2o$5b2o3bo5bo3bo5b3o34b2o7b2o129bo15bo$4bo2b4o5bo3bo5bo44bobo
11bo4bo24bo4bo13bo4bo64b3o$4b2obo9bobo3b2obo46bo13b3o26b3o12b2o3b3o67b
o$5bo2b3o7bo4bobob2o101b2o$5bo5bo13bo2bo103bo9b2o15bo27b2o$6b5o14b2o
115bo17bo25bobo$8bo34b3o31b2o48b2o14b3o12b3o27bo$43bo33b2o48b2o16bo$
44bo$175bo$88bo28bo55b3o$72bo13b2o30b2o52bo$72b3o12b2o28b2o53b2o30bo$
75bo94b3o30bo$74b2o93b3o31b3o$57b2o109b5o$28bobo27b2o107b2o3b2o$29b2o
26bo87b3o18b3o3b3o$29bo115bo21b2o3b2o$146bo15b2o4b5o$45bo13bo6bo94bobo
5b3o$43b3o12b2o6b3o92bo8bo$42bo15bobo8bo90b2o$43bo24b2o$39bo3bo130bo$
38bo33bo60bo36b2obobo$37bo5bo28bobo56bobo35bobobobo$36bo3bo3bo27b2o58b
2o32bo2bobobob2o13bo$36bo2bobo2bo121b4ob2o2bo12b2o$36bo3bo3bo125bo4bo
13b2o$32b2o3bo5bo34b2o86b2o2bob3o$31bobo4bo3bo28b2o5bobo80bo4b2o3b2o$
31bo7b3o29b2o7bo79b2o$30b2o48b2o78bobo$171bo$44bo22bo103b3o$40b2obobo
20bobob2o102bo$39bobobobo20bobobobo100b2o$36bo2bobobob2o18b2obobobo2bo
$36b4ob2o2bo20bo2b2ob4o$40bo4bo20bo4bo74bobo26bo$36b2o2bob3o22b3obo2b
2o71b2o26b2o$36b2o3b2o26b2o3b2o71bo26bob2o$176b2o$183b2o$183bobo$176b
2o7bo$185b2o2$172bo$171bobob2o$171bobobobo$170b2obobobo2bo$171bo2b2ob
4o$162bo8bo4bo$163bo8b3obo2b2o$161b3o10b2o3b2o!

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

Re: Pattern viewer for forum threads

Post by Book » November 30th, 2021, 2:22 pm

Cool!
Phil Bookman

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

Re: Pattern viewer for forum threads

Post by Book » November 30th, 2021, 4:05 pm

Here's PatMan (Pattern Manager), another use of the LifeViewer plug-in https://golhobby.com/patman/.
Phil Bookman

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

Re: Pattern viewer for forum threads

Post by muzik » November 30th, 2021, 10:48 pm

Would an option to zoom differently on different axes be possible to add such that square cells can be made to look like rectangles?

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

Re: Pattern viewer for forum threads

Post by muzik » November 30th, 2021, 11:19 pm

Code: Select all

#C [[ STARTFROM 102 ]]
x = 6, y = 6, rule = PCA_4
6.A$6.A6$5A5.A$5.A4.A6.A$.A2B.A11.A$A.2B2A$3A.A9.A2.A$2.A2.A8.A2.A4$
11.A$11.A2$11.A$11.A2$11.A$11.A!
Is Select All supposed to include history states? This was fixed for outer-totalistic rules, but PCA still seems affected, but I don't know if they're handled differently.

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

Re: Pattern viewer for forum threads

Post by muzik » December 1st, 2021, 10:12 am

The bounding box results on Identify aren't always consistent for hexagonal patterns when rotated, so I don't know if they should be kept in the output.

Code: Select all

x = 5, y = 4, rule = B26/S2H
obo$bobo$bobo$2b3o!

Code: Select all

x = 11, y = 7, rule = B26/S2H
2$4b2o$3b2o$4bob2o$5b2o!

Code: Select all

x = 4, y = 5, rule = B26/S2H
o$3o$o2bo$b2o$3bo!

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

Re: Pattern viewer for forum threads

Post by muzik » December 4th, 2021, 12:22 pm

Can Identify be made to state the generation a pattern dies at in a message like is done in normal playback?

Code: Select all

x = 161, y = 94, rule = B3/S23
100bo9bo$100bo4bo4bo$100bo4bo4bo$105bo9$3bo151bo$4bo73bo3bo15bo7bo47bo
$o3bo72b2obob2o9b3o2bo2b3o2bo47bo5bo$b4o73bo3bo15bo7bo47b6o76$20bo$20b
2o$19bobo!
I also noticed that Select All still creates a 1x1 selection box even on empty patterns:

Code: Select all

x = 161, y = 94, rule = B3/S23
5b!
In addition, Identifying the above empty pattern will advance it one generation and state that all cells died, but subsequent identifications correctly declare it an empty pattern (capitalized differently from the new pattern message).

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

Re: Pattern viewer for forum threads

Post by rowett » December 5th, 2021, 3:59 am

muzik wrote:
November 30th, 2021, 10:48 pm
Would an option to zoom differently on different axes be possible to add such that square cells can be made to look like rectangles?
Yes but unlikely to be a priority.

Post Reply