ConwayLife.com - A community for Conway's Game of Life and related cellular automata
Home  •  LifeWiki  •  Forums  •  Download Golly

Pattern viewer for forum threads

For discussion directly related to ConwayLife.com, such as requesting changes to how the forums or wiki function.

Re: Pattern viewer for forum threads

Postby Gamedziner » September 10th, 2017, 7:27 am

rowett wrote:Correct, LtL is not yet complete in LifeViewer.


Any estimate as to how long that will take?
Gamedziner
 
Posts: 397
Joined: May 30th, 2016, 8:47 pm
Location: Milky Way Galaxy: Planet Earth

Re: Pattern viewer for forum threads

Postby Cclee » October 26th, 2017, 9:57 am

how close are we to getting LtL in life viewer. it has been over a year since it was first asked
^
What ever up there likely useless
User avatar
Cclee
 
Posts: 40
Joined: October 5th, 2017, 9:51 pm
Location: Lurking/in sandbox

Re: Pattern viewer for forum threads

Postby rowett » October 26th, 2017, 11:16 am

Hopefully in a few weeks. I've been busy.
rowett
Moderator
 
Posts: 756
Joined: January 31st, 2013, 2:34 am
Location: UK

Re: Pattern viewer for forum threads

Postby Cclee » October 26th, 2017, 1:47 pm

rowett wrote:Hopefully in a few weeks. I've been busy.

YOY. Can’t wait
^
What ever up there likely useless
User avatar
Cclee
 
Posts: 40
Joined: October 5th, 2017, 9:51 pm
Location: Lurking/in sandbox

Re: Pattern viewer for forum threads

Postby dvgrn » November 16th, 2017, 2:38 pm

Electro_blob wrote:How exactly do you make patterns in this thing?

Probably start by creating a pattern in Golly, or editing an existing one. Select and copy (Ctrl+C) the pattern. Or do anything that will produce RLE text or ASCII picture-format text.

For the ASCII case, here's an example: let's see if I can build a loafer pattern freehand from memory. Here's how I remember it -- a loaf, a glider, and an eater:

.......*.
.**..*.*.
*..*..**.
.*.*.....
..*......
........*
......***
.....*...
.....**..

Then I move the tail end of the glider one cell diagonally, and adjust the mouth of the eater a little bit, et voilà! (Or "and viola!", as they say on the Intertubes... I've also seen "wa-la" and "wah-lah". But I digress.)

You can build your own patterns with periods and asterisks (or O's), the same way. Paste your pattern into a message, select it, and click the "Code" or "viewer" button at the top of the message text field, to tell lv-plugin.js to display your pattern appropriately:

.OO..O.OO
O..O..OO.
.O.O.....
..O......
........O
......OOO
.....O...
......O..
.......OO

If you use RLE format copied from Golly, you can add scripting commands. Type H in LifeViewer for a summary of the available commands (you have to scroll down a bit). Or hit Reply to this message to see the exact text that produces what you see here:

Code: Select all
x = 9, y = 9, rule = B3/S23
b2o2bob2o$o2bo2b2o$bobo$2bo$8bo$6b3o$5bo$6bo$7b2o!
#C [[ AUTOSTART GPS 7 TRACK -1/7 0 THUMBNAIL GRID THEME 4 ]]
User avatar
dvgrn
Moderator
 
Posts: 4181
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI

Re: Pattern viewer for forum threads

Postby Electro_blob » November 16th, 2017, 2:59 pm

Thank you allot. I think I'm starting to understand. Why are there $'s and numbers? For example in,
x = 9, y = 9, rule = B3/S23
b2o2bob2o$o2bo2b2o$bobo$2bo$8bo$6b3o$5bo$6bo$7b2o!
#C [[ AUTOSTART GPS 7 TRACK -1/7 0 THUMBNAIL GRID THEME 4 ]]

if it is just binary?
Electro_blob
 
Posts: 16
Joined: October 13th, 2017, 8:46 pm

Re: Pattern viewer for forum threads

Postby dvgrn » November 16th, 2017, 3:04 pm

Electro_blob wrote:Thank you allot. I think I'm starting to understand. Why are there $'s and numbers... if it is just binary?

Unlike the simple ASCII format with periods and asterisks, RLE format is not just binary ON/OFF -- or rather, it's a moderately compressed encoding of it. See Run Length Encoded.
User avatar
dvgrn
Moderator
 
Posts: 4181
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI

Re: Pattern viewer for forum threads

Postby Electro_blob » November 16th, 2017, 3:07 pm

Electro_blob wrote:Thank you allot. I think I'm starting to understand. Why are there $'s and numbers? For example in,
x = 9, y = 9, rule = B3/S23
b2o2bob2o$o2bo2b2o$bobo$2bo$8bo$6b3o$5bo$6bo$7b2o!
#C [[ AUTOSTART GPS 7 TRACK -1/7 0 THUMBNAIL GRID THEME 4 ]]

if it is just binary?

Never mind. I just read an article on how this works and it makes sense now. Here's the article if anyone else wants to use it
http://golly.sourceforge.net/Help/formats.html
Thank you allot for suffering through my ignorance.
Electro_blob
 
Posts: 16
Joined: October 13th, 2017, 8:46 pm

Re: Pattern viewer for forum threads

Postby lifeisawesome » December 23rd, 2017, 5:17 pm

11-59 fps is actually 10 fps, slowly increasing to 20 fps.
--Szymon Bartosiewicz
gotta keep that post count- forget it
User avatar
lifeisawesome
 
Posts: 76
Joined: April 22nd, 2016, 1:55 pm
Location: poland

Re: Pattern viewer for forum threads

Postby rowett » December 23rd, 2017, 6:02 pm

lifeisawesome wrote:11-59 fps is actually 10 fps, slowly increasing to 20 fps.

When you set the fps you are setting the target fps. The actual fps will depend on the power of your computer and the complexity and size of the pattern. If LifeViewer can't meet the target it will draw the fps background in red.
rowett
Moderator
 
Posts: 756
Joined: January 31st, 2013, 2:34 am
Location: UK

Re: Pattern viewer for forum threads

Postby wildmyron » January 18th, 2018, 4:06 am

There's a bug in LifeViewer's handling of negative coord values in #CXRLE lines for rules on bounded grids. See here for test case and details.

I'd also like to mention that there's a little quirk in the panning behaviour which is a bit frustrating, but not enough for me to have reported it before now. It seems that the step for panning is independent of the zoom, so even for very large patterns and -ve Zoom values the view only shifts by one cell in response to the arrow keys. Panning would be much more useful if the step was zoom dependent.
wildmyron
 
Posts: 620
Joined: August 9th, 2013, 12:45 am

Re: Pattern viewer for forum threads

Postby rowett » Yesterday, 11:08 pm

wildmyron wrote:There's a bug in LifeViewer's handling of negative coord values in #CXRLE lines for rules on bounded grids.

Thanks for reporting! I'll take a look.

wildmyron wrote:Panning would be much more useful if the step was zoom dependent.

This is fixed and will be in the next released build.
rowett
Moderator
 
Posts: 756
Joined: January 31st, 2013, 2:34 am
Location: UK

Re: Pattern viewer for forum threads

Postby wildmyron » Yesterday, 11:21 pm

@rowett: that's great, thank you very much.
wildmyron
 
Posts: 620
Joined: August 9th, 2013, 12:45 am

Previous

Return to Website Discussion

Who is online

Users browsing this forum: No registered users and 3 guests