Attract and Repel

For discussion of other cellular automata.
User avatar
Kiran
Posts: 285
Joined: March 4th, 2015, 6:48 pm

Re: Attract and Repel

Post by Kiran » July 11th, 2015, 10:29 pm

Here's a thing, I'm not sure what it's called, but it's natural.
Here is something similar in CGOL:
http://pentadecathlon.com/lifeNews/2011 ... tcher.html
Kiran Linsuain

User avatar
Alexey_Nigin
Posts: 326
Joined: August 4th, 2014, 12:33 pm
Location: Ann Arbor, MI
Contact:

Re: Attract and Repel

Post by Alexey_Nigin » July 12th, 2015, 10:47 am

t log t:

Code: Select all

x = 40, y = 45, rule = Repel_D0
2.2A2.2A$.A2.2A2.A2$A.A4.A.A$3.A2.A$4.2A$3.A2.A$A.A4.A.A2$.A2.2A2.A$
2.2A2.2A23$33.A2$26.A9.A$24.A8.A2.A.A$19.A3.A12.A2.A$17.A3.A.A3.A5.A
3.A.A$16.A3.A3.A7.A.A.A.A$16.A3.A5.A5.A3.A.A$17.A3.A5.A5.A3.A.A$19.A
3.A15.A$36.A.A$36.A!
There are 10 types of people in the world: those who understand binary and those who don't.

M. I. Wright
Posts: 372
Joined: June 13th, 2015, 12:04 pm

Re: Attract and Repel

Post by M. I. Wright » July 12th, 2015, 1:32 pm

SeanBP wrote:I did find a breeder, but not one for the replicator.
Alexey_Nigin wrote:t log t
Nice. Here's a constant breeder based on the t log t one, although I haven't been able to make a replicator-only gun to replace the backrake:

Code: Select all

x = 179, y = 147, rule = Repel_D0
18.A3.A$16.A7.A$15.A2.A3.A2.A$15.A3.A.A3.A$16.A3.A3.A$16.A3.A3.A$15.A
3.A.A$15.A2.A3.A2.A3.2A$16.A5.A4.2A2.A$18.A$24.2A4.A.A$26.A2.A$27.2A$
26.A2.A$23.A.A4.A.A$2.2A2.2A$.A2.2A2.A15.A2.2A2.A$25.2A2.2A$A.A4.A.A$
3.A2.A$4.2A$3.A2.A$A.A4.2A$14.A$.A2.2A4.A5.A$2.2A3.A2.A3.A2.A$11.A.A
3.A$8.A3.A3.A$8.A3.A3.A$7.A3.A.A3.A$7.A2.A3.A2.A$8.A7.A$10.A3.A$25.2A
2.2A$24.A2.2A2.A2$23.A.A4.A.A$26.A2.A$27.2A$26.A2.A$23.A.A4.A.A2$24.A
2.2A2.A$25.2A2.2A23$56.A2$49.A9.A$47.A8.A2.A.A$42.A3.A12.A2.A$40.A3.A
.A3.A5.A3.A.A$39.A3.A3.A7.A.A.A.A$39.A3.A5.A5.A3.A.A$40.A3.A5.A5.A3.A
.A$42.A3.A15.A$59.A.A$59.A52$130.A2.A$133.A6.A$130.A2.A2.A$128.A.2A4.
A2.A$123.A3.A11.A2.2A$121.A3.A.A5.2A5.A$120.A3.A3.A.A2.A2.A11.A$120.A
3.A5.A2.A2.2A.A8.A2.A$121.A3.A14.A10.A$123.A3.A5.A44.A$144.A3.2A26.A$
145.A2.A26.A$166.A8.A$166.A2.A6.A$169.A8.A$163.A$166.2A$163.A2.A!
(bonus: on the bottom, a glider destroying the diagonal ships while remaining unaffected)

ship with a large spark that could be useful for something:

Code: Select all

x = 11, y = 8, rule = Repel_D0
4.A$2A.A.2A2.2A2$2.A2.A.A$3.2A2.2A2$4.A2.A$5.2A!
Hooloovoo wrote:Here's a thing, I'm not sure what it's called, but it's natural.

Code: Select all

x = 11, y = 12, rule = Repel_D0
3.A$.A$A$A$.A5.A$5.A$4.A$4.A$5.A4.A2$6.A2.A$7.2A!
oh hey there, I think I know you from somewhere :P
Alexey_nigin posted that a bit ago, although I'm still not sure what to call it... its movement resembles the first pattern in this post, so I guess it's just a weird rake? Dunno.

I've been looking for glider-glider collisions that make a replicator, but haven't had found anything so far; everything results in either another glider or mutual annihilation. Has anyone else had better luck?
Last edited by M. I. Wright on July 12th, 2015, 2:58 pm, edited 1 time in total.

User avatar
gmc_nxtman
Posts: 1150
Joined: May 26th, 2015, 7:20 pm

Re: Attract and Repel

Post by gmc_nxtman » July 12th, 2015, 1:46 pm

Two spaceships mutually heisenburp each other:

Code: Select all

x = 9, y = 9, rule = Repel_D0
5.A2.A$6.2A6$.2A$A2.A!
And just a single heisenburp:

Code: Select all

x = 6, y = 9, rule = Repel_D0
2.A2.A$3.2A4$A$.A$.A$A!

M. I. Wright
Posts: 372
Joined: June 13th, 2015, 12:04 pm

Re: Attract and Repel

Post by M. I. Wright » July 12th, 2015, 3:29 pm

Potential lead for a sawtooth (is this a binary counter?)

Code: Select all

x = 25, y = 15, rule = Repel_D0
3.A.A13.A.A$.A5.A9.A5.A$A7.A7.A7.A$A.A3.A.A7.A5.A.A$.A.A.A.A9.A3.A.A$
.A.A.A.A11.A.A.A$A.A3.A.A11.A.A.A$A7.A15.A$.A5.A15.A$3.A.A16.A$12.A.A
$10.A.A7.A$9.A$9.A$10.A!
edit- removing the already-formed rake makes a different, more obvious sawtooth-style thing:

Code: Select all

x = 15, y = 15, rule = Repel_D0
3.A.A$.A5.A$A7.A$A.A3.A.A$.A.A.A.A$.A.A.A.A$A.A3.A.A$A7.A$.A5.A$3.A.A
$12.A.A$10.A.A$9.A$9.A$10.A!

User avatar
Kiran
Posts: 285
Joined: March 4th, 2015, 6:48 pm

Re: Attract and Repel

Post by Kiran » July 12th, 2015, 5:47 pm

Code: Select all

x = 2, y = 8, rule = Repel_D0
.A$A$A$.A$.A$A$A$.A!
This is already a sawtooth.
Is it the smallest predecessor?
Kiran Linsuain

Hooloovoo
Posts: 38
Joined: July 11th, 2015, 8:59 pm

Re: Attract and Repel

Post by Hooloovoo » July 13th, 2015, 10:13 am

It is easy to perturb spaceships into other spaceships:

Code: Select all

x = 121, y = 28, rule = Repel_D0
47.A$4.A$6.A35.A5.A$7.A36.A2.A2.A33.A$7.A43.A34.A$6.A2.A35.A2.A2.A28.
A6.A$4.A5.A31.A.2A4.A30.A5.A$4.A3.A.A33.A3.A34.2A.A$9.A37.2A31.A3.A$
7.A37.A32.A2.A31.A$3.A2.3A.A8.A2.A15.A5.A11.A15.A8.A2.A29.A$6.A15.A2.
A28.A15.A7.A37.A$3.A3.A11.A3.A7.A3.A11.A3.A.A9.A3.A.A9.A3.A5.A5.A3.A
5.A5.A.2A2.A$.A.2A12.A.2A8.A3.A.A.A7.A3.A3.A7.A3.A3.A7.A3.A11.A3.A11.
A3.A3.A.A$A5.A9.A5.A5.A3.A5.A5.A3.A5.A5.A3.A5.A5.A3.A5.A5.A3.A5.A5.A
3.A3.A3.A$A3.A.A9.A3.A.2A4.A3.A3.A7.A3.A3.A3.A3.A3.A3.A3.A3.A3.A3.A.A
5.A3.A3.A.A5.A3.A3.A3.A$.A.A3.A9.A.A9.A3.A.A.A7.A3.A.A9.A3.A.A9.A3.A.
A9.A3.A.A9.A3.A3.A.A$3.A15.A11.A3.A11.A3.A11.A3.A11.A3.A11.A3.A10.A4.
A.A$4.A.A13.A15.A15.A15.A15.A15.A11.A3.A$6.A15.A15.A13.A.A15.A15.A15.
A11.A$54.A58.A$9.A.A43.A$12.A38.A3.A$14.A39.A$11.A3.A36.A$15.A35.A$
14.A$12.A!
M. I. Wright wrote:oh hey there, I think I know you from somewhere :P
Hey there, Wright!

M. I. Wright
Posts: 372
Joined: June 13th, 2015, 12:04 pm

Re: Attract and Repel

Post by M. I. Wright » July 13th, 2015, 1:43 pm

M. I. Wright wrote:Potential lead for a sawtooth:
I didn't realize the obvious thing to do with them. Here are two sawtooths:

Code: Select all

