LWSS gun

For discussion of specific patterns or specific families of patterns, both newly-discovered and well-known.
Post Reply
Alegend
Posts: 31
Joined: October 5th, 2009, 3:20 pm

LWSS gun

Post by Alegend » October 5th, 2009, 8:26 pm

I'm working on a gun, for the Lightweight Spaceship, using the glider syntheses, and Gosper Glider Guns, and I need some help with positioning. Please help!

Code: Select all

x = 49, y = 55, rule = B3/S23
24bo$22bobo$12b2o6b2o12b2o$11bo3bo4b2o12b2o$2o8bo5bo3b2o$2o8bo3bob2o4b
obo$10bo5bo7bo$11bo3bo$12b2o21$43bobo$44b2o$44bo2$46bo$46bobo$46b2o11$
18bo$18b4o$19b4o10b2o$8b2o9bo2bo9bobo$8b2o9b4o8b3o8b2o$18b4o8b3o9b2o$
18bo12b3o$32bobo$33b2o!

User avatar
PM 2Ring
Posts: 152
Joined: March 26th, 2009, 11:18 am

Re: LWSS gun

Post by PM 2Ring » October 5th, 2009, 9:57 pm

Hi Alegend, and welcome to the forum!

What sort of help do you want? We could post a completed solution, but will that be helpful? There are already many LWSS guns on this forum (& the Wiki), incorporated into various patterns. And I expect that the Life program you're using has several hidden in its pattern collection.

What sort of problems are you having? Maybe we can give you some hints. Or do you want someone to go through the construction, explaining it step by step? It would be nice if there was a Book of Life, that explained all this stuff methodically, starting with simple constructions and going up to large, advanced patterns. But there isn't. Yet.

BTW, the term "Gosper Glider Gun" is a bit ambiguous, since Bill discovered both the p30 gun you're using and the first p46 gun, IIRC. And he's discovered a few other patterns over the years, as well. :)

Alegend
Posts: 31
Joined: October 5th, 2009, 3:20 pm

Re: LWSS gun

Post by Alegend » October 6th, 2009, 7:09 am

I'd like a step by step construction. And, I'm using Golly, and plus, this is a standalone gun. And the 2nd gun, isn't the right distance.

User avatar
Extrementhusiast
Posts: 1966
Joined: June 16th, 2009, 11:24 pm
Location: USA

Re: LWSS gun

Post by Extrementhusiast » October 7th, 2009, 1:28 am

You mean something like this?

Code: Select all

x = 70, y = 48, rule = B3/S23
6$41b2o$41bobo$44bo11bobo$29b2o10bo2bo10bo2bo4bo$28b3o13bo9b2o5b2o$16b
o8bob2o12bobo8b2o3bo8b2o$16bobo6bo2bo5bo6b2o11b2o10b2o$17bobo5bob2o5bo
11bo8bo2bo$4b2o11bo2bo7b3o13b2o10bobo$4b2o11bobo9b2o14b2o$16bobo$16bo
9bo$27b2o$26b2o2$37bobo$37b2o$38bo2$33bobo26bo2bo$34b2o12b4o14bo$34bo
12bo3bo10bo3bo$38b2o11bo11b4o$37bobo7bo2bo$27bo11bo$27bobo$16b2o12b2o
9b2o$16b2o12b2o9b2o$30b2o6b2o6bo3b2o$27bobo7b3o5bo3bobo$27bo10b2o6b5o$
41b2o4b3o$41b2o!
Taken from DRH-oscillators.rle. (excluding second period)
I Like My Heisenburps! (and others)

Alegend
Posts: 31
Joined: October 5th, 2009, 3:20 pm

Re: LWSS gun

Post by Alegend » October 7th, 2009, 3:56 pm

Well, it works, anyways.

User avatar
PM 2Ring
Posts: 152
Joined: March 26th, 2009, 11:18 am

Re: LWSS gun

Post by PM 2Ring » October 10th, 2009, 2:18 am

Sorry about the delay, Alegend, but I hope this helps.

Constructing a p30 LWSS gun - a short tutorial.

Introduction
Most modern Life programs let you use multiple layers. This is very
handy when constructing Life patterns from multiple components. I
generally use (at least) two layers, one layer is used for the main
construction site, and the second layer is used to hold the various
components. A third layer can come in handy for loading in extra
components or testing small reactions.

