Pattern viewer for forum threads

For discussion directly related to ConwayLife.com, such as requesting changes to how the forums or wiki function.
lemon41625
Posts: 268
Joined: January 24th, 2020, 7:39 am
Location: 小红点 (if you know where that is)

Re: Pattern viewer for forum threads

Post by lemon41625 » September 6th, 2020, 11:58 pm

There seems to be a difference in behaviour of this

Code: Select all

#C [[ RANDOMIZE ]]
x = 0, y = 0, rule = B0123/S9L
o!
and this

Code: Select all

#C [[ RANDOMIZE ]]
x = 0, y = 0, rule = R1,C2,S9,B0-3,NL:T100
o!
Also can B0 HROT be supported on an unbounded grid (or at least rendered in a way that stops the background from strobing)?
Download CAViewer: https://github.com/jedlimlx/Cellular-Automaton-Viewer

Supports:
BSFKL, Extended Generations, Regenerating Generations, Naive Rules, R1 Moore, R2 Cross and R2 Von Neumann INT
And some others...

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

Re: Pattern viewer for forum threads

Post by rowett » September 7th, 2020, 2:34 am

lemon41625 wrote:
September 6th, 2020, 11:58 pm
There seems to be a difference in behaviour of this...
Fixed, thanks for reporting!
lemon41625 wrote:
September 6th, 2020, 11:58 pm
Also can B0 HROT be supported on an unbounded grid (or at least rendered in a way that stops the background from strobing)?
I'll take a look.

bprentice
Posts: 705
Joined: September 10th, 2009, 6:20 pm
Location: Coos Bay, Oregon

Re: Pattern viewer for forum threads

Post by bprentice » September 7th, 2020, 8:19 am

What is the correct URL for this important list of rule definitions?

https://conwaylife.com/wiki/Special:All ... space=3794

Is the list considered part of Pattern Viewer or part of LifeWiki? If it is considered part of LifeWiki, how do you get to it from here?

https://www.conwaylife.com/wiki/Main_Page

Why doesn't Golly use the list of rule definitions?

I tried to get the rule table for the following rule in order to run it in Golly yesterday.

viewtopic.php?f=11&t=4699#p103544

I was successful, but it was challenging and confusing. It would be useful if the Pattern Viewer Help described the rule definition list and how to use it.

Brian Prentice

MikeP
Posts: 88
Joined: February 7th, 2010, 9:51 am
Location: Cambridge, UK

Re: Pattern viewer for forum threads

Post by MikeP » September 11th, 2020, 9:48 pm

Sorry - I'll admit I've been lazy and haven't read all 69 pages of this thread.

1- Is the LifeViewer documentation available somewhere online, rather than scrolling through it all inside the application itself?

2- How can I make a really tiny one for looking at localised regions of a pattern? I tried to post this but I'd like to strip out all the controls and make it even smaller so it doesn't visually dominate the post.

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

Re: Pattern viewer for forum threads

Post by dvgrn » September 11th, 2020, 10:28 pm

MikeP wrote:
September 11th, 2020, 9:48 pm
1- Is the LifeViewer documentation available somewhere online, rather than scrolling through it all inside the application itself?
Maybe it's a good idea to put a version of those scrollable Help files in the LifeWiki LifeViewer article.
2- How can I make a really tiny one for looking at localised regions of a pattern? I tried to post this but I'd like to strip out all the controls and make it even smaller so it doesn't visually dominate the post.
There's a convenient THUMBNAIL command that helps quite a bit:

Code: Select all

#CXRLE Pos=-14,-8 Gen=7
#C [[ THUMBNAIL THUMBSIZE 3 HEIGHT 240 ZOOM 16 ]]
x = 5, y = 3, rule = LifeHistory
A.A.A$2A.2A$.3D!

bubblegum
Posts: 290
Joined: August 25th, 2019, 11:59 pm
Location: click here to do nothing

Re: Pattern viewer for forum threads

Post by bubblegum » September 12th, 2020, 1:19 am

Another suggestion: how about TRICELLS for switching triangular rule displays?
(or you could just repurpose HEXCELLS)

