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

Re: Pattern viewer for forum threads

Post by muzik » October 2nd, 2019, 7:01 am

Exact generations still aren't displayed in the T menu beyond 10^9 (almost certainly intentional). I doubt this will become an issue with general usage but can with custom RLE inputs.

Code: Select all

#CXRLE Pos=-12,-6 Gen=999999990
x = 11, y = 10, rule = R5,C0,M1,S34..53,B31..42,NM
3b4o$2bo2b4o$bo4b5o$2o5b4o$2o5b4o$b2o3b5o$2b8o$2b7o$3b5o$4b3o!
You also can't set negative starting generations:

Code: Select all

#CXRLE Pos=-12,-6 Gen=-50
x = 46, y = 43, rule = M0,2,8,3,1,5,6,7,4,9,10,11,12,13,14,15
$35b5o$35bo3bo$35bo4bo$30b8o2bo$31b7o3bo$36b2o3bo$46o$46o$46o$46o$46o
$46o$46o$46o$46o$46o$46o$46o$46o$46o$46o$46o$46o$46o$46o$46o$46o$46o$
46o$46o$46o$46o$46o$46o$46o$46o$46o$46o$46o$46o$46o$46o!
For Margolus rules, could both Margolus generation and absolute generation be displayed in the T menu, so both can be seen in unabridged form?

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 » October 2nd, 2019, 9:23 pm

The Lifewiki has been updated but the title bar is bugged slightly:
Screenshot_20191003_092237.jpg
Screenshot_20191003_092237.jpg (441.46 KiB) Viewed 5695 times
By the way, the Lifeviewer on the wiki looks better than tha on the forums, for its quality is better and the settings button is shown.

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 » October 3rd, 2019, 1:06 am

Build 419 is now live on the Forums and LifeWiki

Please note: you will need to refresh your browser to use the new build (Ctrl-F5 on Chrome)

Fixes since the last released build:
  • fix window scale on high DPI devices on Forum
  • fix title bar on new Wiki (outstanding issue with top personal navigation)
The updated hotkey map detailing the LifeViewer keyboard controls is here.

Comments, feedback, suggestions and bug reports welcome!

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 » October 3rd, 2019, 1:32 am

Ah thanks! Everything else except buttons for "Create account" and "Log in" is under the viewer window.
But why all of the buttons are so small on my laptop(not smartphone)?
EDIT: Both on my mobile and on my computer, the buttons are strangely unclickable. Is there anyone else suffering from such problem?

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

Re: Pattern viewer for forum threads

Post by muzik » October 3rd, 2019, 1:42 am

There's no way to generate random reversible or population preserving margolus rules using in-viewer button combos, so could something like this be added, probably by using check boxes or something?

There's also a few other rule properties that could be allowed for other rulespaces, such as the option to generate a random rule which is invariant under black-white reversal, or a random rule which preserves D8_2 symmetry.

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 » October 3rd, 2019, 3:01 am

GUYTU6J wrote:
October 3rd, 2019, 1:32 am
Ah thanks! Everything else except buttons for "Create account" and "Log in" is under the viewer window.
These should be working now. Please refresh your browser (Ctrl-F5) and try again.
GUYTU6J wrote:
October 3rd, 2019, 1:32 am
But why all of the buttons are so small on my laptop(not smartphone)?
Please look in Help->Info->Display and let me know the values for:
  • Size
  • Scale
  • Pixel Ratio
  • Window Zoom
If the buttons don't work then hotkey "I" will get you to the relevant Help page.

wildmyron
Posts: 1544
Joined: August 9th, 2013, 12:45 am
Location: Western Australia

Re: Pattern viewer for forum threads

Post by wildmyron » October 3rd, 2019, 5:47 am

GUYTU6J wrote:
October 3rd, 2019, 1:32 am
EDIT: Both on my mobile and on my computer, the buttons are strangely unclickable. Is there anyone else suffering from such problem?
No issues on my desktop (Chrome and Firefox) but I have the same problem on mobile. All buttons except for the red X (close) are non-functional. Every tap on the Lifeviewer window does result in the current cell co-ords and state being updated though. However if I scroll towards the top of the thread (whilst Lifeviewer is still open) all the buttons suddenly start working.

Chrome Version 76.0.3809.132 on my Moto G5
The 5S project (Smallest Spaceships Supporting Specific Speeds) is now maintained by AforAmpere. The latest collection is hosted on GitHub and contains well over 1,000,000 spaceships.

Semi-active here - recovering from a severe case of LWTDS.

wildmyron
Posts: 1544
Joined: August 9th, 2013, 12:45 am
Location: Western Australia