When working with glider-based periodic patterns, I find it useful to
set the hashing step size to 4 (the glider period) and the non-hashing
step size to the gun period. We are using p30 guns in this exercise, so
let's set the non-hashing step size to 30.

Construction
To build a p30 LWSS gun we need the glider synthesis for a LWSS and
a p30 glider gun. Let's use layer 0 as the construction layer & use
layer 1 for our components. Load each required component in layer 0
then copy it to layer 1, making sure there's plenty of room around our
components.

Copy the LWSS reaction back to layer 0. Layer 0 should now look like
this:
Image
Next, we'll add a gun to generate the top glider.

Go to layer 1 & rotate / flip the gun into the correct orientation,
so the glider stream is going in the desired direction. Note that due
to glider symmetry that there are two ways to do this, for example:
Image
Run the pattern for a few cycles of 30, until it has produced 3 or 4
gliders. Single step the pattern if necessary to get the last glider
into the correct phase. Copy this gun (& its gliders) and paste them
into layer 0 so that the last glider is aligned with the top glider
in the synthesis, like this:

Image
Next, we'll add a gun to generate the leftmost glider.

Go back to layer 1 & flip the gun vertically. Copy & paste into layer 0
so that the last glider is aligned with the leftmost glider, like this:
Image
Finally, we'll add a gun to generate the rightmost glider.

Go back to layer 1 & flip the gun vertically and horizontally. Advance
it by one step to bring the last glider into the correct phase. Copy &
paste into layer 0 so that the last glider is aligned with the
rightmost glider, like this:
Image

Our LWSS is complete! We can improve it by shortening the various
glider streams. We may also need to change the glider gun orientations
to leave enough room for the reaction and so that the LWSS doesn't
crash into our glider guns. Notice that by advancing a glider gun by
multiples of 4 steps the last glider stays in the same phase. This is
very useful when trying to make glider circuits as compact as possible.

Eylrid
Posts: 30
Joined: October 8th, 2009, 10:28 pm

Re: LWSS gun

Post by Eylrid » October 10th, 2009, 3:09 am

Thanks for posting that PM 2Ring! That helps me out too.

User avatar
Macbi
Posts: 903
Joined: March 29th, 2009, 4:58 am

Re: LWSS gun

Post by Macbi » October 10th, 2009, 5:35 am

Thanks for posting that from me as well; I'd never really got what layers are for until then.

Alegend
Posts: 31
Joined: October 5th, 2009, 3:20 pm

Re: LWSS gun

Post by Alegend » October 10th, 2009, 10:51 am

1 question: How do you access layers in the Linux version of Golly?

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

Re: LWSS gun

Post by Andrew » October 10th, 2009, 7:22 pm

Alegend wrote:1 question: How do you access layers in the Linux version of Golly?
Tick the "Show Layer Bar" option in the View menu, then you can use buttons to add/delete/tile/stack/switch layers. Hit the "\" key to toggle the layer bar (change that key to anything you like using Preferences > Keyboard). See Help > Layer Menu for more details.
Use Glu to explore CA rules on non-periodic tilings: DominoLife and HatLife

User avatar
PM 2Ring
Posts: 152
Joined: March 26th, 2009, 11:18 am

Re: LWSS gun

Post by PM 2Ring » October 17th, 2009, 6:31 am

I've just written a Golly Python script that can build a LWSS or MWSS gun from any glider gun in the Jason Summers collection (assuming the gun period is high enough). It works ok, but it still needs a bit of fine tuning. I will post it in the Scripts forum, if anyone is interested.

Alegend
Posts: 31
Joined: October 5th, 2009, 3:20 pm

Re: LWSS gun

Post by Alegend » February 13th, 2010, 3:45 pm

Actually, for Golly, it won't let me move objects without undo, and then copy. How do I move the objects, otherwise?

Axaj
Posts: 232
Joined: September 26th, 2009, 12:23 am

Re: LWSS gun

Post by Axaj » February 14th, 2010, 9:26 pm

Alegend wrote:Actually, for Golly, it won't let me move objects without undo, and then copy. How do I move the objects, otherwise?
Use cut (ctrl-x).
Image

Alegend
Posts: 31
Joined: October 5th, 2009, 3:20 pm

Re: LWSS gun

Post by Alegend » February 14th, 2010, 10:24 pm

Thanks, dude! :D

Post Reply