File: gun30.py

package info (click to toggle)
golly 3.2-2
  • links: PTS
  • area: main
  • in suites: buster
  • size: 19,516 kB
  • sloc: cpp: 69,819; ansic: 25,894; python: 7,921; sh: 4,267; objc: 3,721; java: 2,781; xml: 1,362; makefile: 530; perl: 69
file content (11 lines) | stat: -rw-r--r-- 425 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
from glife.base import *

rule()   # use Life rule to evolve phases

__gun30 = queenbee + block (12, 2) + (queenbee[5] + block (12, 2)) (-9, 2, flip_x)
__gun30_asym = queenbee + eater (10, 1, rccw) + (queenbee[5] + block (12, 2)) (-9, 2, flip_x)

gun30   = __gun30 (1, -7)               # aligned gun shooting SE
gun30_a = __gun30_asym (1, -7)          # aligned gun shooting SE

gun60 = gun30 + gun30_a[26] (-4, 11, flip_y)