Re: Pattern viewer for forum threads

Post by wildmyron » October 3rd, 2019, 5:51 am

Edit: hmm, this was supposed to be an edit to the previous post. Not sure what happened there.

Incidentally, with the new layout for mobile (which I find much nicer for thread reading) the Lifeviewer popup doesn't expand to fit the full width of the page any more. It's still a lot better than what it was before the change in build 401.
Last edited by wildmyron on October 3rd, 2019, 12:12 pm, edited 1 time in total.
The 5S project (Smallest Spaceships Supporting Specific Speeds) is now maintained by AforAmpere. The latest collection is hosted on GitHub and contains well over 1,000,000 spaceships.

Semi-active here - recovering from a severe case of LWTDS.

User avatar
Ian07
Moderator
Posts: 891
Joined: September 22nd, 2018, 8:48 am
Location: New Jersey, US

Re: Pattern viewer for forum threads

Post by Ian07 » October 3rd, 2019, 10:51 am

The embedded viewer on this page is giving an error and I have absolutely no idea why. I thought it was something with the new MediaWiki update but none of the other articles that use the template have this issue.

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 » October 3rd, 2019, 11:28 am

rowett wrote:
October 3rd, 2019, 3:01 am
Please look in Help->Info->Display and let me know the values for:
  • Size
  • Scale
  • Pixel Ratio
  • Window Zoom
If the buttons don't work then hotkey "I" will get you to the relevant Help page.
This small (actual size):
small.png
small.png (22.13 KiB) Viewed 5638 times
  • Size = 1120x1032
  • Scale = 1.00
  • Pixel Ratio = 1.00
  • Window Zoom = 0.50

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 » October 3rd, 2019, 11:51 am

Ian07 wrote:
October 3rd, 2019, 10:51 am
The embedded viewer on this page is giving an error and I have absolutely no idea why. I thought it was something with the new MediaWiki update but none of the other articles that use the template have this issue.
Perhaps the RLE is missing? Clicking on RLE or Plaintext links gets to a page not found.

User avatar
Ian07
Moderator
Posts: 891
Joined: September 22nd, 2018, 8:48 am
Location: New Jersey, US

Re: Pattern viewer for forum threads

Post by Ian07 » October 3rd, 2019, 11:56 am

rowett wrote:
October 3rd, 2019, 11:51 am
Perhaps the RLE is missing? Clicking on RLE or Plaintext links gets to a page not found.
Okay, the problem was that I entered the wrong pname. In my defense, the error "illegal character in pattern" implied that it did find the RLE but that it wasn't valid for some reason. I should note that those two links definitely wouldn't be the problem, since they link to the pattern collection rather than the wiki's RLE namespace that LifeViewer actually looks at. Those links will become valid the next time Dave Greene runs his RLE scraper script.

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 » October 3rd, 2019, 12:01 pm

Ian07 wrote:
October 3rd, 2019, 11:56 am
... the error "illegal character in pattern" implied that it did find the RLE but that it wasn't valid for some reason.
An easy way to find out what LifeViewer tried to load is to click on the LifeViewer window and then Ctrl+Shift C. Paste the result into a text editor. In this case it was:

Code: Select all

[[:RLE:Longboatsplitter]]
#C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]]
LifeViewer then complained about the first "[" it saw.

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 » October 3rd, 2019, 3:57 pm

Build 420 is now live on the Forums and LifeWiki

Please note: you will need to refresh your browser to use the new build (Ctrl-F5 on Chrome)

Fixes since the last released build:
  • more accurate window scale for PopUp Viewer
The updated hotkey map detailing the LifeViewer keyboard controls is here.

Comments, feedback, suggestions and bug reports welcome!

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 » October 3rd, 2019, 3:58 pm

GUYTU6J wrote:
October 3rd, 2019, 1:32 am
Both on my mobile and on my computer, the buttons are strangely unclickable. Is there anyone else suffering from such problem?
Please try Build 420 and let me know if this is any better.

User avatar
Ian07
Moderator
Posts: 891
Joined: September 22nd, 2018, 8:48 am
Location: New Jersey, US

Re: Pattern viewer for forum threads

Post by Ian07 » October 3rd, 2019, 8:49 pm

Here's something weird: go to the cross-surface page on the wiki and notice how the viewer broken because the glider and the LWSS both end up in the wrong positions when they cross the edges. Now open the viewer window and copy-paste the RLE into Golly and see that it works fine. Now copy-paste the RLE onto the forums and it still works fine:

Code: Select all

