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: 370
Joined: May 30th, 2016, 8:47 pm

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: 38
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: 725
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: 38
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 ]]
dvgrn
Moderator
 
Posts: 3990
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: 14
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.
dvgrn
Moderator
 
Posts: 3990
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: 14
Joined: October 13th, 2017, 8:46 pm

Previous

Return to Website Discussion

Who is online

Users browsing this forum: No registered users and 1 guest