Pattern viewer for forum threads

For discussion directly related to ConwayLife.com, such as requesting changes to how the forums or wiki function.
muzik
Posts: 3505
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » December 5th, 2018, 9:08 am

rowett wrote:
Redstoneboi wrote: -iPad Air 2
-Safari
-doesn’t matter, it’s been bugging me since i started using lifeviewer til today
Sorry I can't reproduce the problem. The only Apple device I have is an iPhone and it works OK on that.
Does anyone else see the same issue?
I can also confirm that buttons (especially the close button) tend to act weirdly. Usually scrolling will either fix or exaggerate these problems.
Bored of using the Moore neighbourhood for everything? Introducing the Range-2 von Neumann isotropic non-totalistic rulespace!

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

Re: Pattern viewer for forum threads

Post by rowett » December 5th, 2018, 10:15 am

muzik wrote:I can also confirm that buttons (especially the close button) tend to act weirdly. Usually scrolling will either fix or exaggerate these problems.
I've seen issues with the close button on the iPhone. I'll take a look.

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

Re: Pattern viewer for forum threads

Post by rowett » December 18th, 2018, 3:29 pm

Larger than Life (LTL) support is coming soon. See here for a preview.

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

Re: Pattern viewer for forum threads

Post by calcyman » December 18th, 2018, 4:23 pm

rowett wrote:Larger than Life (LTL) support is coming soon. See here for a preview.
I've changed Catagolue to use the long LtL rulestring format instead of Kellie Evans' brief format (for the embedded RLE and hashsoup RLE), so that it's ready to seamlessly integrate with the next version of your viewer. Example:

http://catagolue.appspot.com/object/xq7 ... t84s63t108
What do you do with ill crystallographers? Take them to the mono-clinic!

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

Re: Pattern viewer for forum threads

Post by rowett » December 18th, 2018, 5:38 pm

calcyman wrote:I've changed Catagolue to use the long LtL rulestring format instead of Kellie Evans' brief format (for the embedded RLE and hashsoup RLE), so that it's ready to seamlessly integrate with the next version of your viewer.
Excellent. LifeViewer actually supports both formats but I prefer the longer one.

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

Re: Pattern viewer for forum threads

Post by rowett » December 21st, 2018, 6:24 pm

rowett wrote:Larger than Life (LtL) support is coming soon. See here for a preview.
I've updated the LtL preview with a new build which is now feature complete. If anyone has any test patterns I can try please let me know.

muzik
Posts: 3505
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » December 27th, 2018, 6:27 pm

Will this also be able to support the range-extended outer-totalistic rules apgsearch can search?

Also, will non-totalistic hexagonal rulestrings be supported?
Bored of using the Moore neighbourhood for everything? Introducing the Range-2 von Neumann isotropic non-totalistic rulespace!

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

Re: Pattern viewer for forum threads

Post by rowett » December 28th, 2018, 2:10 am

muzik wrote:Will this also be able to support the range-extended outer-totalistic rules apgsearch can search?
Where do I find the specification?
muzik wrote:Also, will non-totalistic hexagonal rulestrings be supported?
It's on the backlog. Not sure when.

User avatar
dvgrn
Moderator
Posts: 5889
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI
Contact:

Re: Pattern viewer for forum threads

Post by dvgrn » December 28th, 2018, 7:06 am

rowett wrote:
muzik wrote:Will this also be able to support the range-extended outer-totalistic rules apgsearch can search?
Where do I find the specification?
Here's calcyman's HROT rule spec ("higher range outer totalistic").

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

Re: Pattern viewer for forum threads

Post by rowett » December 30th, 2018, 9:59 am

dvgrn wrote:Here's calcyman's HROT rule spec ("higher range outer totalistic").
Thanks. It's on the backlog along with lifelib style rule name support.

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

Re: Pattern viewer for forum threads

Post by rowett » December 30th, 2018, 7:21 pm

rowett wrote:
dvgrn wrote:Here's calcyman's HROT rule spec ("higher range outer totalistic").
Thanks. It's on the backlog along with lifelib style rule name support.
HROT support is now built and will be in the next released build. Test case is here.

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