x = 50, y = 45, rule = Repel_D0
3.A.A13.A.A6.A.A13.A.A$.A5.A9.A5.A2.A5.A9.A5.A$A7.A7.A7.2A7.A7.A7.A$A
.A3.A.A7.A5.A.2A.A5.A7.A.A3.A.A$.A.A.A.A9.A3.A.A2.A.A3.A9.A.A.A.A$.A.
A.A.A11.A.A.A2.A.A.A11.A.A.A.A$A.A3.A.A11.A.A.2A.A.A11.A.A3.A.A$A7.A
15.2A15.A7.A$.A5.A15.A2.A15.A5.A$3.A.A16.A4.A16.A.A$12.A.A20.A.A$10.A
.A7.A8.A7.A.A$9.A30.A$9.A30.A$10.A28.A16$13.A.A18.A.A$11.A5.A14.A5.A$
10.A7.A12.A7.A$10.A.A3.A.A12.A.A3.A.A$11.A.A.A.A14.A.A.A.A$11.A.A.A.A
14.A.A.A.A$10.A.A3.A.A12.A.A3.A.A$10.A7.A12.A7.A$11.A5.A14.A5.A$13.A.
A18.A.A$22.A.2A.A$20.A.A4.A.A$19.A10.A$19.A10.A$20.A8.A!
These are [backwards?] binary counters, right?
Kiran wrote:

Code: Select all

x = 2, y = 8, rule = Repel_D0
.A$A$A$.A$.A$A$A$.A!
This is already a sawtooth.
Is it the smallest predecessor?
Looks like it, in both cell count and bounding box.

User avatar
Alexey_Nigin
Posts: 326
Joined: August 4th, 2014, 12:33 pm
Location: Ann Arbor, MI
Contact:

Re: Attract and Repel

Post by Alexey_Nigin » July 14th, 2015, 4:29 pm

I have discovered a pattern. Here it is:

Code: Select all

x = 68, y = 20, rule = Repel_D0
57.A5.A$56.A7.A$54.A11.A$53.A2.2A5.2A2.A$27.A25.A3.A5.A3.A$26.A27.A3.
A3.A3.A$23.2A29.A3.A3.A3.A$23.A3.A25.A3.A5.A3.A$6.A14.A4.A2.A23.A2.2A
5.2A2.A$20.A2.A2.A27.A11.A$2.A17.A35.A7.A$.A.A3.A13.A7.A7.A19.A5.A$A
11.A9.3A11.A19.A$A.A.A5.A3.A5.A5.A25.A5.A$.A.A.A5.A3.A5.A5.A9.A15.A5.
A$.A.A3.A3.A3.A3.A3.A3.A5.A21.A3.A$A.A5.A.A3.A5.A3.A.A25.A3.A.A$A7.A
3.A11.A31.A$.A5.A15.A31.A$3.A.A15.A31.A!
It's natural, and I have only vague understanding of how it works. A puffer creates binary counters which produce spaceships, creting an illusion of a normal MMM breeder. When these counters reach some large number, they touch each other and every second one is deleted. This is all I know.

I don't think the growth rate is quadratic, but could you prove or disprove this?
There are 10 types of people in the world: those who understand binary and those who don't.

User avatar
Scorbie
Posts: 1693
Joined: December 7th, 2013, 1:05 am

Re: Attract and Repel

Post by Scorbie » July 19th, 2015, 6:40 am

I tried to write a rule based on your description:
SeanBP wrote:If a cell is surrounded by multiple other cells, the rule will try to "simplify" the direction it should be pushed. If the angle of repulsion does not fall on a single empty cell, it will split into two separate cells, which gives it a means of reproduction. If two cells are pushed onto the same spot, they will merge together, decreasing the population.
And tried the same approach as what gmc_nxtman said and wildmyron made, but I misinterpreted that the direction is determined by a vector sum of the neighboring cells.
e.g. it's different in this case(consider the center cell):

Code: Select all

.o.
.O.
..o
Where repel causes the NW and S neighbors to be born, while mine causes the SW to be born.
(I considered the orthogonal(edge) neighbors as unit vectors and the diagonal(corner) neighbors as (1/2, 1/2).
In the example the vector sum is (0, -1) + (-1/2, +1/2) = (-1/2,-1/2).)
It gives a new rule with less states, though. Here's the rule file:

Code: Select all

@RULE Repel2

Comments from 'wildmyron'
Rule table Idea from 'wildmyron and 'gmc_nxtman'

Rule table emulating 'Repel' by SeanBP on the conwaylife.com forums
http://conwaylife.com/forums/viewtopic.php?f=11&t=1751&start=0
Each generation of the CA requires two generations in Golly.
All non-zero state cells in even generations should be state 1
All states other than 0 and 1 are auxillary states which indicate in which
direction(s) a particle will move(split)

@TABLE
n_states:18
neighborhood:Moore
symmetries:none

# Explanations:
# 0: dead cell
# 1: live cell
# 2~9: cell pushed N, NE, E, SE, S, SW, W, NW, respectively
# 10~17: cell pushed N+NE, NE+E, E+SE, SE+S, S+SW, W+NW, respectively

var aux={2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17}
var a1={0,1,aux}
var a2={a1}
var a3={a1}
var a4={a1}
var a5={a1}
var a6={a1}
var a7={a1}
var a8={a1}

var n={2,10,17}
var ne={3,10,11}
var e={4,11,12}
var se={5,12,13}
var s={6,13,14}
var sw={7,14,15}
var w={8,15,16}
var nw={9,16,17}

# Moving cells leave a vacuum
aux,a1,a2,a3,a4,a5,a6,a7,a8,0

# Phase 2: Move cells to new locations
0,s,a2,a3,a4,a5,a6,a7,a8,1
0,a1,sw,a3,a4,a5,a6,a7,a8,1
0,a1,a2,w,a4,a5,a6,a7,a8,1
0,a1,a2,a3,nw,a5,a6,a7,a8,1
0,a1,a2,a3,a4,n,a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1,0,1,0,8
1,1,1,1,1,1,0,1,1,7
1,1,1,1,1,1,1,0,0,16
1,1,1,1,1,1,1,0,1,8
1,1,1,1,1,1,1,1,0,9
1,1,1,1,1,1,1,1,1,1

@COLORS

0 48 48 48
1 255 255 255
2 0 255 255
3 0 255 255
4 0 255 255
5 0 255 255
6 0 255 255
7 0 255 255
8 0 255 255
9 0 255 255
10 0 255 255
11 0 255 255
12 0 255 255
13 0 255 255
14 0 255 255
15 0 255 255
16 0 255 255
17 0 255 255

@ICONS