and remember the / hotkey (which on my keyboard is actually an é but you didn't need to know that)
Each day is a hidden opportunity, a frozen waterfall that's waiting to be realised, and one that I'll probably be ignoring
bubblegum wrote:
July 2nd, 2020, 8:33 pm
conwaylife signatures are amazing[citation needed]
part-time stator reducer

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

Re: Pattern viewer for forum threads

Post by rowett » September 12th, 2020, 4:11 am

dvgrn wrote:
September 11th, 2020, 10:28 pm
MikeP wrote:
September 11th, 2020, 9:48 pm
1- Is the LifeViewer documentation available somewhere online, rather than scrolling through it all inside the application itself?
Maybe it's a good idea to put a version of those scrollable Help files in the LifeWiki LifeViewer article.
You can copy the Help information from LifeViewer to the clipboard with Ctrl-C (Command-C on Mac) while on each Help page.

User avatar
Andrew
Moderator
Posts: 795
Joined: June 2nd, 2009, 2:08 am
Location: Melbourne, Australia
Contact:

Re: Pattern viewer for forum threads

Post by Andrew » September 12th, 2020, 8:28 pm

rowett wrote:
September 12th, 2020, 4:11 am
You can copy the Help information from LifeViewer to the clipboard with Ctrl-C (Command-C on Mac) while on each Help page.
Command-C on Mac seems to just cycle through themes (tested with Safari and Chrome on Catalina).
Ctrl-C works ok.

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

Re: Pattern viewer for forum threads

Post by dvgrn » September 12th, 2020, 9:52 pm

I've put a version of LifeViewer help into the LifeWiki LifeViewer article. It could definitely use some more formatting work, and maybe it would be better as a separate article, but at least it's a start.

Hopefully this is a good idea and not just another separate thing that will have to be maintained...!

bubblegum
Posts: 290
Joined: August 25th, 2019, 11:59 pm
Location: click here to do nothing

Re: Pattern viewer for forum threads

Post by bubblegum » September 15th, 2020, 9:31 pm

Each day is a hidden opportunity, a frozen waterfall that's waiting to be realised, and one that I'll probably be ignoring
bubblegum wrote:
July 2nd, 2020, 8:33 pm
conwaylife signatures are amazing[citation needed]
part-time stator reducer

Hunting
Posts: 3467
Joined: September 11th, 2017, 2:54 am

Re: Pattern viewer for forum threads

Post by Hunting » September 16th, 2020, 1:07 am

dvgrn wrote:
September 12th, 2020, 9:52 pm
I've put a version of LifeViewer help into the LifeWiki LifeViewer article. It could definitely use some more formatting work, and maybe it would be better as a separate article, but at least it's a start.

Hopefully this is a good idea and not just another separate thing that will have to be maintained...!
Ah, no! Now the LV article is insanely long! Moving that to Help:LifeViewer should be better, though, and instead of a simple table, it should contain more proper words and detailed explanations.
MLP: Multi-Layer Perceptron

Also, you just lost the game.
Moosey wrote:
February 5th, 2019, 7:51 pm
“New knightship tagalong!”
“Quick, hide it!”
My TODO list

LeapLife - DirtyLife - LispLife

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

Re: Pattern viewer for forum threads

Post by rowett » September 16th, 2020, 3:01 am


creeperman7002
Posts: 36
Joined: December 4th, 2018, 11:52 pm

Re: Pattern viewer for forum threads

Post by creeperman7002 » September 20th, 2020, 2:45 pm

Pasting in some rules causes LifeViewer to freeze:

Code: Select all

x = 1, y = 1, rule = SandpileMoore
P!


[[ TRACK 1/3 0 PASTEMODE 7 PASTEDELTA 1 0 PASTET EVERY 3 0 8192 PASTE P! ]]

@RULE SandpileMoore

@TABLE
n_states:18
neighborhood:Moore
symmetries:permute
var a={0,1,2,3,4,5,6,7,8}
var b={0,1,2,3,4,5,6,7,8}
var c={0,1,2,3,4,5,6,7,8}
var d={0,1,2,3,4,5,6,7,8}
var e={0,1,2,3,4,5,6,7,8}
var f={0,1,2,3,4,5,6,7,8}
var g={0,1,2,3,4,5,6,7,8}
var h={9,10,11,12,13,14,15,16,17}
var i={9,10,11,12,13,14,15,16,17}
var j={9,10,11,12,13,14,15,16,17}
var k={9,10,11,12,13,14,15,16,17}
var l={9,10,11,12,13,14,15,16,17}
var m={9,10,11,12,13,14,15,16,17}
var n={9,10,11,12,13,14,15,16,17}
var o={9,10,11,12,13,14,15,16,17}
var p={1,9}
var q={2,10}
var r={3,11}
var s={4,12}
var t={5,13}
var u={6,14}
var v={7,15}
var w={8,16}
var x={0,1,2,3,4,5,6,7,8}

0,a,b,c,d,e,f,g,h,2
0,a,b,c,d,e,f,h,i,3
0,a,b,c,d,e,h,i,j,4
0,a,b,c,d,h,i,j,k,5
0,a,b,c,h,i,j,k,l,6
0,a,b,h,i,j,k,l,m,7
0,a,h,i,j,k,l,m,n,8
0,h,i,j,k,l,m,n,o,9
p,a,b,c,d,e,f,g,h,2
p,a,b,c,d,e,f,h,i,3
p,a,b,c,d,e,h,i,j,4
p,a,b,c,d,h,i,j,k,5
p,a,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k,l,m,n,o,15
w,a,b,c,d,e,f,g,h,9
w,a,b,c,d,e,f,h,i,10
w,a,b,c,d,e,h,i,j,11
w,a,b,c,d,h,i,j,k,12
w,a,b,c,h,i,j,k,l,13
w,a,b,h,i,j,k,l,m,14
w,a,h,i,j,k,l,m,n,15
8,h,i,j,k,l,m,n,o,16
9,a,b,c,d,e,f,g,x,1
10,a,b,c,d,e,f,g,x,2
11,a,b,c,d,e,f,g,x,3
12,a,b,c,d,e,f,g,x,4
13,a,b,c,d,e,f,g,x,5
14,a,b,c,d,e,f,g,x,6
15,a,b,c,d,e,f,g,x,7
16,a,b,c,d,e,f,g,x,8

@COLORS
0 0 0 0
1 96 96 96
2 255 0 0
3 255 127 0
4 255 255 0
5 127 255 0
6 0 255 0
7 0 255 127
8 0 255 255
9 0 128 255
10 0 0 255
11 128 0 255
12 255 0 255
13 255 0 128
14 128 0 0
15 128 63 0
16 128 128 0
17 255 255 255

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

Re: Pattern viewer for forum threads

Post by rowett » September 20th, 2020, 4:38 pm

creeperman7002 wrote:
September 20th, 2020, 2:45 pm
Pasting in some rules causes LifeViewer to freeze
It's because:
  • the rule specified only has 18 states (0 to 17)
  • you're using PASTEMODE 7 (which is OR)
  • and you're pasting state 16 over state 2 and (16 OR 2) = 18
State 18 is illegal so LifeViewer gets upset at that point.

I'll have LifeViewer ignore illegal pastes in future but you need to fix your script.

Thanks for reporting!

Post Reply