Re: Pattern viewer for forum threads

Post by calcyman » December 30th, 2018, 7:57 pm

rowett wrote:
rowett wrote:
dvgrn wrote:Here's calcyman's HROT rule spec ("higher range outer totalistic").
Thanks. It's on the backlog along with lifelib style rule name support.
HROT support is now built and will be in the next released build. Test case is here.
Thanks! I've updated Catagolue with the latest lv-plugin.js, such that the object pages display working LifeViewers for LtL and HROT rules.
What do you do with ill crystallographers? Take them to the mono-clinic!

muzik
Posts: 3505
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » December 30th, 2018, 9:12 pm

Can LifeViewer also be made to support the following, more readable notation for HROT rules?: viewtopic.php?f=7&t=2576&p=66248#p66248
Bored of using the Moore neighbourhood for everything? Introducing the Range-2 von Neumann isotropic non-totalistic rulespace!


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

Re: Pattern viewer for forum threads

Post by rowett » January 1st, 2019, 12:01 pm

muzik wrote:Can LifeViewer also be made to support the following, more readable notation for HROT rules?: viewtopic.php?f=7&t=2576&p=66248#p66248
Yes but probably a slightly different notation for consistency.

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

Re: Pattern viewer for forum threads

Post by rowett » January 1st, 2019, 12:03 pm

muzik wrote:It seems as though lifeviewer is still bound to rules with range 5, can this be extended?
Yes easily. The engine can cope with ranges up to 500. The reason I limited it to 5 was because that was how it was specified. Let me know what upper bound makes sense.

muzik
Posts: 3505
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » January 1st, 2019, 1:57 pm

I'd say range 10 would be a reasonable upper limit. I'd like if it went up to 500, but we'd probably need a genius way to compress the rulestring (although, to be completely honest, I'd be absolute fine with ridiculously long rulestrings and 500 as an upper limit, but I'm probably the only one who is).

Anyone else willing to put in their votes?
Bored of using the Moore neighbourhood for everything? Introducing the Range-2 von Neumann isotropic non-totalistic rulespace!

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

Re: Pattern viewer for forum threads

Post by rowett » January 2nd, 2019, 12:12 pm

rowett wrote:
muzik wrote:Can LifeViewer also be made to support the following, more readable notation for HROT rules?: viewtopic.php?f=7&t=2576&p=66248#p66248
Yes but probably a slightly different notation for consistency.
New canonical HROT rule format: R<range>,C<states>,S<list>,B<list> - test
  • <range> is from 2 to 500
  • <states> is from 0 to 255 (and values < 2 are treated as 2)
  • <list> is a comma separated list of counts e.g. 2,4-6,10,12-15

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

Re: Pattern viewer for forum threads

Post by rowett » January 2nd, 2019, 12:12 pm

muzik wrote:I'd say range 10 would be a reasonable upper limit. I'd like if it went up to 500...
The upper limit is now 500.

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

Re: Pattern viewer for forum threads

Post by rowett » January 2nd, 2019, 3:21 pm

Build 264 is now live on the Forums and LifeWiki

Please note: you will need to refresh your browser to use the new build