XPM
/* width height num_colors chars_per_pixel */
"31 527 3 1"
/* colors */
"A c #FFFFFF"
". c #303030"
"C c #00FFFF"
/* icon for state 1 */
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
/* icon for state 2 */
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
/* icon for state 3 */
"...........................CCCC"
"..........................CCCCC"
".........................CCCCCC"
"........................CCCCCCC"
".......................CCCCCCC."
"......................CCCCCCC.."
".....................CCCCCCC..."
"....................CCCCCCC...."
"...................CCCCCCC....."
"..................CCCCCCC......"
".................CCCCCCC......."
"................CCCCCCC........"
"...............CCCCCCC........."
"...............CCCCCC.........."
"...............CCCCC..........."
"...............CCCC............"
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
/* icon for state 4 */
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"...............CCCCCCCCCCCCCCCC"
"...............CCCCCCCCCCCCCCCC"
"...............CCCCCCCCCCCCCCCC"
"...............CCCCCCCCCCCCCCCC"
"...............CCCCCCCCCCCCCCCC"
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
/* icon for state 5 */
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"...............CCCC............"
"...............CCCCC..........."
"...............CCCCCC.........."
"...............CCCCCCC........."
"................CCCCCCC........"
".................CCCCCCC......."
"..................CCCCCCC......"
"...................CCCCCCC....."
"....................CCCCCCC...."
".....................CCCCCCC..."
"......................CCCCCCC.."
".......................CCCCCCC."
"........................CCCCCCC"
".........................CCCCCC"
"..........................CCCCC"
"...........................CCCC"
/* icon for state 6 */
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
/* icon for state 7 */
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"............CCCC..............."
"...........CCCCC..............."
"..........CCCCCC..............."
".........CCCCCCC..............."
"........CCCCCCC................"
".......CCCCCCC................."
"......CCCCCCC.................."
".....CCCCCCC..................."
"....CCCCCCC...................."
"...CCCCCCC....................."
"..CCCCCCC......................"
".CCCCCCC......................."
"CCCCCCC........................"
"CCCCCC........................."
"CCCCC.........................."
"CCCC..........................."
/* icon for state 8 */
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"CCCCCCCCCCCCCCCC..............."
"CCCCCCCCCCCCCCCC..............."
"CCCCCCCCCCCCCCCC..............."
"CCCCCCCCCCCCCCCC..............."
"CCCCCCCCCCCCCCCC..............."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
/* icon for state 9 */
"CCCC..........................."
"CCCCC.........................."
"CCCCCC........................."
"CCCCCCC........................"
".CCCCCCC......................."
"..CCCCCCC......................"
"...CCCCCCC....................."
"....CCCCCCC...................."
".....CCCCCCC..................."
"......CCCCCCC.................."
".......CCCCCCC................."
"........CCCCCCC................"
".........CCCCCCC..............."
"..........CCCCCC..............."
"...........CCCCC..............."
"............CCCC..............."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
/* icon for state 10 */
".............CCCCC.........CCCC"
".............CCCCC........CCCCC"
".............CCCCC.......CCCCCC"
".............CCCCC......CCCCCCC"
".............CCCCC.....CCCCCCC."
".............CCCCC....CCCCCCC.."
".............CCCCC...CCCCCCC..."
".............CCCCC..CCCCCCC...."
".............CCCCC.CCCCCCC....."
".............CCCCCCCCCCCC......"
".............CCCCCCCCCCC......."
".............CCCCCCCCCC........"
".............CCCCCCCCC........."
".............CCCCCCCC.........."
".............CCCCCCC..........."
".............CCCCCC............"
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
/* icon for state 11 */
"...........................CCCC"
"..........................CCCCC"
".........................CCCCCC"
"........................CCCCCCC"
".......................CCCCCCC."
"......................CCCCCCC.."
".....................CCCCCCC..."
"....................CCCCCCC...."
"...................CCCCCCC....."
"..................CCCCCCC......"
".................CCCCCCC......."
"................CCCCCCC........"
"...............CCCCCCC........."
"...............CCCCCCCCCCCCCCCC"
"...............CCCCCCCCCCCCCCCC"
"...............CCCCCCCCCCCCCCCC"
"...............CCCCCCCCCCCCCCCC"
"...............CCCCCCCCCCCCCCCC"
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
/* icon for state 12 */
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"...............CCCCCCCCCCCCCCCC"
"...............CCCCCCCCCCCCCCCC"
"...............CCCCCCCCCCCCCCCC"
"...............CCCCCCCCCCCCCCCC"
"...............CCCCCCCCCCCCCCCC"
"...............CCCCCCC........."
"................CCCCCCC........"
".................CCCCCCC......."
"..................CCCCCCC......"
"...................CCCCCCC....."
"....................CCCCCCC...."
".....................CCCCCCC..."
"......................CCCCCCC.."
".......................CCCCCCC."
"........................CCCCCCC"
".........................CCCCCC"
"..........................CCCCC"
"...........................CCCC"
/* icon for state 13 */
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
".............CCCCCC............"
".............CCCCCCC..........."
".............CCCCCCCC.........."
".............CCCCCCCCC........."
".............CCCCCCCCCC........"
".............CCCCCCCCCCC......."
".............CCCCCCCCCCCC......"
".............CCCCC.CCCCCCC....."
".............CCCCC..CCCCCCC...."
".............CCCCC...CCCCCCC..."
".............CCCCC....CCCCCCC.."
".............CCCCC.....CCCCCCC."
".............CCCCC......CCCCCCC"
".............CCCCC.......CCCCCC"
".............CCCCC........CCCCC"
".............CCCCC.........CCCC"
/* icon for state 14 */
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"............CCCCCC............."
"...........CCCCCCC............."
"..........CCCCCCCC............."
".........CCCCCCCCC............."
"........CCCCCCCCCC............."
".......CCCCCCCCCCC............."
"......CCCCCCCCCCCC............."
".....CCCCCCC.CCCCC............."
"....CCCCCCC..CCCCC............."
"...CCCCCCC...CCCCC............."
"..CCCCCCC....CCCCC............."
".CCCCCCC.....CCCCC............."
"CCCCCCC......CCCCC............."
"CCCCCC.......CCCCC............."
"CCCCC........CCCCC............."
"CCCC.........CCCCC............."
/* icon for state 15 */
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"CCCCCCCCCCCCCCCC..............."
"CCCCCCCCCCCCCCCC..............."
"CCCCCCCCCCCCCCCC..............."
"CCCCCCCCCCCCCCCC..............."
"CCCCCCCCCCCCCCCC..............."
".........CCCCCCC..............."
"........CCCCCCC................"
".......CCCCCCC................."
"......CCCCCCC.................."
".....CCCCCCC..................."
"....CCCCCCC...................."
"...CCCCCCC....................."
"..CCCCCCC......................"
".CCCCCCC......................."
"CCCCCCC........................"
"CCCCCC........................."
"CCCCC.........................."
"CCCC..........................."
/* icon for state 16 */
"CCCC..........................."
"CCCCC.........................."
"CCCCCC........................."
"CCCCCCC........................"
".CCCCCCC......................."
"..CCCCCCC......................"
"...CCCCCCC....................."
"....CCCCCCC...................."
".....CCCCCCC..................."
"......CCCCCCC.................."
".......CCCCCCC................."
"........CCCCCCC................"
".........CCCCCCC..............."
"CCCCCCCCCCCCCCCC..............."
"CCCCCCCCCCCCCCCC..............."
"CCCCCCCCCCCCCCCC..............."
"CCCCCCCCCCCCCCCC..............."
"CCCCCCCCCCCCCCCC..............."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
/* icon for state 17 */
"CCCC.........CCCCC............."
"CCCCC........CCCCC............."
"CCCCCC.......CCCCC............."
"CCCCCCC......CCCCC............."
".CCCCCCC.....CCCCC............."
"..CCCCCCC....CCCCC............."
"...CCCCCCC...CCCCC............."
"....CCCCCCC..CCCCC............."
".....CCCCCCC.CCCCC............."
"......CCCCCCCCCCCC............."
".......CCCCCCCCCCC............."
"........CCCCCCCCCC............."
".........CCCCCCCCC............."
"..........CCCCCCCC............."
"...........CCCCCCC............."
"............CCCCCC............."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."

XPM
/* width height num_colors chars_per_pixel */
"15 255 3 1"
/* colors */
"A c #FFFFFF"
". c #303030"
"C c #00FFFF"
/* icon for state 1 */
"AAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAA"
/* icon for state 2 */
"......CCC......"
"......CCC......"
"......CCC......"
"......CCC......"
"......CCC......"
"......CCC......"
"......CCC......"
"......CCC......"
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
/* icon for state 3 */
".............CC"
"............CCC"
"...........CCC."
"..........CCC.."
".........CCC..."
"........CCC...."
".......CCC....."
".......CC......"
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
/* icon for state 4 */
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
".......CCCCCCCC"
".......CCCCCCCC"
".......CCCCCCCC"
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
/* icon for state 5 */
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
".......CC......"
".......CCC....."
"........CCC...."
".........CCC..."
"..........CCC.."
"...........CCC."
"............CCC"
".............CC"
/* icon for state 6 */
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"......CCC......"
"......CCC......"
"......CCC......"
"......CCC......"
"......CCC......"
"......CCC......"
"......CCC......"
"......CCC......"
/* icon for state 7 */
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"......CC......."
".....CCC......."
"....CCC........"
"...CCC........."
"..CCC.........."
".CCC..........."
"CCC............"
"CC............."
/* icon for state 8 */
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"CCCCCCCC......."
"CCCCCCCC......."
"CCCCCCCC......."
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
/* icon for state 9 */
"CC............."
"CCC............"
".CCC..........."
"..CCC.........."
"...CCC........."
"....CCC........"
".....CCC......."
"......CC......."
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
/* icon for state 10 */
"......CCC....CC"
"......CCC...CCC"
"......CCC..CCC."
"......CCC.CCC.."
"......CCCCCC..."
"......CCCCC...."
"......CCCC....."
"......CCC......"
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
/* icon for state 11 */
".............CC"
"............CCC"
"...........CCC."
"..........CCC.."
".........CCC..."
"........CCC...."
".......CCCCCCCC"
".......CCCCCCCC"
".......CCCCCCCC"
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
/* icon for state 12 */
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
".......CCCCCCCC"
".......CCCCCCCC"
".......CCCCCCCC"
"........CCC...."
".........CCC..."
"..........CCC.."
"...........CCC."
"............CCC"
".............CC"
/* icon for state 13 */
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"......CCC......"
"......CCCC....."
"......CCCCC...."
"......CCCCCC..."
"......CCC.CCC.."
"......CCC..CCC."
"......CCC...CCC"
"......CCC....CC"
/* icon for state 14 */
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"......CCC......"
".....CCCC......"
"....CCCCC......"
"...CCCCCC......"
"..CCC.CCC......"
".CCC..CCC......"
"CCC...CCC......"
"CC....CCC......"
/* icon for state 15 */
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"CCCCCCCC......."
"CCCCCCCC......."
"CCCCCCCC......."
"....CCC........"
"...CCC........."
"..CCC.........."
".CCC..........."
"CCC............"
"CC............."
/* icon for state 16 */
"CC............."
"CCC............"
".CCC..........."
"..CCC.........."
"...CCC........."
"....CCC........"
"CCCCCCCC......."
"CCCCCCCC......."
"CCCCCCCC......."
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
/* icon for state 17 */
"CC....CCC......"
"CCC...CCC......"
".CCC..CCC......"
"..CCC.CCC......"
"...CCCCCC......"
"....CCCCC......"
".....CCCC......"
"......CCC......"
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."

XPM
/* width height num_colors chars_per_pixel */
"7 119 3 1"
/* colors */
"A c #FFFFFF"
". c #303030"
"C c #00FFFF"
/* icon for state 1 */
"AAAAAAA"
"AAAAAAA"
"AAAAAAA"
"AAAAAAA"
"AAAAAAA"
"AAAAAAA"
"AAAAAAA"
/* icon for state 2 */
"...C..."
"...C..."
"...C..."
"...C..."
"......."
"......."
"......."
/* icon for state 3 */
"......C"
".....C."
"....C.."
"...C..."
"......."
"......."
"......."
/* icon for state 4 */
"......."
"......."
"......."
"...CCCC"
"......."
"......."
"......."
/* icon for state 5 */
"......."
"......."
"......."
"...C..."
"....C.."
".....C."
"......C"
/* icon for state 6 */
"......."
"......."
"......."
"...C..."
"...C..."
"...C..."
"...C..."
/* icon for state 7 */
"......."
"......."
"......."
"...C..."
"..C...."
".C....."
"C......"
/* icon for state 8 */
"......."
"......."
"......."
"CCCC..."
"......."
"......."
"......."
/* icon for state 9 */
"C......"
".C....."
"..C...."
"...C..."
"......."
"......."
"......."
/* icon for state 10 */
"...C..C"
"...C.C."
"...CC.."
"...C..."
"......."
"......."
"......."
/* icon for state 11 */
"......C"
".....C."
"....C.."
"...CCCC"
"......."
"......."
"......."
/* icon for state 12 */
"......."
"......."
"......."
"...CCCC"
"....C.."
".....C."
"......C"
/* icon for state 13 */
"......."
"......."
"......."
"...C..."
"...CC.."
"...C.C."
"...C..C"
/* icon for state 14 */
"......."
"......."
"......."
"...C..."
"..CC..."
".C.C..."
"C..C..."
/* icon for state 15 */
"......."
"......."
"......."
"CCCC..."
"..C...."
".C....."
"C......"
/* icon for state 16 */
"C......"
".C....."
"..C...."
"CCCC..."
"......."
"......."
"......."
/* icon for state 17 */
"C..C..."
".C.C..."
"..CC..."
"...C..."
"......."
"......."
"......."
The 256-liner "Phase 1" is made from this script:

Code: Select all

def printline(n, ne, e, se, s, sw, w, nw):
    #(x, y) is the vector sum of the center cell being repelled,
    # +x being east and +y being north.
    x = 2*w + nw + sw - 2*e - ne - se
    y = 2*s + sw + se - 2*n - nw - ne
    
    # set newstate by the direction of the vector sum
    # 2~9: cell pushed N, NE, E, SE, S, SW, W, NW, respectively
    # 10~17: cell pushed N+NE, NE+E, E+SE, SE+S, S+SW, W+NW, respectively
    if x==0 and y==0: newstate = 1
    elif x==0 and y>0: newstate = 2 
    elif x==y and y>0: newstate = 3
    elif y==0 and x>0: newstate = 4
    elif x==-y and x>0: newstate = 5
    elif x==0 and y<0: newstate = 6
    elif x==y and y<0: newstate = 7
    elif y==0 and x<0: newstate = 8
    elif x==-y and x<0: newstate = 9
    elif y>x and x>0: newstate = 10
    elif y<x and y>0: newstate = 11
    elif y>-x and y<0: newstate = 12
    elif y<-x and x>0: newstate = 13
    elif y<x and x<0: newstate = 14
    elif y>x and y<0: newstate = 15
    elif y<-x and y>0: newstate = 16
    elif y>-x and x<0: newstate = 17
    
    print '1,{0},{1},{2},{3},{4},{5},{6},{7},{8}'\
        .format(n, ne, e, se, s, sw, w, nw, newstate)

for N in [0,1]:
    for NE in [0,1]:
        for E in [0,1]:
            for SE in [0,1]:
                for S in [0,1]:            
                    for SW in [0,1]:            
                        for W in [0,1]:
                            for NW in [0,1]:
                                printline(N, NE, E, SE, S, SW, W, NW)
I haven't played with it much, but the pattern seems to be a little more stable than Repel, and the puffers tend to be diagonal, and explosive patterns tend to have small stripey crystals inside.

@wildmyron If you like the icons, I can make one with Repel if you post (or send me a PM) an explanation to your auxillary states (e.g. state 13: NW+S)

M. I. Wright
Posts: 372
Joined: June 13th, 2015, 12:04 pm

Re: Attract and Repel

Post by M. I. Wright » July 19th, 2015, 2:40 pm

Code: Select all

x = 53, y = 42, rule = Repel_D0
37.A$35.A3.A$37.A3.A$34.A3.2A3.A$35.2A3.2A3.A$33.A3.2A3.2A3.A$35.A3.
2A3.2A3.A$32.A3.2A3.2A3.2A3.A$33.2A3.2A3.2A3.2A$31.A3.2A3.2A3.2A3.2A$
33.A3.2A3.2A3.2A3.A$30.A3.2A3.2A3.2A3.2A$31.2A3.2A3.2A3.2A3.A$29.A3.
2A3.2A3.2A3.2A$31.A3.2A3.2A3.2A3.A$28.A3.2A3.2A3.2A3.2A$29.2A3.2A3.2A
3.2A3.A$31.2A3.2A3.2A3.2A$29.A3.2A3.2A3.2A3.A$26.A3.2A3.2A3.2A3.2A$
28.A3.2A3.2A3.2A3.A$30.A3.2A3.2A3.2A$32.A3.2A3.2A3.A$34.A3.2A3.2A$36.
A3.2A3.A$6.A31.A3.2A$22.A15.A.A3.A$4.A3.A3.A11.A15.A.A$3.A2.A2.A3.A
11.A.A13.A$.A.A5.A15.A15.A$A3.A3.A3.A.A7.A.A5.A7.A.A$A3.A5.A3.A.A5.A
7.A.A5.A$.A.A3.A9.A15.A$3.A2.2A9.A.A13.A.A$4.A11.A15.A$6.A7.A15.A11.A
$7.A$44.A2.A$39.2A4.A2$41.A2.A$42.2A!
Sort of a set/reset reaction, I suppose? I'd love to look for logic gates with the attraction cells if those are ever implemented in golly. [reminder to self to learn about the rule table format]

wildmyron
Posts: 1547
Joined: August 9th, 2013, 12:45 am
Location: Western Australia

Re: Attract and Repel

Post by wildmyron » July 20th, 2015, 11:00 pm

Scorbie wrote:I tried to write a rule based on your description:
SeanBP wrote:If a cell is surrounded by multiple other cells, the rule will try to "simplify" the direction it should be pushed. If the angle of repulsion does not fall on a single empty cell, it will split into two separate cells, which gives it a means of reproduction. If two cells are pushed onto the same spot, they will merge together, decreasing the population.
And tried the same approach as what gmc_nxtman said and wildmyron made, but I misinterpreted that the direction is determined by a vector sum of the neighboring cells.
e.g. it's different in this case(consider the center cell):

Code: Select all

.o.
.O.
..o
Where repel causes the NW and S neighbors to be born, while mine causes the SW to be born.
(I considered the orthogonal(edge) neighbors as unit vectors and the diagonal(corner) neighbors as (1/2, 1/2).
In the example the vector sum is (0, -1) + (-1/2, +1/2) = (-1/2,-1/2).)
It gives a new rule with less states, though. Here's the rule file:

<snip rule file>

I haven't played with it much, but the pattern seems to be a little more stable than Repel, and the puffers tend to be diagonal, and explosive patterns tend to have small stripey crystals inside.
This is an interesting variation of the Repel idea. It's behaviour is quite different and as you say: less explosive - but not by much. It seems this primarily comes down to the 'moon' engine not working in this rule. The same diagonal ship engine from Repel_D0 does seem to work here, but I wasn't actually able to produce any stable puffers as I showed in the the original Repel rule. The diagonal engine naturally appears frequently but all the variations I tried to stabilise in to puffers were invariably disrupted by activity in the debris catching up to and disrupting the engine.
Scorbie wrote:@wildmyron If you like the icons, I can make one with Repel if you post (or send me a PM) an explanation to your auxillary states (e.g. state 13: NW+S)
I'd be happy to add similar icons to the rule definitions for Repel and Repel_D0 - thank you for the offer to make them. Does anyone have a preference for the default colours of the auxillary states?

Here is the definition of the auxillary states used in Repel_D0 (states 2-37 shared with Repel)

Code: Select all

 2, NW     
 3, W      
 4, SW     
 5, S      
 6, SE     
 7, E      
 8, NE     
 9, N      
10, W, NW 
11, SW, NW
12, SW, W 
13, S, NW 
14, S, W  
15, S, SW 
16, SE, NW
17, SE, W 
18, SE, SW
19, SE, S 
20, E, NW 
21, E, W  
22, E, SW 
23, E, S  
24, E, SE 
25, NE, NW
26, NE, W 
27, NE, SW
28, NE, S 
29, NE, SE
30, NE, E 
31, N, NW 
32, N, W  
33, N, SW 
34, N, S  
35, N, SE 
36, N, E  
37, N, NE 
39, None - will die
Edited to add:
M. I. Wright wrote:I've been looking for glider-glider collisions that make a replicator, but haven't had found anything so far; everything results in either another glider or mutual annihilation. Has anyone else had better luck?
The best I've come up with are two 5 ship reactions which unfortunately both involve ships from all four directions.

Code: Select all

x = 19, y = 65, rule = Repel_D0
4.A4.A2$5.A2.A$6.2A$.A10.A4.A$3.A6.A4.A$4.A4.A4.A$4.A4.A4.A$3.A6.A4.A
$.A10.A4.A$6.2A$5.A2.A2$4.A4.A36$4.A4.A$18.A$5.A2.A7.A$6.2A7.A$15.A$A
15.A$2.A15.A$3.A$3.A$2.A15.A$A15.A$15.A$6.2A7.A$5.A2.A7.A$18.A$4.A4.A
!
Also, here are two 4 ship syntheses of the smallest iteration of the diagonal ship:

Code: Select all

x = 84, y = 16, rule = Repel_D0
28.A4.A44.A4.A2$21.A7.A2.A38.A7.A2.A$23.A6.2A41.A6.2A$24.A49.A$24.A
49.A$A22.A8.A40.A8.A$2.A18.A8.A40.A8.A$3.A25.A49.A$3.A25.A49.A$2.A27.
A41.A7.A$A31.A41.A7.A$75.A$75.A$74.A$72.A!
And a collection of rakes based on the sparky ship you posted a while back (periods in brackets are the period for rule in Golly emulating Repel)

Code: Select all