x = 86, y = 98, rule = B3/S23:C100
6b2o9b2o48b2o9b2o$6b2o9b2o48b2o9b2o2$67b2o9b2o$67b2o9b2o2$23b2o11b2ob
2o11b2o$22bobo10bobobobo10bobo$21bobo10bobo3b2o11b2o$21b2o11b2o16$4b2o
$3bobo$2bobo$bobo$obo$2o4$80b2o$80bobo$81bobo$82bobo$4b2o77bobo$3bobo
78b2o$2bobo$bobo$obo$2o2$2o$obo$bobo76b2o$2bobo75bobo$3b2o76bobo$82bo
bo$83bobo$84b2o2$84b2o$83bobo$82bobo$81bobo$2o79b2o$obo$bobo$2bobo$3b
2o5$84b2o$83bobo$82bobo$81bobo$81b2o4$11b3o$11bo2bo$11bo$11bo$12bobo9$
30b2o6bo4b2o$30bobo4b2o4bobo3b2o11b2o$31bobo3bobo4bobobobo10bobo$32b2o
11b2ob2o11b2o2$6b2o9b2o$6b2o9b2o$67b2o9b2o$6b2o9b2o48b2o9b2o$6b2o9b2o
!
Is there a difference between the forum and wiki versions of LifeViewer that I'm missing?

wildmyron
Posts: 1544
Joined: August 9th, 2013, 12:45 am
Location: Western Australia

Re: Pattern viewer for forum threads

Post by wildmyron » October 3rd, 2019, 10:40 pm

wildmyron wrote:
October 3rd, 2019, 5:51 am
Incidentally, with the new layout for mobile (which I find much nicer for thread reading) the Lifeviewer popup doesn't expand to fit the full width of the page any more. It's still a lot better than what it was before the change in build 401.
rowett wrote:
October 3rd, 2019, 3:57 pm
Build 420 is now live on the Forums and LifeWiki

Please note: you will need to refresh your browser to use the new build (Ctrl-F5 on Chrome)

Fixes since the last released build:
  • more accurate window scale for PopUp Viewer
Build 420 has caused all the buttons to become tiny on my Android device. The popup viewer still takes up less than the full width of the page.
Display parameters:

Code: Select all

Size        560 x 560
Scale       0.53
Pixel Ratio 3.00
Window Zoom 0.53
Screenshot: See attached image

Edit: removed from inline for readability. Also fixed quoting issues.

====
rowett wrote:
October 3rd, 2019, 3:58 pm
GUYTU6J wrote:
October 3rd, 2019, 1:32 am
Both on my mobile and on my computer, the buttons are strangely unclickable. Is there anyone else suffering from such problem?
Please try Build 420 and let me know if this is any better.
I'm still having difficulty with button responsiveness. I could only get the help display to appear by scrolling to the top of the page first.
Attachments
Lifeviewer scaling bug
Lifeviewer scaling bug
Screenshot_20191004-101739.png (357.4 KiB) Viewed 5595 times
Last edited by wildmyron on October 4th, 2019, 11:40 pm, edited 1 time in total.
The 5S project (Smallest Spaceships Supporting Specific Speeds) is now maintained by AforAmpere. The latest collection is hosted on GitHub and contains well over 1,000,000 spaceships.

Semi-active here - recovering from a severe case of LWTDS.

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

Re: Pattern viewer for forum threads

Post by muzik » October 4th, 2019, 9:57 am

Could UI colours be changed as parts of themes, so, for example, the Blues theme appears more or less identical to what it did up until early 2019?

I'm also having weirdness with viewer window size and button functionality specifically when searching on the forum, but not on actual forum pages.

Image

Image

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 » October 4th, 2019, 9:57 am

Ian07 wrote:
October 3rd, 2019, 8:49 pm
Is there a difference between the forum and wiki versions of LifeViewer that I'm missing?
No they are identical. What's different is the RLE. The version on the Wiki is:

Code: Select all