Enhancements since the last released build:
  • Rules
    • added support for Larger than Life (LtL) rules
      • x = 113, y = 113, rule = R7,C0,M1,S65..114,B65..95,NM
        49b4o$47b7o$46b10o$45b12o$45b13o19b2o$44b3o5b6o17b6o$22b3o19b3o5b6o16b
        9o$20b7o17b3o5b6o15b11o$19b9o16b3o5b6o14b3ob9o$18b12o15b3o2b8o14b3o4b
        7o$18b13o14b12o14b3o6b6o$17b5o3b6o15b10o15b3o6b6o$17b2o7b5o16b7o17b3o
        6b6o$17b2o7b5o18b3o20b3obo2b7o$17b3o5b6o41b13o$17b3o2b9o42b11o$18b3ob
        8o44b8o$19b10o46b6o16b5o$20b7o50b2o17b8o$21b5o69b4o2b4o$94b3o4b5o$93b
        3o5b5o$93b5o4b5o$93b5o4b5o$93b5o4b5o$93b6o2b5o$94b12o$9b5o81b10o$8b7o
        80b9o$7b9o80b8o$6b10o81b6o$6b11o$5b13o$5b5o3b5o$4b5o5b5o$4b5o5b5o$5b4o
        4b5o$5b3o6b4o$6b4o3b4o$7b9o$8b7o$10b3o3$104b4o$102b8o$101b10o$100b4o4b
        4o$100b3o5b4o$99b4o5b5o$99b5o4b5o$99b5o4b5o$100b13o$100b12o$101b10o$4b
        6o91b10o$3b8o91b8o$2b10o91b6o$2b10o$b12o$13o$5o4b5o$5o4b5o$5o5b4o$b4o
        5b3o$b4o4b4o$2b10o$3b8o$5b4o3$100b3o$98b7o$97b9o$96b4o3b4o$95b4o6b3o$
        95b5o4b4o$94b5o5b5o$94b5o5b5o$95b5o3b5o$95b13o$96b11o$10b6o81b10o$9b8o
        80b9o$9b9o80b7o$8b10o81b5o$7b12o$7b5o2b6o$6b5o4b5o$6b5o4b5o$6b5o4b5o$
        7b5o5b3o$7b5o4b3o$8b4o2b4o69b5o$9b8o17b2o50b7o$11b5o16b6o46b10o$31b8o
        44b8ob3o$29b11o42b9o2b3o$28b13o41b6o5b3o$27b7o2bob3o20b3o18b5o7b2o$27b
        6o6b3o17b7o16b5o7b2o$27b6o6b3o15b10o15b6o3b5o$27b6o6b3o14b12o14b13o$
        27b7o4b3o14b8o2b3o15b12o$28b9ob3o14b6o5b3o16b9o$29b11o15b6o5b3o17b7o$
        30b9o16b6o5b3o19b3o$32b6o17b6o5b3o$34b2o19b13o$56b12o$57b10o$59b7o$60b
        4o!
        [[ THUMBLAUNCH ]]
      • canonical rule format is Mirek Wojtowicz's MCell format: Rr,Cc,Mm,Ssmin..smax,Bbmin..bmax,Nn
        • Rr specifies neighborhood range (1 to 500)
        • Cc specifies the number of states (0 to 255)
        • Mm specifies whether the middle cell is included in the neighborhood count (0 or 1)
        • Ssmin..smax - specifies the count limits for an alive cell to stay alive
        • Bbmin..bmax - specifies the count limits for a dead cell to become a birth
        • Nn - specifies the extended neighborhood type (M for Moore, N for von Neumann, and C for circular)
      • also supports Kellie Evans' notation of five integers: r,bmin,bmax,smin,smax
        • r - specifies the neighborhood range
        • bmin,bmax - specifies the birth range
        • smin,smax - specifies the survival range
      • also supports Adam P. Goucher's lifelib notation: rrangebbmintbmaxssmintsmax optionally prefixed with gstates
        • gstates - specifies number of states
        • rrange - specifies the neighborhood range
        • bbmintbmax - specifies the birth range
        • ssmintsmax - specifies the survival range
    • added support for Higher-range outer-totalistic (HROT) rules
      • x = 8, y = 8, rule = R2,C50,S9-16,19,B3-4:T400
        oooooooo$obbbbbbo$obbbbbbo$obboobbo$obboobbo$obbbbbbo$obbbbbbo$oooooooo!
        [[ THUMBLAUNCH THUMBZOOM 16 ZOOM 1 ]]
      • canonical rule format is: Rr,Cc,Slist,Blist
        • Rr specifies neighborhood range (2 to 500)
        • Cc specifies the number of states (0 to 255)
        • Slist - specifies a comma separated list of count limits for an alive cell to stay alive
        • Blist - specifies a comma separated list of count limits for a dead cell to become a birth
      • also supports Adam P. Goucher's lifelib notation: rrangebhexshex optionally prefixed with gstates
        • gstates - specifies number of states
        • rrange - specifies the neighborhood range
        • bhex - specifies the birth range
        • shex - specifies the survival range and optionally followed by z
    • accepts some lifelib style rule names
      • Generations rules can be specified with "gstates" prefix rather than "/states" postfix
  • UI
    • new button in menu to toggle Hex pattern display
    • Help information now shows neighbourhood range when greater than 1
  • Script commands
    • new script command [[ THUMBZOOM ]] to set the zoom in the thumbnail display