#C Backward rakes for ortho ship at p8(16), p12(24), p16(32), p36(72)
#C Side rake for ortho ship at p16(32)
x = 218, y = 43, rule = Repel_D0
212.A$214.A$215.A$6.2A48.2A48.2A48.2A57.A$5.A2.A46.A2.A46.A2.A46.A2.A
55.A$212.A$4.A4.A44.A4.A44.A4.A44.A4.A4$7.A$106.A2.A2.A$215.A$110.A
98.2A$3.A4.2A96.A4.3A2.A$4.A5.A2.2A3.2A28.A2.A10.A2.A40.A.2A87.A2.A
11.A$6.A44.2A8.2A46.A92.A6.A2.A2.A$A2.2A2.A8.A89.A.A.A2.4A2.A$.A2.2A
3.3A.2A.A2.3A25.A2.A3.A4.A3.A2.A128.A3.A4.A.A2.A$50.2A2.A4.A2.2A46.2A
7.A35.A2.A40.2A.A.2A3.A2.A2.3A$2.A3.A2.A2.2A2.A.A87.2A2.2A2.2A2.A33.A
2.A2.A2.A$2.2A.A.2A.2A.2A3.2A.A23.A3.A4.A4.A4.A3.A31.A3.A2.A40.A2.A2.
A4.A2.A2.A31.A3.A3.A2.2A2.A.A$49.2A2.A6.A2.2A43.A3.A3.A3.A76.2A.A.2A
2.2A.2A3.2A.A$4.A2.A3.A3.A2.A87.3A2.2A2.2A38.A2.A$5.2A4.2A.A.2A29.A3.
A4.2A4.A3.A32.A2.2A43.A3.2A3.2A3.2A3.A32.A2.A.A2.A3.A2.A$47.2A.A.A8.A
.A.2A33.A2.3A3.A4.A3.A27.A2.A14.A2.A32.2A2.2A.2A.A.2A$13.A2.A88.A2.2A
3.A.A.2A33.A2.A2.A2.A$14.2A33.A2.A.A4.A.A2.A36.A48.A3.2A2.2A3.A37.A2.
A4.A2.A$50.2A2.2A2.2A2.2A37.2A.A2.A3.A.A2.A85.2A6.2A$108.A.2A2.2A30.A
3.2A10.2A3.A$51.A2.A4.A2.A40.A2.A41.2A2.A2.4A2.A2.2A$52.2A6.2A42.2A5.
A2.A$112.2A30.A3.A4.A6.A4.A3.A$148.2A2.2A2.2A2.2A2.2A2$146.A4.A3.A2.A
3.A4.A$146.2A.A.A3.4A3.A.A.2A2$148.A2.A.A6.A.A2.A$149.2A2.2A.2A.2A2.
2A2$150.A2.A6.A2.A$151.2A8.2A!

Code: Select all

#C Forerake for diagonal ship at p48(96)
#C Backrake for diagonal ship at p32(64)
x = 88, y = 33, rule = Repel_D0
64.2A$9.A2.A$9.A52.A$61.2A2.A$11.2A$12.A2.A$61.A6.A2.A3$65.2A.A2.A$
68.A$68.A$64.2A2.A.2A$71.A2$63.2A2.3A$73.A9.2A$3.2A62.A$61.3A2.2A2.2A
9.A$6.A66.A6.2A2.2A$2.2A2.2A10.A45.A8.A$61.A.2A2.4A2.A8.A$5.A16.A3.A
52.2A.A2.3A$3A2.A.2A3.A2.A.A3.2A41.A2.A3.A$15.A49.2A.A.2A3.A2.2A2.A.A
$3.A.A2.2A2.A6.A4.A51.A2.2A3.2A.A$A.2A3.2A2.A2.2A.A.A.A.2A41.A2.A$67.
2A8.A3.A2.A$3.A2.A3.A6.A.A2.A54.2A.A.2A$4.2A.A.2A3.A.2A2.2A$79.A2.A$
5.A2.A8.A2.A59.2A$6.2A10.2A!
I haven't verified if these are all new periods so there may be some which are the same as other rakes previously posted.
The 5S project (Smallest Spaceships Supporting Specific Speeds) is now maintained by AforAmpere. The latest collection is hosted on GitHub and contains well over 1,000,000 spaceships.

Semi-active here - recovering from a severe case of LWTDS.

User avatar
Scorbie
Posts: 1693
Joined: December 7th, 2013, 1:05 am

Re: Attract and Repel

Post by Scorbie » July 23rd, 2015, 8:43 am

Thanks wildmyron for the help!
wildmyron wrote:Does anyone have a preference for the default colours of the auxillary states?
Well, I set all of them to white so hopefully it would be easy to change if anyone needs to...
(With icon-importer.py & icon-exporter.py in the Scripts/Python/Rule-Generators directory)
Here are the rule files added with icons... Unfortunately they are too large for code tags, so I'm uploading it as an attatchment.
Attachments
Repel_D0.rule
(65.85 KiB) Downloaded 198 times
Repel.rule
(63.27 KiB) Downloaded 270 times

User avatar
Kiran
Posts: 285
Joined: March 4th, 2015, 6:48 pm

Re: Attract and Repel

Post by Kiran » July 23rd, 2015, 10:12 pm

Smallest exploding seed?

Code: Select all

x = 3, y = 5, rule = Repel2
.A$A2$.2A$2.A!
Can the c/4 diagonal engine be stabilized?
An agar frequently appears in this rule, can it be stabilized?
Kiran Linsuain

User avatar
Scorbie
Posts: 1693
Joined: December 7th, 2013, 1:05 am

Re: Attract and Repel

Post by Scorbie » July 23rd, 2015, 10:29 pm

Kiran wrote:Can the c/4 diagonal engine be stabilized?
I think so... If this counts:

Code: Select all

x = 17, y = 16, rule = Repel3
13.A$6.A2.A5.A$11.A2.A$7.A2.A5.A$3.A$5.A5.A2.A$.A5.A2.A5.A$6.A5.A$A.A
11.A$A6.A2.A$3.A8.A$5.A2.A$2A2.A5.A$.A$5.A2.A$3.2A!
(Run it in hyperspeed to see long-term behaviour)

EDIT: CHANGED THE RULE TO REPEL3 APPROPRIATELY
Last edited by Scorbie on August 1st, 2015, 8:08 pm, edited 2 times in total.

User avatar
Kiran
Posts: 285
Joined: March 4th, 2015, 6:48 pm

Re: Attract and Repel

Post by Kiran » July 24th, 2015, 10:53 am

(Run it in hyperspeed to see long-term behaviour)
It looks like a typical explosion, engines appear naturally, run for a while and eventually stop, patches of agar also appear and disappear.
The engine behaviour is similar to B3/S023.
Are spaceships possible?
Kiran Linsuain

User avatar
SeanBP
Posts: 34
Joined: December 2nd, 2014, 12:49 am

Re: Attract and Repel

Post by SeanBP » July 29th, 2015, 7:57 pm

Hello! Went on a vacation for a couple of weeks, I'm catching up. This newer repel rule is interesting, but it would probably be more interesting if we added the D0 rule to it as well. Otherwise, I don't think any complex patterns are possible.

Also, bprentice found a discrepancy with how it should handle this pattern

Code: Select all

x = 3, y = 3, rule = Repel_D0
.A$.2A$A.A!
My rule should make this

Code: Select all

x = 5, y = 5, rule = Repel
.2A$2.A$4.A$.A$A!

But Repel in Golly makes this

Code: Select all

x = 5, y = 5, rule = Repel
.2A2$4.A2$A2.2A!
And Repel2 makes this

Code: Select all

x = 5, y = 5, rule = Repel2
.2A$.A$4.A2$A2.2A!

User avatar
Scorbie
Posts: 1693
Joined: December 7th, 2013, 1:05 am

Re: Attract and Repel

Post by Scorbie » August 1st, 2015, 8:07 pm

To all playing with Repel2:
Whoops, sorry guys... I attatched the wrong rule table... but it doesn't differ much from the rule I described earlier. It calculates directions from the vector sum of its neighbors... but I counted the corner cells as (1,1) instead of (1/2,1/2) I described earlier.
I wrote:... in this case(consider the center cell):

Code: Select all

.o.
.O.
..o
Where repel causes the NW and S neighbors to be born, while mine causes the SW to be born.
(I considered the orthogonal(edge) neighbors as unit vectors and the diagonal(corner) neighbors as (1/2, 1/2).
In the example the vector sum is (0, -1) + (-1/2, +1/2) = (-1/2,-1/2).)
You can see that if you run this in Repel2, the center cell goes left, as (0, -1) + (-1, +1) = (-1,0).

What happens if you count the corners as (1/2, 1/2)? nothing much, but the diagonal puffers become stable. you can see my previous post to see it working. Here's the rule file to whoever is interested:

Code: Select all

@RULE Repel3

Comments and most of the code from 'wildmyron'

Rule table emulating 'Repel' by SeanBP on the conwaylife.com forums
http://conwaylife.com/forums/viewtopic.php?f=11&t=1751&start=0
Each generation of the CA requires two generations in Golly.
All non-zero state cells in even generations should be state 1
All states other than 0 and 1 are auxillary states which indicate in which
direction(s) a particle will move(split)

@TABLE
n_states:18
neighborhood:Moore
symmetries:none

# Explanations:
# 0: dead cell
# 1: live cell
# 2~9: cell pushed N, NE, E, SE, S, SW, W, NW, respectively
# 10~17: cell pushed N+NE, NE+E, E+SE, SE+S, S+SW, W+NW, respectively

var aux={2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17}
var a1={0,1,aux}
var a2={a1}
var a3={a1}
var a4={a1}
var a5={a1}
var a6={a1}
var a7={a1}
var a8={a1}

var n={2,10,17}
var ne={3,10,11}
var e={4,11,12}
var se={5,12,13}
var s={6,13,14}
var sw={7,14,15}
var w={8,15,16}
var nw={9,16,17}

# Moving cells leave a vacuum
aux,a1,a2,a3,a4,a5,a6,a7,a8,0

# Phase 2: Move cells to new locations
0,s,a2,a3,a4,a5,a6,a7,a8,1
0,a1,sw,a3,a4,a5,a6,a7,a8,1
0,a1,a2,w,a4,a5,a6,a7,a8,1
0,a1,a2,a3,nw,a5,a6,a7,a8,1
0,a1,a2,a3,a4,n,a6,a7,a8,1
0,a1,a2,a3,a4,a5,ne,a7,a8,1
0,a1,a2,a3,a4,a5,a6,e,a8,1
0,a1,a2,a3,a4,a5,a6,a7,se,1

