Pattern viewer for forum threads

For discussion directly related to ConwayLife.com, such as requesting changes to how the forums or wiki function.
User avatar
Ian07
Posts: 808
Joined: September 22nd, 2018, 8:48 am

Re: Pattern viewer for forum threads

Post by Ian07 » February 21st, 2022, 12:37 pm

On the wiki, LifeViewer still displays the wrong generation number for "Life ended at generation N" when increasing the step size. See for example the Die hard article. For smaller step sizes the number displayed is the smallest multiple which is greater than the pattern's actual lifespan, although this seems to break down for larger step sizes (the exact threshold depends on both the browser and the pattern). In contrast, on the forums the correct number is displayed no matter what.

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

Re: Pattern viewer for forum threads

Post by rowett » February 25th, 2022, 4:15 am

Nathaniel wrote:
February 20th, 2022, 6:01 pm
I forget -- is there a (good) reason for having conwaylife.com/ref point to its own version of LV, rather than the version used by LifeWiki (at https://conwaylife.com/js/lv-plugin.js)?
I can't imagine why it would need it's own version.

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

Re: Pattern viewer for forum threads

Post by rowett » February 25th, 2022, 4:15 am

Ian07 wrote:
February 21st, 2022, 12:37 pm
On the wiki, LifeViewer still displays the wrong generation number for "Life ended at generation N" when increasing the step size. See for example the Die hard article. For smaller step sizes the number displayed is the smallest multiple which is greater than the pattern's actual lifespan, although this seems to break down for larger step sizes (the exact threshold depends on both the browser and the pattern). In contrast, on the forums the correct number is displayed no matter what.
Fixed, thanks!

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

Re: Pattern viewer for forum threads

Post by muzik » February 26th, 2022, 7:53 am

Currently, setting GRIDMAJOR to 0 will disable major grid lines, but also makes it so that turning them on in the menu will change nothing other than the button:

Code: Select all

x = 7, y = 3, rule = B3/S23
bo3bo$2obob2o$bo3bo!
[[ COLOR GRID 128 128 128 COLOR GRIDMAJOR 224 224 224 GRID ]]

Code: Select all

x = 7, y = 3, rule = B3/S23
bo3bo$2obob2o$bo3bo!
[[ COLOR GRID 128 128 128 COLOR GRIDMAJOR 224 224 224 GRID GRIDMAJOR 0 ]]
I'm not sure if the button should be disabled with this setting.

Personally I'd prefer it if setting gridmajor to 0 would simply have gridmajor be effectively infinite (or rather, unable to repeat): there would be an x-axis major gridline at 0 and a y-axis major gridline at 0, and none elsewhere. (Disabling gridmajor would instead be done with "GRIDMAJOR OFF" or something else more explicit.) Perhaps that's just me though.

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

Re: Pattern viewer for forum threads

Post by muzik » March 7th, 2022, 4:59 am

Is there any reason why Go To Gen is forbidden for the none rule even when normal playback is permitted?

Code: Select all

x = 20, y = 20, rule = none
b2obo2bo2b2obobobo$bob3obo2bo3b2ob3o$2obo2bobo2bo4bobo$2bob3ob2ob5ob2o
$5obobo2b2ob4o$o2bob3o2b4o$o3bo2bo2b5obo$3bob4o4bob4o$bo2bo3b2o2b3obob
2o$3b2ob2o4bo3bobo$2o2bob2obo2b2o5bo$4b3o3bob8o$2b5o2b3o4bobo$o2b3o2bo
bo2b2obob2o$b3o5b5ob2o2bo$2b2o2bo2b5ob5o$2o3b2o4bob3obo$3b3o3b5o2bobo$
bobo2b3o2b2o2b4o$4b2o2b2obob7o!
The script command for it works fine:

Code: Select all

x = 20, y = 20, rule = none
b2obo2bo2b2obobobo$bob3obo2bo3b2ob3o$2obo2bobo2bo4bobo$2bob3ob2ob5ob2o
$5obobo2b2ob4o$o2bob3o2b4o$o3bo2bo2b5obo$3bob4o4bob4o$bo2bo3b2o2b3obob
2o$3b2ob2o4bo3bobo$2o2bob2obo2b2o5bo$4b3o3bob8o$2b5o2b3o4bobo$o2b3o2bo
bo2b2obob2o$b3o5b5ob2o2bo$2b2o2bo2b5ob5o$2o3b2o4bob3obo$3b3o3b5o2bobo$
bobo2b3o2b2o2b4o$4b2o2b2obob7o!
[[ STARTFROM 150 ]]

User avatar
dani
Posts: 1155
Joined: October 27th, 2017, 3:43 pm
Location: Somewhere in a Sparse Life soup, forming into a giant space-clearing replicator.
Contact:

Re: Pattern viewer for forum threads

Post by dani » March 11th, 2022, 4:40 pm

Is there any way to stop LifeViewer from losing focus if I so much as move my mouse outside of it? It causes me to almost always have to re-copy patterns that I missed because my Ctrl-C activated on the main page instead of in LifeViewer. Having it lose focus on a click outside the viewer would be much more preferrable. If it's a browser policy thing then I understand.
i am danielle
#1 switch engine fan

hotdogPi
Posts: 942
Joined: August 12th, 2020, 8:22 pm

Re: Pattern viewer for forum threads

Post by hotdogPi » March 11th, 2022, 7:47 pm

dani wrote:
March 11th, 2022, 4:40 pm
Is there any way to stop LifeViewer from losing focus if I so much as move my mouse outside of it? It causes me to almost always have to re-copy patterns that I missed because my Ctrl-C activated on the main page instead of in LifeViewer. Having it lose focus on a click outside the viewer would be much more preferrable. If it's a browser policy thing then I understand.
I rely on easily being able to make it go out of focus because it's about 40% slower when in focus, while it's the speed it claims to be when out of focus.
User:HotdogPi/My discoveries

Periods discovered: 5-16,⑱,⑳G,㉑G,㉒㉔㉕,㉗-㉛,㉜SG,㉟,㊱,㊳S,㊵㊷㊹㊺㊽㊿,54G,55G,56,57G,60,62-66,70,72,74S,75,76S,80,84,90,96,100,102S,108,110,114G,116,117G,120,126G,128S,138,147,154,156,196S,217,486,576

S: SKOP
G: gun

erictom333
Posts: 136
Joined: January 9th, 2019, 2:44 am

Re: Pattern viewer for forum threads

Post by erictom333 » March 16th, 2022, 3:50 am

Idea: B0 rules should have an option to strobe. This should also enable simulation of B0 Generations rules. (Obviously there should be a seizure warning.)

User avatar
Ian07
Posts: 808
Joined: September 22nd, 2018, 8:48 am

Re: Pattern viewer for forum threads

Post by Ian07 » March 31st, 2022, 4:59 pm

The "Life ended at generation N" message seems to have broken again, this time on the forums. Regardless of the pattern and the step size used, it seems to display the message exactly 61 generations later than it should.

Actual lifespan = 1398, displayed lifespan = 1459:

Code: Select all

x = 16, y = 16, rule = B3/S23
2ob3ob3ob3o$o2bo3b4obobo$obob3ob2o2bo$2obo2bob3ob3o$b5obob4ob2o$o2bo7b
2obo$ob3o3b4o$b3ob2ob3o2bo$5obo3bob2obo$4ob2ob2o2bo$4b2o2bob2ob3o$6o6b
3o$o3bo2bo2b5o$obob4obo4bo$o2bo2bo2bo2b3o$2obobobobobo3bo!
Actual lifespan = 2474, displayed lifespan = 2535:

Code: Select all

x = 32, y = 32, rule = B3/S23
7b2o2b3o4b2obobo3b2o$b2o3bob2obo2bobobob2o2b3ob3o$b4ob3obo2bo2b2o2b3o
bob2ob2o$2obo2b2o3b2ob2ob3obobo4b2o$obo3bob5o2bobob2obo2b2o2bo$b2ob5o
3bo2bob2o2bobo2bo$bo2bo2bo6bo3b4ob2ob5o$b2o3bobob5obob6ob2ob2obo$o2bo
b3obo3b2obo3bobobob2ob3o$2bobo2b2o8b2obo2bo3bo2bo$4ob3o2b2obo2bobob2o
2bo2bobo$b2obob5o3bob3o2bo2bo2b2ob2o$o2b2ob2o5bo2bo7bob3o2bo$2obob3ob
3ob3o2b2obob2o4bobo$2b4o3bobo2bob3obo2b3o2bobo$b2o4b2ob3ob3obo7b3o$3b
3o7bob3ob3ob2o4b2o$bobo2b3o2bob3obo2bobo3b4o$obo4b2obob2o2b3ob3ob3obo
b2o$o2b3obo7bo2bo5b2ob2o2bo$2ob2o2bo2bo2b3obo3b5obob2o$2bobo2bo2b2obo
bo2bob2o2b3ob4o$bo2bo3bo2bob2o8b2o2bobo$3ob2obobobo3bob2o3bob3obo2bo$
ob2ob2ob6obob5obobo3b2o$b5ob2ob4o3bo6bo2bo2bo$5bo2bobo2b2obo2bo3b5ob2o
$2bo2b2o2bob2obobo2b5obo3bobo$2b2o4bobob3ob2ob2o3b2o2bob2o$b2ob2obob3o
2b2o2bo2bob3ob4o$b3ob3o2b2obobobo2bob2obo3b2o$3b2o3bobob2o4b3o2b2o!
Actual lifespan = 9044, displayed lifespan = 9105:

Code: Select all

x = 32, y = 32, rule = B3/S23
18b2o$14b2obo2bob2ob2o$14bob2o2b2obob2o2$6b2o$obobo2bo$bo13bo$bob2obo
7bobo10b3o$2ob3o8bobo10bo$o3bo11bo11bo$2o5bo$2o4b2o8b2o$3bo10bobo$3bo
11bobo$5bo3b2o4b3o$9bo$3bo7bo2bobo$3b2o5b2o3b2o$15bo9bo$13bobo6b5o$13b
obo5bo4b2o$14bo6bo4bo$24b2o$2b2o4b2o15bo$2bobo2bobo2b2o13b3o$4bo2bo4bo
5b2o5b2obob2o$4b2ob2o5bobo2bo5b2o3b2o$7bo2bo2b2ob2o8bobob2o$7bob2o14b
2ob2o$3b2ob2obo15b3o$3b2obo2bo5b2o$7b2o6b2o!
Actual lifespan = 50716, displayed lifespan = 50777:

Code: Select all

x = 90, y = 86, rule = B3/S23
65bo9b2o$64bobo7bobo$45b2o18b2o7bo$45b2o26b2o2$54bo25b2o$52b3o24bo2bo$
51bo28bobo$43b2o6b2o28bo2b3o$43bobo38bo$44bo40bo2$49b2o$49b2o5b2o$56b
2o$52bo$51bobo$39b2o11bo$39b2o8bo10bo$48bobo8bobo$49bo4b2o3bobo$46bo7b
obo3bo$45bobo8bo$46bo9b2o$43bo$35b2o5bobo$35b2o6bo7b2o$40bo10b2o$39bob
o13bo30b2o$40bo13bobo29b2o$37bo17bo$36bobo11bo7bo$26b2o9bo11bobo5bobo$
26b2o6bo14bo2bo5bo7b2o14b2o$17b2o14bobo14b2o9bo3bo2bo13b2o$16bo2bo14bo
19b2o4bobo3b2o$17b2o12bo22bo6bo$30bobo19bobo18b2o$11b2o8bo9bo20b2o10b
2o7b2o$11b2o6b3o6bo6bo28bobo$18bo8bobo4bo30b2o$3b2o13b2o8bo5b3o3bo41b
2o$4bo9bo9b2o13bobo27bo11bobo$4bobo6bobo8b2o14bo14b2o5b2o4bobo11bo5b2o
$5b2o7bo40b2o5b2o5bo18b2o$10b2o5bo25b2o6b2o$10b2o4bobo23bobo6b2o5b2o
12bo$17bo21b2o2bo14b2o11bobo4b2o$20bo17b2o32bo5b2o$2o17bobo18bo23b2o9b
o7b2o$2o5bo12bo34b2o7b2o8bobo6bobo$6bobo14bo11b2o18b2o18bo9bo$6b2o14bo
bo10b2o25bo7b2o13b2o$23bo37bobo7bo$31b2o5b2o11b2o9bo5b3o6b2o$15b2o9bo
4b2o5b2o11b2o6bo8bo8b2o$15b2o8bobo30bobo$26bo32bo11b2o$20b2o24b2o8bo
13bo2bo$20b2o7b2o15b2o7bobo13b2o$29bobo24bo5b2o$30b2o9b2o10bo8b2o14bo$
40bobo5b2o2bobo23b3o$40b2o6b2o3bo27bo$26b2o9bo42b2o$27bo8bobo$23bo3bob
o7bo16b2o$22bobo3b2o4bo19b2o19bo$22bobo8bobo38bobo$23bo10bo8b2o5bo22bo
2bo$31bo11b2o4bobo22b2o$30bobo16bo2bo$31bo18b2o20b2o$26b2o43bobo$26b2o
5b2o38bo$33b2o$50b2o$39bo9bo2bo$38bobo9bobo$31b2o6b2o10bo$32bo$29b3o
13bo$29bo14bobo$44b2o$37b2o$37b2o!

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

Re: Pattern viewer for forum threads

Post by rowett » April 2nd, 2022, 2:21 am

Ian07 wrote:
March 31st, 2022, 4:59 pm
The "Life ended at generation N" message seems to have broken again, this time on the forums.
It's fixed again. Thanks for reporting!

User avatar
GUYTU6J
Posts: 1850
Joined: August 5th, 2016, 10:27 am
Location: 拆哪!I repeat, CHINA! (a.k.a. 种花家)
Contact:

Re: Pattern viewer for forum threads

Post by GUYTU6J » June 4th, 2022, 5:41 am

A new post in this thread for two months:
Start from a plain Life pattern and hit Alt+G twice. On first hit it is changed to LifeSuper, and on second hit it says "Rule is already [R]Super". Okay.

Start from a plain Life pattern and hit Alt+H twice. On first hit it is changed to LifeHistory, but on second hit it gives an error saying "Illegal character in survival specification". Not good! This is discovered on LifeWiki, where converting a pattern from Life to LifeHistory makes no change in appearance due to the colors specified by theme.

Also, in a freshly launched LifeViewer window, hitting Alt+H has a chance to change the playback speed from 1x to 60/s.

---

By the way, the LifeWiki article has been split per suggestions by muzik/AwesoMan3000. Is this acceptable?
Why do most natural OCA rules tend to get a diminishing span of interest and go into oblivion, like a lost civilization leaving little records for its beauty and power?

I have been focusing on this rule, now in industrial era:

熠熠种花 - Glimmering Garden

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

Re: Pattern viewer for forum threads

Post by Book » June 4th, 2022, 4:15 pm

GUYTU6J wrote:
June 4th, 2022, 5:41 am
By the way, the LifeWiki article has been split per suggestions by muzik/AwesoMan3000. Is this acceptable?
Nice...but it was the LifeViewer article, right?
Last edited by Book on June 4th, 2022, 4:18 pm, edited 1 time in total.

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

Re: Pattern viewer for forum threads

Post by rowett » June 15th, 2022, 1:53 am

GUYTU6J wrote:
June 4th, 2022, 5:41 am
Start from a plain Life pattern and hit Alt+H twice. On first hit it is changed to LifeHistory, but on second hit it gives an error saying "Illegal character in survival specification".
Fixed, thanks for reporting!

Post Reply