Fixes since the last released build:
  • non-totalistic rules without digits were not being marked as invalid
  • LOOP with Waypoints or AutoFit was not resetting camera on reset
  • fixed a potential crash when reading meta settings
  • meta "limit" setting default is now false, not true (for easier web page integration)
  • displayed XY location was incorrect after grid growth
  • canonical form of MAP rules with Generations now adds the number of states
  • label UI controls under buttons were receiving click events preventing the button from working
  • AutoFit on reset wasn't centring the pattern if hex/square display mode had changed
  • prevented mousewheel from zooming thumbnails
The updated hotkey map detailing the LifeViewer keyboard controls is here.

Comments, feedback, suggestions and bug reports welcome!

muzik
Posts: 3505
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » January 2nd, 2019, 3:29 pm

It seems as though ranges over 5 are still not supported for hex encoding, I'm pretty sure this is intentional though.

Also, can HROT rules be made to use the cyan/white theme just like range-1 outer-totalistic rules do, for consistency?


Also, is the second rulestring truly invalid? It doesn't seem like it should be.

Code: Select all

x = 1, y = 1, rule = R2,C2,S1-1,3-3,5-5,7-7,9-9,11-11,13-13,15-15,17-17,19-19,21-21,23-23,B1,3,5,7,9,11,13,15,17,19,21,23
o!

Code: Select all

x = 1, y = 1, rule = R2,C2,S1,3,5,7,9,11,13,15,17,19,21,23,B1,3,5,7,9,11,13,15,17,19,21,23
o!
Last edited by muzik on January 2nd, 2019, 3:35 pm, edited 1 time in total.
Bored of using the Moore neighbourhood for everything? Introducing the Range-2 von Neumann isotropic non-totalistic rulespace!

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

Re: Pattern viewer for forum threads

Post by rowett » January 2nd, 2019, 3:35 pm

muzik wrote:It seems as though ranges over 5 are still not supported for hex encoding, I'm pretty sure this is intentional though.
They are supported. You probably need to refresh your browser and check it says Build 264.
muzik wrote:Also, can HROT rules be made to use the cyan/white theme just like range-1 outer-totalistic rules do, for consistency?
Not sure. They're actually much closer to LtL rules so I made HROT and LtL consistent. You can always use the script command [[ THEME 1 ]] to do this.

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

Re: Pattern viewer for forum threads

Post by rowett » January 2nd, 2019, 3:46 pm

muzik wrote:Also, is the second rulestring truly invalid? It doesn't seem like it should be.
It's a bug - well spotted. It's fixed and will be in the next released build. Test case is here. You can work round it in the meantime by ensuring there is a "-" character somewhere in the rule string.

muzik
Posts: 3505
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Pattern viewer for forum threads

Post by muzik » January 2nd, 2019, 4:14 pm

Can I also suggest von Neumann and possibly circular neighbourhoods for HROT rules for cinsitency with LtL (and, since I'm extremely evil, hexagonal neighbourhoods)?
Bored of using the Moore neighbourhood for everything? Introducing the Range-2 von Neumann isotropic non-totalistic rulespace!

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

Re: Pattern viewer for forum threads

Post by rowett » January 2nd, 2019, 5:29 pm

muzik wrote:Can I also suggest von Neumann and possibly circular neighbourhoods for HROT rules for cinsitency with LtL (and, since I'm extremely evil, hexagonal neighbourhoods)?
Yes to the former. Not sure about your evil suggestion.

I'm also considering having 2-state LtL, HROT (and possibly Generations) allow the full LifeViewer Theme processing (decaying dead cells etc.). In which case they would default to THEME 1 as for the other 2-state rules.

Post Reply