# Phase 1: Determine what will happen to cells
1,0,0,0,0,0,0,0,0,1
1,0,0,0,0,0,0,0,1,5
1,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255 255
5 0 255 255
6 0 255 255
7 0 255 255
8 0 255 255
9 0 255 255
10 0 255 255
11 0 255 255
12 0 255 255
13 0 255 255
14 0 255 255
15 0 255 255
16 0 255 255
17 0 255 255

@ICONS

XPM
/* width height num_colors chars_per_pixel */
"31 527 3 1"
/* colors */
"A c #FFFFFF"
". c #303030"
"C c #00FFFF"
/* icon for state 1 */
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
/* icon for state 2 */
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
/* icon for state 3 */
"...........................CCCC"
"..........................CCCCC"
".........................CCCCCC"
"........................CCCCCCC"
".......................CCCCCCC."
"......................CCCCCCC.."
".....................CCCCCCC..."
"....................CCCCCCC...."
"...................CCCCCCC....."
"..................CCCCCCC......"
".................CCCCCCC......."
"................CCCCCCC........"
"...............CCCCCCC........."
"...............CCCCCC.........."
"...............CCCCC..........."
"...............CCCC............"
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
/* icon for state 4 */
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"...............CCCCCCCCCCCCCCCC"
"...............CCCCCCCCCCCCCCCC"
"...............CCCCCCCCCCCCCCCC"
"...............CCCCCCCCCCCCCCCC"
"...............CCCCCCCCCCCCCCCC"
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
/* icon for state 5 */
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"...............CCCC............"
"...............CCCCC..........."
"...............CCCCCC.........."
"...............CCCCCCC........."
"................CCCCCCC........"
".................CCCCCCC......."
"..................CCCCCCC......"
"...................CCCCCCC....."
"....................CCCCCCC...."
".....................CCCCCCC..."
"......................CCCCCCC.."
".......................CCCCCCC."
"........................CCCCCCC"
".........................CCCCCC"
"..........................CCCCC"
"...........................CCCC"
/* icon for state 6 */
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
".............CCCCC............."
/* icon for state 7 */
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"............CCCC..............."
"...........CCCCC..............."
"..........CCCCCC..............."
".........CCCCCCC..............."
"........CCCCCCC................"
".......CCCCCCC................."
"......CCCCCCC.................."
".....CCCCCCC..................."
"....CCCCCCC...................."
"...CCCCCCC....................."
"..CCCCCCC......................"
".CCCCCCC......................."
"CCCCCCC........................"
"CCCCCC........................."
"CCCCC.........................."
"CCCC..........................."
/* icon for state 8 */
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"CCCCCCCCCCCCCCCC..............."
"CCCCCCCCCCCCCCCC..............."
"CCCCCCCCCCCCCCCC..............."
"CCCCCCCCCCCCCCCC..............."
"CCCCCCCCCCCCCCCC..............."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
/* icon for state 9 */
"CCCC..........................."
"CCCCC.........................."
"CCCCCC........................."
"CCCCCCC........................"
".CCCCCCC......................."
"..CCCCCCC......................"
"...CCCCCCC....................."
"....CCCCCCC...................."
".....CCCCCCC..................."
"......CCCCCCC.................."
".......CCCCCCC................."
"........CCCCCCC................"
".........CCCCCCC..............."
"..........CCCCCC..............."
"...........CCCCC..............."
"............CCCC..............."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
/* icon for state 10 */
".............CCCCC.........CCCC"
".............CCCCC........CCCCC"
".............CCCCC.......CCCCCC"
".............CCCCC......CCCCCCC"
".............CCCCC.....CCCCCCC."
".............CCCCC....CCCCCCC.."
".............CCCCC...CCCCCCC..."
".............CCCCC..CCCCCCC...."
".............CCCCC.CCCCCCC....."
".............CCCCCCCCCCCC......"
".............CCCCCCCCCCC......."
".............CCCCCCCCCC........"
".............CCCCCCCCC........."
".............CCCCCCCC.........."
".............CCCCCCC..........."
".............CCCCCC............"
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
/* icon for state 11 */
"...........................CCCC"
"..........................CCCCC"
".........................CCCCCC"
"........................CCCCCCC"
".......................CCCCCCC."
"......................CCCCCCC.."
".....................CCCCCCC..."
"....................CCCCCCC...."
"...................CCCCCCC....."
"..................CCCCCCC......"
".................CCCCCCC......."
"................CCCCCCC........"
"...............CCCCCCC........."
"...............CCCCCCCCCCCCCCCC"
"...............CCCCCCCCCCCCCCCC"
"...............CCCCCCCCCCCCCCCC"
"...............CCCCCCCCCCCCCCCC"
"...............CCCCCCCCCCCCCCCC"
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
/* icon for state 12 */
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"...............CCCCCCCCCCCCCCCC"
"...............CCCCCCCCCCCCCCCC"
"...............CCCCCCCCCCCCCCCC"
"...............CCCCCCCCCCCCCCCC"
"...............CCCCCCCCCCCCCCCC"
"...............CCCCCCC........."
"................CCCCCCC........"
".................CCCCCCC......."
"..................CCCCCCC......"
"...................CCCCCCC....."
"....................CCCCCCC...."
".....................CCCCCCC..."
"......................CCCCCCC.."
".......................CCCCCCC."
"........................CCCCCCC"
".........................CCCCCC"
"..........................CCCCC"
"...........................CCCC"
/* icon for state 13 */
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
".............CCCCCC............"
".............CCCCCCC..........."
".............CCCCCCCC.........."
".............CCCCCCCCC........."
".............CCCCCCCCCC........"
".............CCCCCCCCCCC......."
".............CCCCCCCCCCCC......"
".............CCCCC.CCCCCCC....."
".............CCCCC..CCCCCCC...."
".............CCCCC...CCCCCCC..."
".............CCCCC....CCCCCCC.."
".............CCCCC.....CCCCCCC."
".............CCCCC......CCCCCCC"
".............CCCCC.......CCCCCC"
".............CCCCC........CCCCC"
".............CCCCC.........CCCC"
/* icon for state 14 */
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"............CCCCCC............."
"...........CCCCCCC............."
"..........CCCCCCCC............."
".........CCCCCCCCC............."
"........CCCCCCCCCC............."
".......CCCCCCCCCCC............."
"......CCCCCCCCCCCC............."
".....CCCCCCC.CCCCC............."
"....CCCCCCC..CCCCC............."
"...CCCCCCC...CCCCC............."
"..CCCCCCC....CCCCC............."
".CCCCCCC.....CCCCC............."
"CCCCCCC......CCCCC............."
"CCCCCC.......CCCCC............."
"CCCCC........CCCCC............."
"CCCC.........CCCCC............."
/* icon for state 15 */
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"CCCCCCCCCCCCCCCC..............."
"CCCCCCCCCCCCCCCC..............."
"CCCCCCCCCCCCCCCC..............."
"CCCCCCCCCCCCCCCC..............."
"CCCCCCCCCCCCCCCC..............."
".........CCCCCCC..............."
"........CCCCCCC................"
".......CCCCCCC................."
"......CCCCCCC.................."
".....CCCCCCC..................."
"....CCCCCCC...................."
"...CCCCCCC....................."
"..CCCCCCC......................"
".CCCCCCC......................."
"CCCCCCC........................"
"CCCCCC........................."
"CCCCC.........................."
"CCCC..........................."
/* icon for state 16 */
"CCCC..........................."
"CCCCC.........................."
"CCCCCC........................."
"CCCCCCC........................"
".CCCCCCC......................."
"..CCCCCCC......................"
"...CCCCCCC....................."
"....CCCCCCC...................."
".....CCCCCCC..................."
"......CCCCCCC.................."
".......CCCCCCC................."
"........CCCCCCC................"
".........CCCCCCC..............."
"CCCCCCCCCCCCCCCC..............."
"CCCCCCCCCCCCCCCC..............."
"CCCCCCCCCCCCCCCC..............."
"CCCCCCCCCCCCCCCC..............."
"CCCCCCCCCCCCCCCC..............."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
/* icon for state 17 */
"CCCC.........CCCCC............."
"CCCCC........CCCCC............."
"CCCCCC.......CCCCC............."
"CCCCCCC......CCCCC............."
".CCCCCCC.....CCCCC............."
"..CCCCCCC....CCCCC............."
"...CCCCCCC...CCCCC............."
"....CCCCCCC..CCCCC............."
".....CCCCCCC.CCCCC............."
"......CCCCCCCCCCCC............."
".......CCCCCCCCCCC............."
"........CCCCCCCCCC............."
".........CCCCCCCCC............."
"..........CCCCCCCC............."
"...........CCCCCCC............."
"............CCCCCC............."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."
"..............................."