#N crosssurface.rle
#C http://conwaylife.com/wiki/Bounded_grids
#C http://conwaylife.com/patterns/crosssurface.rle
x = 100, y = 100, rule = B3/S23:C100,100
$13b2o9b2o48b2o9b2o$13b2o9b2o48b2o9b2o2$74b2o9b2o$74b2o9b2o2$30b2o11b
2ob2o11b2o$29bobo10bobobobo10bobo$28bobo10bobo3b2o11b2o$28b2o11b2o16$
11b2o$10bobo$9bobo$8bobo$7bobo$7b2o4$87b2o$87bobo$88bobo$89bobo$11b2o
77bobo$10bobo78b2o$9bobo$8bobo$7bobo$7b2o2$7b2o$7bobo$8bobo76b2o$9bobo
75bobo$10b2o76bobo$89bobo$90bobo$91b2o2$91b2o$90bobo$89bobo$88bobo$7b
2o79b2o$7bobo$8bobo$9bobo$10b2o5$91b2o$90bobo$89bobo$88bobo$88b2o4$18b
3o$18bo2bo$18bo$18bo$19bobo9$37b2o6bo4b2o$37bobo4b2o4bobo3b2o11b2o$38b
obo3bobo4bobobobo10bobo$39b2o11b2ob2o11b2o2$13b2o9b2o$13b2o9b2o$74b2o
9b2o$13b2o9b2o48b2o9b2o$13b2o9b2o!
Once you copy it out of LifeViewer you get a different positioned RLE which works in both Golly and LifeViewer:

Code: Select all

x = 86, y = 98, rule = B3/S23:C100,100
6b2o9b2o48b2o9b2o$6b2o9b2o48b2o9b2o2$67b2o9b2o$67b2o9b2o2$23b2o11b2ob
2o11b2o$22bobo10bobobobo10bobo$21bobo10bobo3b2o11b2o$21b2o11b2o16$4b2o
$3bobo$2bobo$bobo$obo$2o4$80b2o$80bobo$81bobo$82bobo$4b2o77bobo$3bobo
78b2o$2bobo$bobo$obo$2o2$2o$obo$bobo76b2o$2bobo75bobo$3b2o76bobo$82bob
o$83bobo$84b2o2$84b2o$83bobo$82bobo$81bobo$2o79b2o$obo$bobo$2bobo$3b2o
5$84b2o$83bobo$82bobo$81bobo$81b2o4$11b3o$11bo2bo$11bo$11bo$12bobo9$
30b2o6bo4b2o$30bobo4b2o4bobo3b2o11b2o$31bobo3bobo4bobobobo10bobo$32b2o
11b2ob2o11b2o2$6b2o9b2o$6b2o9b2o$67b2o9b2o$6b2o9b2o48b2o9b2o$6b2o9b2o!
It looks like LifeViewer and Golly have slightly different position rules for Bounded Grid patterns. The easiest solution for now would be to update the RLE on the Wiki.

User avatar
testitemqlstudop
Posts: 1367
Joined: July 21st, 2016, 11:45 am
Location: in catagolue
Contact:

Re: Pattern viewer for forum threads

Post by testitemqlstudop » October 4th, 2019, 11:00 pm

I can't press any of the control buttons.

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 » October 4th, 2019, 11:02 pm

Build 421 is now live on the Forums and LifeWiki

Please note: you will need to refresh your browser to use the new build (Ctrl-F5 on Chrome)

Fixes since the last released build:
  • fix image loading issue on Firefox
  • fix button scale
The updated hotkey map detailing the LifeViewer keyboard controls is here.

Comments, feedback, suggestions and bug reports welcome!

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 » October 4th, 2019, 11:05 pm

testitemqlstudop wrote:
October 4th, 2019, 11:00 pm
I can't press any of the control buttons.
Please try Build 421 and if it still doesn't work then let me know the following information:
  • Operating system
  • Browser and version
  • Device you're using
  • Screen resolution
Then from LifeViewer go to Help->Info->Display (or press key "I") and let me know:
  • Size
  • Scale
  • Pixel Ratio
  • Window Zoom

User avatar
testitemqlstudop
Posts: 1367
Joined: July 21st, 2016, 11:45 am
Location: in catagolue
Contact:

Re: Pattern viewer for forum threads

Post by testitemqlstudop » October 4th, 2019, 11:07 pm

Ah! It works now. Thanks!

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 » October 5th, 2019, 2:03 pm

Build 422 is now live on the Forums and LifeWiki

Please note: you will need to refresh your browser to use the new build (Ctrl-F5 on Chrome)

Fixes since the last released build:
  • improve window scaling for PopUp Viewer
  • fixed PopUp Viewer controls not responding when browser scrolled
The updated hotkey map detailing the LifeViewer keyboard controls is here.

Comments, feedback, suggestions and bug reports welcome!

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 » October 6th, 2019, 4:36 am

Build 423 is now live on the Forums and LifeWiki

Please note: you will need to refresh your browser to use the new build (Ctrl-F5 on Chrome)

Fixes since the last released build:
  • fix cross browser window scaling
The updated hotkey map detailing the LifeViewer keyboard controls is here.

Comments, feedback, suggestions and bug reports welcome!

Post Reply