How to generate script from golly?

For general discussion about Conway's Game of Life.
Post Reply
User avatar
darkcodeninja
Posts: 7
Joined: April 3rd, 2017, 12:41 am

How to generate script from golly?

Post by darkcodeninja »

How do i make a script using golly so i can put it into the viewer on the site?

I'm new so this question may seem stupid. :oops:
Everybody believes in innovation until they see it. Then they think, 'Oh, no; that'll never work. It's too different.'

- Nolan Bushnell
User avatar
dvgrn
Moderator
Posts: 12034
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI
Contact:

Re: How to generate script from golly?

Post by dvgrn »

darkcodeninja wrote:How do i make a script using golly so i can put it into the viewer on the site?
Well... "script" means something around here that I don't think you intend. A Lua or Python script runs inside Golly to perform various tasks. If you're interested in posting Conway's LIfe discoveries on this forum, you should probably download Golly.

Selecting and copying a pattern you've created in Golly will give you a text version of the pattern that's known as "RLE" -- run-length encoding. The resulting string can be pasted into a message inside [code ]...[/code] tags.

Are you looking for something like this?

Code: Select all

x = 10, y = 7, rule = B3/S23
b3o$o2bo$b2o$8bo$7bobo$7bobo$8bo!
#C [[ AUTOFIT ]]
Or possibly this?

Code: Select all

x = 6, y = 5, rule = B3/S23
o$o$o2b3o$2bo$2bo!
#C [[ AUTOSTART AUTOFIT PAUSE 5 GPS 10 STOP 30 THUMBNAIL THUMBSIZE 2 ]]
In either case, welcome to the forums! Please read the forum rules; there's even a specific mention of methuselahs toward the bottom... so as drc has suggested, the general request is to keep non-notable methuselah discoveries to somewhere in the Sandbox, or one of the catch-all threads like this one.
User avatar
darkcodeninja
Posts: 7
Joined: April 3rd, 2017, 12:41 am

Re: How to generate script from golly?

Post by darkcodeninja »

i do mean the one designed on the bottom, because i would like to present it to the forums.

thanks for the warm welcome! :)
Everybody believes in innovation until they see it. Then they think, 'Oh, no; that'll never work. It's too different.'

- Nolan Bushnell
User avatar
dvgrn
Moderator
Posts: 12034
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI
Contact:

Re: How to generate script from golly?

Post by dvgrn »

darkcodeninja wrote:i do mean the one designed on the bottom, because i would like to present it to the forums.
Okay. If you click the "Quote" button for my post above (without necessarily intending to send a response) you'll see how those two examples are done -- the "code" and "viewer" tags, and the LifeViewer script commands at the bottom after the RLE-coded section.

To see what other LifeViewer script commands are available for you to try, click on a LifeViewer window and type 'h'.
User avatar
darkcodeninja
Posts: 7
Joined: April 3rd, 2017, 12:41 am

Re: How to generate script from golly?

Post by darkcodeninja »

Thanks a bunch! :)
Everybody believes in innovation until they see it. Then they think, 'Oh, no; that'll never work. It's too different.'

- Nolan Bushnell
Post Reply