XPM
/* width height num_colors chars_per_pixel */
"15 255 3 1"
/* colors */
"A c #FFFFFF"
". c #303030"
"C c #00FFFF"
/* icon for state 1 */
"AAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAA"
/* icon for state 2 */
"......CCC......"
"......CCC......"
"......CCC......"
"......CCC......"
"......CCC......"
"......CCC......"
"......CCC......"
"......CCC......"
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
/* icon for state 3 */
".............CC"
"............CCC"
"...........CCC."
"..........CCC.."
".........CCC..."
"........CCC...."
".......CCC....."
".......CC......"
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
/* icon for state 4 */
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
".......CCCCCCCC"
".......CCCCCCCC"
".......CCCCCCCC"
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
/* icon for state 5 */
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
".......CC......"
".......CCC....."
"........CCC...."
".........CCC..."
"..........CCC.."
"...........CCC."
"............CCC"
".............CC"
/* icon for state 6 */
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"......CCC......"
"......CCC......"
"......CCC......"
"......CCC......"
"......CCC......"
"......CCC......"
"......CCC......"
"......CCC......"
/* icon for state 7 */
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"......CC......."
".....CCC......."
"....CCC........"
"...CCC........."
"..CCC.........."
".CCC..........."
"CCC............"
"CC............."
/* icon for state 8 */
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"CCCCCCCC......."
"CCCCCCCC......."
"CCCCCCCC......."
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
/* icon for state 9 */
"CC............."
"CCC............"
".CCC..........."
"..CCC.........."
"...CCC........."
"....CCC........"
".....CCC......."
"......CC......."
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
/* icon for state 10 */
"......CCC....CC"
"......CCC...CCC"
"......CCC..CCC."
"......CCC.CCC.."
"......CCCCCC..."
"......CCCCC...."
"......CCCC....."
"......CCC......"
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
/* icon for state 11 */
".............CC"
"............CCC"
"...........CCC."
"..........CCC.."
".........CCC..."
"........CCC...."
".......CCCCCCCC"
".......CCCCCCCC"
".......CCCCCCCC"
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
/* icon for state 12 */
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
".......CCCCCCCC"
".......CCCCCCCC"
".......CCCCCCCC"
"........CCC...."
".........CCC..."
"..........CCC.."
"...........CCC."
"............CCC"
".............CC"
/* icon for state 13 */
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"......CCC......"
"......CCCC....."
"......CCCCC...."
"......CCCCCC..."
"......CCC.CCC.."
"......CCC..CCC."
"......CCC...CCC"
"......CCC....CC"
/* icon for state 14 */
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"......CCC......"
".....CCCC......"
"....CCCCC......"
"...CCCCCC......"
"..CCC.CCC......"
".CCC..CCC......"
"CCC...CCC......"
"CC....CCC......"
/* icon for state 15 */
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"CCCCCCCC......."
"CCCCCCCC......."
"CCCCCCCC......."
"....CCC........"
"...CCC........."
"..CCC.........."
".CCC..........."
"CCC............"
"CC............."
/* icon for state 16 */
"CC............."
"CCC............"
".CCC..........."
"..CCC.........."
"...CCC........."
"....CCC........"
"CCCCCCCC......."
"CCCCCCCC......."
"CCCCCCCC......."
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
/* icon for state 17 */
"CC....CCC......"
"CCC...CCC......"
".CCC..CCC......"
"..CCC.CCC......"
"...CCCCCC......"
"....CCCCC......"
".....CCCC......"
"......CCC......"
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."
"..............."

XPM
/* width height num_colors chars_per_pixel */
"7 119 3 1"
/* colors */
"A c #FFFFFF"
". c #303030"
"C c #00FFFF"
/* icon for state 1 */
"AAAAAAA"
"AAAAAAA"
"AAAAAAA"
"AAAAAAA"
"AAAAAAA"
"AAAAAAA"
"AAAAAAA"
/* icon for state 2 */
"...C..."
"...C..."
"...C..."
"...C..."
"......."
"......."
"......."
/* icon for state 3 */
"......C"
".....C."
"....C.."
"...C..."
"......."
"......."
"......."
/* icon for state 4 */
"......."
"......."
"......."
"...CCCC"
"......."
"......."
"......."
/* icon for state 5 */
"......."
"......."
"......."
"...C..."
"....C.."
".....C."
"......C"
/* icon for state 6 */
"......."
"......."
"......."
"...C..."
"...C..."
"...C..."
"...C..."
/* icon for state 7 */
"......."
"......."
"......."
"...C..."
"..C...."
".C....."
"C......"
/* icon for state 8 */
"......."
"......."
"......."
"CCCC..."
"......."
"......."
"......."
/* icon for state 9 */
"C......"
".C....."
"..C...."
"...C..."
"......."
"......."
"......."
/* icon for state 10 */
"...C..C"
"...C.C."
"...CC.."
"...C..."
"......."
"......."
"......."
/* icon for state 11 */
"......C"
".....C."
"....C.."
"...CCCC"
"......."
"......."
"......."
/* icon for state 12 */
"......."
"......."
"......."
"...CCCC"
"....C.."
".....C."
"......C"
/* icon for state 13 */
"......."
"......."
"......."
"...C..."
"...CC.."
"...C.C."
"...C..C"
/* icon for state 14 */
"......."
"......."
"......."
"...C..."
"..CC..."
".C.C..."
"C..C..."
/* icon for state 15 */
"......."
"......."
"......."
"CCCC..."
"..C...."
".C....."
"C......"
/* icon for state 16 */
"C......"
".C....."
"..C...."
"CCCC..."
"......."
"......."
"......."
/* icon for state 17 */
"C..C..."
".C.C..."
"..CC..."
"...C..."
"......."
"......."
"......."

User avatar
Scorbie
Posts: 1693
Joined: December 7th, 2013, 1:05 am

Re: Attract and Repel

Post by Scorbie » August 1st, 2015, 8:20 pm

Can the c/4 diagonal engine be stabilized?
Well, I doubt that... Longer and longer engines tend to last a little longer, but they decay eventually, which is similar to straight lines in B3/S23. At least they are stable in an agar, which can be viewed here (And has a nice ripple effect)

Code: Select all

x = 599, y = 599, rule = Repel2:T600,600
2A$.A2$3.2A$4.A2$6.2A$7.A2$9.2A$10.A2$12.2A$13.A2$15.2A$16.A2$18.2A$
19.A2$21.2A$22.A2$24.2A$25.A2$27.2A$28.A2$30.2A$31.A2$33.2A$34.A2$36.
2A$37.A2$39.2A$40.A2$42.2A$43.A2$45.2A$46.A2$48.2A$49.A2$51.2A$52.A2$
54.2A$55.A2$57.2A$58.A2$60.2A$61.A2$63.2A$64.A2$66.2A$67.A2$69.2A$70.
A2$72.2A$73.A2$75.2A$76.A2$78.2A$79.A2$81.2A$82.A2$84.2A$85.A2$87.2A$
88.A2$90.2A$91.A2$93.2A$94.A2$96.2A$97.A2$99.2A$100.A2$102.2A$103.A2$
105.2A$106.A2$108.2A$109.A2$111.2A$112.A2$114.2A$115.A2$117.2A$118.A
2$120.2A$121.A2$123.2A$124.A2$126.2A$127.A2$129.2A$130.A2$132.2A$133.
A2$135.2A$136.A2$138.2A$139.A2$141.2A$142.A2$144.2A$145.A2$147.2A$
148.A2$150.2A$151.A2$153.2A$154.A2$156.2A$157.A2$159.2A$160.A2$162.2A
$163.A2$165.2A$166.A2$168.2A$169.A2$171.2A$172.A2$174.2A$175.A2$177.
2A$178.A2$180.2A$181.A2$183.2A$184.A2$186.2A$187.A2$189.2A$190.A2$
192.2A$193.A2$195.2A$196.A2$198.2A$199.A2$201.2A$202.A2$204.2A$205.A
2$207.2A$208.A2$210.2A$211.A2$213.2A$214.A2$216.2A$217.A2$219.2A$220.
A2$222.2A$223.A2$225.2A$226.A2$228.2A$229.A2$231.2A$232.A2$234.2A$
235.A2$237.2A$238.A2$240.2A$241.A2$243.2A$244.A2$246.2A$247.A2$249.2A
$250.A2$252.2A$253.A2$255.2A$256.A2$258.2A$259.A2$261.2A$262.A2$264.
2A$265.A2$267.2A$268.A2$270.2A$271.A2$273.2A$274.A2$276.2A$277.A2$
279.2A$280.A2$282.2A$283.A2$285.2A$286.A2$288.2A$289.A2$291.2A$292.A
2$294.2A$295.A2$297.2A$298.A2$300.2A$301.A2$303.2A$304.A2$306.2A$307.
A2$309.2A$310.A2$312.2A$313.A2$315.2A$316.A2$318.2A$319.A2$321.2A$
322.A2$324.2A$325.A2$327.2A$328.A2$330.2A$331.A2$333.2A$334.A2$336.2A
$337.A2$339.2A$340.A2$342.2A$343.A2$345.2A$346.A2$348.2A$349.A2$351.
2A$352.A2$354.2A$355.A2$357.2A$358.A2$360.2A$361.A2$363.2A$364.A2$
366.2A$367.A2$369.2A$370.A2$372.2A$373.A2$375.2A$376.A2$378.2A$379.A
2$381.2A$382.A2$384.2A$385.A2$387.2A$388.A2$390.2A$391.A2$393.2A$394.
A2$396.2A$397.A2$399.2A$400.A2$402.2A$403.A2$405.2A$406.A2$408.2A$
409.A2$411.2A$412.A2$414.2A$415.A2$417.2A$418.A2$420.2A$421.A2$423.2A
$424.A2$426.2A$427.A2$429.2A$430.A2$432.2A$433.A2$435.2A$436.A2$438.
2A$439.A2$441.2A$442.A2$444.2A$445.A2$447.2A$448.A2$450.2A$451.A2$
453.2A$454.A2$456.2A$457.A2$459.2A$460.A2$462.2A$463.A2$465.2A$466.A
2$468.2A$469.A2$471.2A$472.A2$474.2A$475.A2$477.2A$478.A2$480.2A$481.
A2$483.2A$484.A2$486.2A$487.A2$489.2A$490.A2$492.2A$493.A2$495.2A$
496.A2$498.2A$499.A2$501.2A$502.A2$504.2A$505.A2$507.2A$508.A2$510.2A
$511.A2$513.2A$514.A2$516.2A$517.A2$519.2A$520.A2$522.2A$523.A2$525.
2A$526.A2$528.2A$529.A2$531.2A$532.A2$534.2A$535.A2$537.2A$538.A2$
540.2A$541.A2$543.2A$544.A2$546.2A$547.A2$549.2A$550.A2$552.2A$553.A
2$555.2A$556.A2$558.2A$559.A2$561.2A$562.A2$564.2A$565.A2$567.2A$568.
A2$570.2A$571.A2$573.2A$574.A2$576.2A$577.A2$579.2A$580.A2$582.2A$
583.A2$585.2A$586.A2$588.2A$589.A2$591.2A$592.A2$594.2A$595.A2$597.2A
$598.A!

