Visual language for golly rules.

For scripts to aid with computation or simulation in cellular automata.
Post Reply
User avatar
simsim314
Posts: 1702
Joined: February 10th, 2014, 1:27 pm

Visual language for golly rules.

Post by simsim314 » March 16th, 2019, 4:33 pm

I've written a golly script to define rules using visual states in golly. Inside a visual rule definder framework (VRDF), you are not asked to write anything. Instead you're asked to draw samples of what will happen inside 10x10 square (defined by golly grid). I think it's the first attempt to make visual programming language for CA rules, using samples of small evolving patterns.

The first lines define variables. i.e. instead of drawing all possible cases you can use a first line definition. Spaces are not allowed between definitions in first stage - you have to define the variables one after another, than the script moves into generating golly rule, in this place you can make spaces as much as you like, but stick to 10x10.

Here is a mock rule to start from (I'm not parsimonious with number of states - I'm trying to make sense of the large computationally available space by golly):

Code: Select all

@RULE Test

@TABLE
n_states:100
neighborhood:Moore
symmetries:rotate4reflect
Paste inside golly into (0,0) - otherwise it will not work:

Code: Select all

x = 88, y = 517, rule = Test
sB9.A9.B10$sC19.D20$8.2D8.2D8.2D8.2D8.2D8.2D$7.D9.D9.D9.D9.D9.sB$6.D
9.D9.D9.D9.sB9.C$5.D9.D9.D9.sB9.C9.D$DCsB2D5.2DCsBD5.3DCsB5.4DC5.5D5.
5D$5.D9.D9.D9.sB9.C9.D$6.D9.D9.D9.D9.sB9.C$7.D9.D9.D9.D9.D9.sB$8.2D8.
2D8.2D8.2D8.2D8.2D4$5.5D5.5D5.5D5.sB4D5.CsB3D5.DCsB2D$4.D9.D9.sB9.C9.
D9.D$3.D9.sB9.C9.D9.D9.D$2.sB9.C9.D9.D9.D9.D$.C9.D9.D9.D9.D9.D$D9.D9.
D9.D9.D9.D7$DCA5D2.2DCA4D2.3DCB3D2.4DCB2D2.5DCBD$4.D9.D9.B9.D9.D19$DC
sB2D5.2DCsBD5.3DCsB5.4DC5.5D5.5D$5.D9.D9.D9.sB9.C9.D$6.D9.D9.D9.D9.sB
9.C$7.D9.D9.D9.D9.D9.sB$8.2D8.2D8.2D8.2D8.2D8.2D12$DCB5D2.2DCB4D2.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.D9.D$6.D9.D9.D9.D9.D9.D4$D2.3D4.D2.3D4.D2.3D$D.D7.A
pBD7.D.D$AD8.CD8.DpD$C9.D9.D$D9.D9.D6$65.D$D2.5D2.D2.5D2.D2.5D2.D2.pD
4D2.D2.pDpE3D2.D3.pEpC2D2.D2.5D$D.D7.BpCD7.D.pD7.D.pD7.D.pDpE6.D.pBpE
pC5.D.D$BD8.CD8.DpC8.DpD8.DpD8.DpD8.DpD$C9.D9.D9.D9.D9.D9.D$D9.D9.D9.
D9.D9.D9.D3$D9.D9.D9.D$D9.D9.D9.D$D2.DAC2D2.D2.AC3D2.D2.C4D2.D2.5D$D.
D7.D.D7.D.pF7.D.D$DpD8.DpD8.DpD8.2D$D9.D9.D9.D$D9.D9.D9.D4$D9.D9.D9.D
$D9.D9.D9.D$D2.DBC2D2.D2.BC3D2.D2.C4D2.D2.5D$D.D7.D.D7.D.pF7.D.D$DpD
8.DpD8.DpD8.2D$D9.D9.D9.D$D9.D9.D9.D4$D9.D9.D9.D9.D9.D$C9.D9.D9.D9.D
9.D$A9.C9.D9.D9.D9.D$D9.A9.C9.D9.D9.D$DpD8.DpD8.ApD8.CpD8.DpD8.DpD$D
9.D9.D9.B9.C9.D$D9.D9.D9.D9.B9.C$D9.D9.D9.D9.D9.B$D9.D9.D9.D9.D9.D3$D
9.D9.D9.D9.D9.D$C9.D9.D9.D9.D9.D$B9.C9.D9.D9.D9.D$D9.B9.C9.D9.D9.D$DpD
8.DpD8.BpD8.CpD8.DpD8.DpD$D9.D9.D9.A9.C9.D$D9.D9.D9.D9.A9.C$D9.D9.D9.
D9.D9.A$D9.D9.D9.D9.D9.D4$D9.D$C9.D$D9.D$D9.D!
Here is the script - it will copy into your clipboard the golly rule (if you want to change the name - it's the first line):

Code: Select all

#Written by Michael Simkin 2019 
#Alpha version of visual rule definder framework (VRDF),
#At rirst stage define variables. Place state at (0, 10*N) - and then add all states it represents. 
#You can represent 0 state as well only the second column should be 0 then. 
#Don't skip lines during this stage. 
#In stage 2 you define the evolution. 
#Eveything should by place inside 9x9 square starting from (0, 10*N) 
#Place rule definitions inside golly grid as evolving step by step states at (10*t, y) locations, for t = 0,1,2...

import golly as g 

rule_name = "Test"
n_states = "100"
neighborhood = "Moore"
symmetries = "rotate4reflect"

idxs = [(0, 0), (0, -1), (1, -1), (1, 0), (1, 1), (0, 1), (-1, 1), (-1, 0), (-1, -1)]
lines = [] 
variables = {}

def cell_to_string(cell, ids, val = -1):
	global variables
	
	if not (cell in variables):
		return str(cell)
	
	if val == 0:
		return "0"
	
	if val > 0:
		if cell in variables: 
			return "a1" + str(cell) 
		else:
			return str(cell) 
		
	ids[cell] += 1
	return "a" + str(ids[cell]) + str(cell)

def XY_toline(x, y):
	global variables
	ids = {}
	
	for i in variables:
		ids[i] = 0
	
	res = ""
	
	for i, j, in idxs:
		res += cell_to_string(g.getcell(x + i, y + j), ids) + ","
		
	res += cell_to_string(g.getcell(x + 10, y), ids, g.getcell(x, y)) + "\n"
		
	return res 

def add_rule(lines, res):
	if not (res in lines):
		lines.append(res)
	
def scanXY(x, y, islast, lines):
	res = ""
	for i in range(10):
		for j in range(10):
			if g.getcell(x + i, y + j) != 0:
				if not islast:
					add_rule(lines, XY_toline(x + i, y + j))
					
			elif g.getcell(x + i + 10, y + j) != 0:
				add_rule(lines, XY_toline(x + i, y + j))

	return res
	
def scanX(y, lines, stage, vars):

	if stage == 0:
		if g.getcell(0, y) == 0:
			if len(g.getcells([0, y, 10, 1])) != 0:
				stage = 2
			else:
				return 0 
		else:
			stage = 1 
			
	if stage == 1:
		if g.getcell(0, y) == 0:
			stage = 2
		else:
			vars[g.getcell(0, y)] = [g.getcell(10, y)] 
			
			dx = 20
			while g.getcell(dx, y) != 0:
				vars[g.getcell(0, y)].append(g.getcell(dx, y))
				dx += 10
			
			return stage
	
	stage = 2
	
	dx = 0 	
	while len(g.getcells([dx, y, 10, 10])) != 0:
		dx += 10
	
	for i in range(0, dx, 10):
		scanXY(i, y, i == dx - 10, lines)

	return stage
	

def scan(lines):
	global variables
	
	rect = g.getrect()
	maxY = rect[1] + rect[3]
	y = int(rect[1] / 10) * 10 - 10 
	res = ""
	stage = 0 
	
	while y < maxY:
		stage = scanX(y, lines, stage, variables)
		y += 10 
	
	for l in lines: 
		res += l
		
	return res

pre_rule = '''@RULE %s

@TABLE
n_states:%s
neighborhood:%s
symmetries:%s

''' % (rule_name, n_states, neighborhood, symmetries)

all_rules = scan(lines)

for k in variables:
	for i in range(8):
		
		pre_rule += "var a" + str(i + 1) + str(k) + " = {"
		lv = variables[k]
		
		for j in range(len(lv)):
			pre_rule += str(lv[j])
			
			if j == len(lv) - 1:
				pre_rule += "}"
			else: 
				pre_rule += ","
				
		pre_rule += "\n"
		
g.setclipstr(pre_rule + all_rules)
And the resulting rule (should be universal):

Code: Select all

@RULE Test

@TABLE
n_states:100
neighborhood:Moore
symmetries:rotate4reflect

var a198 = {1,2}
var a298 = {1,2}
var a398 = {1,2}
var a498 = {1,2}
var a598 = {1,2}
var a698 = {1,2}
var a798 = {1,2}
var a898 = {1,2}
var a199 = {0,4}
var a299 = {0,4}
var a399 = {0,4}
var a499 = {0,4}
var a599 = {0,4}
var a699 = {0,4}
var a799 = {0,4}
var a899 = {0,4}
4,0,0,3,0,0,0,0,0,4
3,0,0,a198,0,0,0,4,0,4
a198,0,0,4,0,0,0,3,0,3
4,0,0,4,0,0,0,a198,0,a198
4,0,4,0,4,0,0,4,0,4
4,0,4,0,0,0,4,0,0,4
4,0,0,0,4,0,0,0,4,4
4,0,0,4,0,0,4,0,0,4
4,0,0,4,0,0,0,0,4,4
4,0,0,0,0,0,0,4,0,4
4,0,0,4,0,0,0,0,0,4
4,0,0,3,0,0,0,4,0,4
4,0,4,0,4,0,0,a198,0,a198
4,0,0,4,0,0,0,4,0,4
a198,0,4,0,4,0,0,3,0,3
4,0,4,0,0,0,a198,0,0,a198
4,0,0,0,4,0,0,0,a198,a198
3,0,a198,0,a298,0,0,4,0,4
a198,0,4,0,0,0,3,0,0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0,4,0,4
4,0,0,4,9,13,0,4,0,4
13,4,4,9,0,0,0,0,4,0
0,13,9,0,0,0,0,0,0,10
4,0,0,0,0,9,13,4,0,4
9,4,0,0,0,0,0,13,4,12
0,9,0,0,0,0,0,0,13,13
4,0,0,4,12,0,0,4,0,4
10,0,12,13,0,0,0,0,0,0
12,4,0,0,0,13,10,0,4,4
13,12,0,0,0,0,0,10,0,0
0,13,0,0,0,0,0,0,10,4
a199,0,0,a299,a399,0,0,0,0,a199
a199,0,0,0,a299,a399,0,a499,0,a199
a199,a299,0,a399,0,0,0,0,a499,a199
a199,0,a299,a399,0,0,0,a499,a599,a199
a199,0,0,a299,0,a399,a499,0,0,a199
a199,a299,a399,0,0,0,0,a499,0,a199
a199,0,0,0,0,0,a299,a399,0,a199
0,13,9,0,0,a199,a299,0,0,10
0,9,0,0,a199,0,a299,0,13,13
a199,0,10,a299,a399,0,0,0,0,a199
10,0,12,13,0,a199,a299,0,0,0
a199,10,13,0,a299,a399,0,a499,0,a199
13,12,0,0,a199,0,a299,10,0,0
0,13,0,a199,a299,a399,a499,a599,10,4
a199,0,0,a299,0,a399,a499,0,13,a199
a199,0,0,4,a299,a399,0,a499,0,a199
a199,a299,4,a399,0,0,0,0,a499,a199
4,0,0,a199,a299,a399,a499,a599,0,4
a199,4,a299,a399,0,0,0,a499,a599,a199
a199,0,0,a299,0,a399,a499,4,0,a199
a199,a299,a399,0,0,0,0,a499,4,a199
0,13,9,0,4,a199,a299,0,0,10
0,9,0,0,a199,4,a299,0,13,13
10,0,12,13,4,a199,a299,0,0,0
a199,10,13,4,a299,a399,0,a499,0,a199
13,12,0,0,a199,4,a299,10,0,0
4,13,0,a199,a299,a399,a499,a599,10,0
a199,0,0,a299,0,a399,a499,4,13,a199
4,0,4,0,0,4,0,1,0,14
4,4,0,0,4,0,0,0,1,14
4,0,0,0,0,0,4,0,0,4
4,0,0,0,0,0,0,0,4,4
3,0,0,14,14,0,0,4,0,4
14,0,4,0,0,14,0,3,0,14
14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,1
28,0,0,0,0,0,4,4,1,28
3,4,0,0,28,1,0,0,0,4
1,3,0,28,0,4,0,0,0,3
4,1,28,0,0,4,0,0,0,2
28,0,0,0,0,0,4,1,3,28
4,4,0,0,28,3,0,0,0,4
3,4,0,28,0,2,0,0,0,4
2,3,28,0,0,4,0,0,0,3
4,2,0,0,0,4,0,0,0,2
28,0,0,0,0,0,2,3,4,28
4,4,0,28,0,3,0,0,0,4
3,4,28,0,0,2,0,0,0,4
2,3,0,0,0,4,0,0,0,3
28,0,0,0,0,0,3,4,4,28
3,4,0,0,0,2,0,0,0,4
4,2,0,0,28,4,0,0,0,2
2,3,0,0,28,4,0,0,0,3
4,2,0,28,0,4,0,0,0,2
28,0,0,0,0,0,4,4,2,28
3,4,0,0,28,2,0,0,0,4
2,3,0,28,0,4,0,0,0,3
4,2,28,0,0,4,0,0,0,1
28,0,0,0,0,0,4,2,3,28
3,4,0,28,0,1,0,0,0,4
1,3,28,0,0,4,0,0,0,3
4,1,0,0,0,4,0,0,0,1
28,0,0,0,0,0,1,3,4,28
3,4,28,0,0,1,0,0,0,4
3,4,0,0,0,4,0,0,0,4
4,3,0,0,0,4,0,0,0,4
Some pattern to run:

Code: Select all

x = 103, y = 271, rule = Test
7$27.D$27.D$27.D$27.D$27.D$27.2D$27.D$27.D$27.D$26.D.D$25.D3.D$24.D5.
D$23.D7.D$22.D9.D$21.D11.D$21.D11.D$20.2D11.D$21.D11.2D$21.D11.D$21.D
11.D$22.D9.D$23.D7.D$24.D5.D24.D9.D$25.D3.D24.D10.D$26.D.D25.D10.D$
27.D27.D9.D$27.D27.D2.5D2.D$27.D12.D13.D2.D5.D.D$27.D12.D13.D.D7.2D$
27.D12.D14.D9.D$27.D12.D14.D2.5D2.D$27.D12.D13.D2.D5.D.D$27.D12.D13.D
.D7.2D$27.D12.D14.D9.D$27.D12.D14.D2.5D2.D$27.D12.D13.D2.D5.D.D$27.D
12.D13.D.D7.2D$27.D12.D14.D9.D$27.D11.2D14.D2.5D2.D$27.D12.D13.D2.D5.
D.D$27.D12.D13.D.D7.2D$27.D12.D14.D9.D$27.D12.D14.D2.5D2.D$27.D12.D
13.D2.D5.D.D$27.D12.D13.D.D7.2D$28.D10.D15.D9.D$29.D8.D16.D2.5D2.D$
30.D6.D16.D2.D5.D.D$31.D4.D17.D.D7.2D$32.D2.D19.D9.D$33.2D20.D2.5D2.D
$33.D20.D2.D5.D.D$33.D20.D.D7.2D$33.D21.D9.D$33.D21.D2.5D2.D$33.D20.D
2.D5.D.D$33.A20.D.D7.2D$33.C21.D9.D$33.D21.D2.5D2.D$33.D20.D2.D5.D.D$
33.D20.D.D7.2D$33.D21.D9.D$33.D21.D2.5D2.D$33.D20.D2.D5.D.D$33.A20.D.
D7.2D$33.C21.D9.D$33.D21.D2.5D2.D$33.D20.D2.D5.D.D$33.D20.D.D7.2D$33.
D21.D9.D$33.D21.D2.5D2.D$33.D20.D2.D5.D.D$33.A20.D.D7.2D$33.C21.D9.D$
33.D21.D9.D$33.D21.D9.D$33.D21.D9.D$33.D21.D9.D$33.D21.D9.D$33.D21.D
9.D$33.D21.D9.D$33.D21.D9.D$33.D21.D9.D$33.D21.D9.D$33.D21.D9.D$33.D
21.D9.D$33.D21.D9.D$33.D21.D9.D$33.B21.D9.D$33.C21.D9.D$33.D21.D9.D$
33.D21.D9.A$33.D21.D9.C$33.D21.D9.D$33.D21.D9.D$33.D21.D9.D$33.A21.D
9.D$33.C21.D9.D$33.D21.D9.D$33.D21.D9.A$33.D21.D9.C$33.D21.D9.D$33.D
21.D9.D$33.D21.D9.D$33.B21.D9.D$33.C21.D9.D$33.D21.D9.D$33.D21.D9.B$
33.D21.D9.C$55.D9.D$55.D9.D$55.D9.D$55.D9.D$55.D9.D$55.D9.D$55.D9.A$
55.D9.C$55.D9.D$55.D9.D$55.D9.D$55.D9.D$55.D9.D$55.D9.D$55.D9.A$55.D
9.C$55.D9.D$55.D9.D$55.D9.D$55.D9.D$55.D9.D$55.D9.D$55.D9.A$55.D9.C$
55.D9.D$55.D9.D$55.D9.D$55.D9.D$55.D9.D$55.D9.D$55.D9.B$55.D9.C$55.D
9.D$55.D9.D$55.D9.D$55.D9.D$55.D9.D$55.D9.D$55.D9.A$55.D9.C$55.D9.D$
55.D9.D$55.D9.D$55.D9.D$55.D9.D$55.D9.D$55.D9.A$55.D9.C$55.D9.D$55.D
9.D$55.D9.D$55.D9.D$55.D9.D$55.D9.D$55.D9.B$55.D9.C$55.D9.D$55.D9.D$
55.D9.D$55.D9.D$55.D9.D$55.D9.D$55.D9.A$55.D9.C$55.D9.D$55.D9.D$55.D
9.D$55.D9.D$55.D9.D$55.D9.D$55.D9.B$55.D9.C$55.D9.D$55.D9.D$55.D9.D$
55.D9.D$55.D9.D$55.D9.D$55.D9.D$55.D9.D$55.D9.2D$55.D$55.D$55.D$55.D$
55.D$55.D$55.D$55.D$55.D$55.D$55.D$55.D$55.D$55.D$55.D$55.D$55.D$55.D
$55.D$55.D$55.D$55.D$55.D$55.D$55.D$55.D$55.D$55.D$55.D$55.D$55.D$55.
D$55.D$55.D$55.D$55.D$55.D$55.D$55.D$55.D$55.A$55.C$55.D$55.D$55.D$
55.D$55.D$55.D$55.B$55.C$55.D$55.D$55.D$55.D$55.D$55.D$55.D$55.D$55.D
$55.D$55.D$55.D$55.D!


Post Reply