User avatar
Saka
Posts: 3627
Joined: June 19th, 2015, 8:50 pm
Location: Indonesia
Contact:

Re: Attract and Repel

Post by Saka » August 7th, 2015, 6:32 am

A thing:

Code: Select all

x = 102, y = 75, rule = Repel_D0
57.pN$55.B3.pN$56.QT3.pN$54.B3.QT3.pN$55.QT3.QT3.pN$53.B3.QT3.QT3.pN$
54.QT3.QT3.QT3.pN$52.B3.QT3.QT3.QT3.pN$53.QT3.QT3.QT3.QT3.pN$51.B3.QT
3.QT3.QT3.QT3.pN$52.QT3.QT3.QT3.QT3.QT3.pN$50.B3.QT3.QT3.QT3.QT3.QT3.
pN$51.QT3.QT3.QT3.QT3.QT3.QT3.pN$49.B3.QT3.QT3.QT3.QT3.QT3.QT3.pN$50.
QT3.QT3.QT3.QT3.QT3.QT3.QT3.pN$48.B3.QT3.QT3.QT3.QT3.QT3.QT3.QT3.pN$
49.QT3.QT3.QT3.QT3.QT3.QT3.QT3.QT3.pN$47.B3.QT3.QT3.QT3.QT3.QT3.QT3.Q
T3.QT3.pN$48.QT3.QT3.QT3.QT3.QT3.QT3.QT3.QT3.QT3.pN$46.B3.QT3.QT3.QT
3.QT3.QT3.QT3.QT3.QT3.QT3.pN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2015, 8:50 pm
Location: Indonesia
Contact:

Re: Attract and Repel

Post by Saka » August 8th, 2015, 4:28 am

How to merge two moons together:

Code: Select all

x = 15, y = 10, rule = Repel_D0
3.A3.A3.A2$4.A2.A2.A$5.2A.2A3$A3.A2.A2.A3.A2$.A2.A2.A2.A2.A$2.2A.2A.
2A.2A!
Extendable rake:

Code: Select all

x = 73, y = 5, rule = Repel_D0
2.2A2.2A3.2A2.2A3.2A2.2A3.2A2.2A3.2A2.2A3.2A2.2A3.2A2.2A3.2A2.2A$.A2.
2A7.2A7.2A7.2A7.2A7.2A7.2A7.2A2.A$A2.A2.A2.A2.A2.A2.A2.A2.A2.A2.A2.A
2.A2.A2.A2.A2.A2.A2.A2.A2.A2.A2.A2.A2.A$.A2.2A2.A.A2.2A2.A.A2.2A2.A.A
2.2A2.A.A2.2A2.A.A2.2A2.A.A2.2A2.A.A2.2A2.A$2.2A2.2A3.2A2.2A3.2A2.2A
3.2A2.2A3.2A2.2A3.2A2.2A3.2A2.2A3.2A2.2A!

User avatar
Alexey_Nigin
Posts: 326
Joined: August 4th, 2014, 12:33 pm
Location: Ann Arbor, MI
Contact:

Re: Attract and Repel

Post by Alexey_Nigin » August 9th, 2015, 10:31 am

Small chaos seed with relatively interesting behaviour:

Code: Select all

x = 6384, y = 293, rule = Repel_D0
6378.2A.2A$6377.A2.A2.A2$6376.2A2.2A$6375.A2.2A2.A$6377.A2.A$6374.2A
2.2A275$7.A$8.A$8.A$7.A$3.A.A$4.A$4.A$3.A$.2A2$.A$A!
In particular, it generates a few gigantic diagonal ships early on.
There are 10 types of people in the world: those who understand binary and those who don't.

User avatar
Saka
Posts: 3627
Joined: June 19th, 2015, 8:50 pm
Location: Indonesia
Contact:

Re: Attract and Repel

Post by Saka » August 10th, 2015, 5:16 am

I extracted the huge diagonal part but it's too big even for attachments, so click HERE
I also found this:

Code: Select all

x = 9, y = 10, rule = Repel_D0
.A2.A$A$3.A$2.A2$3.A$2A2.2A2.A$.A6.A2$3.4A!
Oscillator stabilization:

Code: Select all

x = 25, y = 23, rule = Repel_D0
11.A2$14.A2.A$11.A2.A$5.A3.A3.A3.A$4.A3.A3.A3.2A.A$6.A3.A3.A5.A$3.A.A
3.A3.A6.A.A$7.A3.A3.A3.A3.A$2.A3.A3.A3.A2.A5.A$A3.A3.A3.A5.A3.A$5.A.A
3.A6.A.A$5.A3.A3.A3.A3.A$4.A3.A3.A2.A5.A.A$2.A13.A3.A3.A$16.A.A5.A$
15.A3.A3.A$13.A5.A.A$15.A2.A$16.A$16.A$15.A$13.A!
and

Code: Select all

x = 14, y = 12, rule = Repel_D0
3.pN$.pN5.pN$9.B$3.B2.pN3.pK$JH2.F5.pD$.S7.B$6.JH.DX$3.JH2.F$4.S2.E2.
pN2.pN2$6.JH.JH$7.S2.S2.pN!

User avatar
SeanBP
Posts: 34
Joined: December 2nd, 2014, 12:49 am

Re: Attract and Repel

Post by SeanBP » August 18th, 2015, 6:13 pm

It would be interesting to see the path one cell takes in this automaton. I'm sure it would make some very interesting patterns, especially when it splits. College is starting for me in a few days, so I can't try to code it myself. If anyone else wants to try to do it, I would be interested to see the results.

User avatar
Scorbie
Posts: 1693
Joined: December 7th, 2013, 1:05 am

Re: Attract and Repel

Post by Scorbie » August 18th, 2015, 11:18 pm

Okay. After quite some PMs with SeanBP, I think I made Repel into a Golly rule correctly:
Note: This is (Supposed to be) Sean's original repel rule, which leaves cells that don't move as is. And I see that the attatchment is broken. Will upload Repel4 and Repel4_D0 after I get back home and have access to my laptop, which unfortunately would be several hours later...
Repel4.rule
EDIT: The R pentomino shoots an interesting puffer:

Code: Select all

x = 21, y = 10, rule = Repel4
2.A3.A$11.A$13.2A2.A$19.A$A3.A3.A11.A$2.A3.A3.A9.A$19.A$14.A2.A$13.A$
A3.A3.A!
EDIT2: By the way, the 256-liner Phase 1 was generated by this script:

Code: Select all

nd, ned, ed, sed, sd, swd, wd, nwd = 0,1,2,3,4,5,6,7

statedict = {\
    ():1,\
    (nwd,):2,\
    (wd,):3,\
    (swd,):4,\
    (sd,):5,\
    (sed,):6,\
    (ed,):7,\
    (ned,):8,\
    (nd,):9,\
    (wd,nwd):10,\
    (swd,nwd):11,\
    (swd,wd):12,\
    (sd,nwd):13,\
    (sd,wd):14,\
    (sd,swd):15,\
    (sed,wd):16,\
    (sed,swd):17,\
    (sed,sd):18,\
    (ed,nwd):19,\
    (ed,swd):20,\
    (ed,sd):21,\
    (ed,sed):22,\
    (ned,nwd):23,\
    (ned,wd):24,\
    (ned,sd):25,\
    (ned,sed):26,\
    (ned,ed):27,\
    (nd,nwd):28,\
    (nd,wd):29,\
    (nd,swd):30,\
    (nd,sed):31,\
    (nd,ed):32,\
    (nd,ned):33}

def newstate(n, ne, e, se, s, sw, w, nw):
    
    for i in [0,1,2,3]:
        if n==s==1:
            n=s=0;
        if ne==sw==1:
            ne=sw=0
        if e==w==1:
            e=w=0
        if se==nw==1:
            se=nw=0
        
        n2,ne2,e2,se2,s2,sw2,w2,nw2 = n,ne,e,se,s,sw,w,nw     
        if n==e==1:
            n2=e2=0; ne2=1
        if ne==se==1:
            ne2=se2=0; e2=1
        if e==s==1:
            e2=s2=0; se2=1
        if se==sw==1:
            se2=sw2=0; s2=1
        if s==w==1:
            s2=w2=0; sw2=1
        if sw==nw==1:
            sw2=nw2=0; w2=1
        if w==n==1:
            w2=n2=0; nw2=1
        if nw==ne==1:
            nw2=ne2=0; n2=1
        n,ne,e,se,s,sw,w,nw = n2,ne2,e2,se2,s2,sw2,w2,nw2
    
    push = []
    if s==1: push.append(nd)
    if sw==1: push.append(ned)
    if w==1: push.append(ed)
    if nw==1: push.append(sed)
    if n==1: push.append(sd)
    if ne==1: push.append(swd)
    if e==1: push.append(wd)
    if se==1: push.append(nwd)
    
    return statedict[tuple(push)]

for N in [0,1]:
    for NE in [0,1]:
        for E in [0,1]:
            for SE in [0,1]:
                for S in [0,1]:           
                    for SW in [0,1]:           
                        for W in [0,1]:
                            for NW in [0,1]:
                                print '1,{0},{1},{2},{3},{4},{5},{6},{7},{8}'\
                                    .format(N, NE, E, SE, S, SW, W, NW, newstate(N, NE, E, SE, S, SW, W, NW))

Post Reply