muzik wrote:New range 3 bug:Code: Select allrlle
Bugs from the quadratic bugs rule:Code: Select allRl3
???? These are not in the correct rule at all.
muzik wrote:New range 3 bug:Code: Select allrlle
Bugs from the quadratic bugs rule:Code: Select allRl3
x = 17, y = 10, rule = B3/S23
b2ob2obo5b2o$11b4obo$2bob3o2bo2b3o$bo3b2o4b2o$o2bo2bob2o3b4o$bob2obo5b
o2b2o$2b2o4bobo2b3o$bo3b5ob2obobo$2bo5bob2o$4bob2o2bobobo!
x = 55, y = 28, rule = R2,C0,M1,S7..11,B7..9,NM
13bo4bo19bo3bo$12b3o3bo19bo9bo$3o3b3o4bo4b3o15b3o3bo3b3o3b3o$obo3bo6bo
4bobo15bobo3bo3bobo3bobo$3o3bo6bo4bobo15b3o3bo3b3o3b3o$54bo$52b3o6$8b
2o33b3o$7bob3o30b2ob2o$7bo2b2o30bo3bo$7bo2b2o30bo2b2o$7bob3o31b3o$8b2o
6$5bo5bob3o23bo5bob3o$5bo4bo4bo23bo4bo4bo$5bo3bo3b3o23bo3bo3b3o$5bo2bo
4bo25bo2bo6bo$5bobo5b3o23bobo5b3o!
fluffykitty wrote:Would like to mention this rulescaling script, automatically changes the range smoothly. Z/X to increase/decrease step and space to advance. Set base in the code to your base range.Code: Select allRLE
x = 17, y = 10, rule = B3/S23
b2ob2obo5b2o$11b4obo$2bob3o2bo2b3o$bo3b2o4b2o$o2bo2bob2o3b4o$bob2obo5b
o2b2o$2b2o4bobo2b3o$bo3b5ob2obobo$2bo5bob2o$4bob2o2bobobo!
from decimal import *
import golly as g
def setrange(x):
#ltlrangeconvert.py
#A script to change the range
#but keep MOST of the dynamics
#DISCLAIMER: Drastic range changes will remove the dynamics.
#Thanks to Dean Hickerson's algorithm!
#By Saka.
getcontext().prec = 8
fullrule = g.getrule()
sections = fullrule.split(",")
r = sections[0]
b = sections[4]
s = sections[3]
c = sections[1]
m = sections[2]
n = sections[5]
#Filter n so :Txxx don't get involved
nlist = n.split(":")
npure = nlist[0]
#Aaand filter r so the R is gone
rpure = int(r[1:])
#Getting bmin and bmax outta that string...
bpure = b.translate(None,"B")
blist = b[1:].split("..")
bmin = int(blist[0])
bmax = int(blist[1])
#Now for smin and smax...
spure = s.translate(None,"S")
slist = s[1:].split("..")
smin = int(slist[0])
smax = int(slist[1])
#Input time
try:
rangeto = x
except:
rangeto=g.prompt("","5")
rangetostr = str(rangeto)
#Now for calculations!
meaningoflife = (2*Decimal(rangeto)+1)**2/(2*Decimal(rpure)+1)**2
newbmin = str(int(round(bmin*meaningoflife))) #Huh. Decimal to number to integer to string
newbmax = str(int(round(bmax*meaningoflife)))
newsmin = str(int(round(smin*meaningoflife)))
newsmax = str(int(round(smax*meaningoflife)))
newrule = "R"+rangetostr+","+c+","+m+","+"S"+newsmin+".."+newsmax+","+"B"+newbmin+".."+newbmax+","+npure
g.setrule(newrule)
g.reset()
g.getevent()
base=100
down=range(base,0,-1) #descending
up=range(base,500) #ascending
x=up+range(500,0,-1)
for i in x:
setrange(i)
g.show(str(i))
for j in xrange(1):
g.step()
g.fit()
g.update()
a=g.getevent()
skipcheck=True
while not skipcheck and a!="key space none":
if(a=="key z none"):
g.setstep(g.getstep()-1)
g.update()
elif(a=="key x none"):
g.setstep(g.getstep()+1)
g.update()
a=g.getevent()
x = 25, y = 6, rule = R2,C0,M1,S7..10,B7..9,NM
21bo$b3o7b2o7bob2o$2o2bo5bob2o5bo3b2o$2o2bo5bo2bo6bob2o$b3o6bob2o6b3o$
2b2o7b2o8bo!
x = 63, y = 19, rule = R17,C0,M1,S344..456,B344..587,NM
2b16o26b17o$b18o24b19o$20o22b21o$20o22b21o$20o22b21o$20o22b21o$20o22b
21o$20o22b21o$20o22b21o$20o22b21o$20o22b21o$20o22b21o$20o22b21o$20o22b
21o$20o22b21o$20o22b21o$20o22b21o$20o23b19o$b18o25b17o!
Saka wrote:gameoflifemaniac wrote:Is this rule correct?
R2,C0,M1,S7..12,B7..9,NM
EDIT Oh, it's not.
Btw, here are range 2 bugs:Code: Select allx = 55, y = 28, rule = R2,C0,M1,S7..11,B7..9,NM
13bo4bo19bo3bo$12b3o3bo19bo9bo$3o3b3o4bo4b3o15b3o3bo3b3o3b3o$obo3bo6bo
4bobo15bobo3bo3bobo3bobo$3o3bo6bo4bobo15b3o3bo3b3o3b3o$54bo$52b3o6$8b
2o33b3o$7bob3o30b2ob2o$7bo2b2o30bo3bo$7bo2b2o30bo2b2o$7bob3o31b3o$8b2o
6$5bo5bob3o23bo5bob3o$5bo4bo4bo23bo4bo4bo$5bo3bo3b3o23bo3bo3b3o$5bo2bo
4bo25bo2bo6bo$5bobo5b3o23bobo5b3o!
Actually, the rule is correct but those aren't bugs, they explode.
x = 40, y = 6, rule = R2,C0,M1,S7..11,B7..9,NM
b2o33b3o$ob3o30b2ob2o$o2b2o30bo3bo$o2b2o30bo2b2o$ob3o31b3o$b2o!
AforAmpere wrote:gameoflifemaniac wrote:When I used the formula to make a Bugs R2 rules, I ended up with a fractional number. What's going on?
Are you doing it by hand? Try rounding, which is what the script does, or just use the script.
Bugs R6 Variant with a quadratic replicator:Code: Select allx = 14, y = 14, rule = R6,C0,M1,S47..81,B47..61,NM
7bo$4b6o$2b6ob2o$b6o3b2o$6o5b2o$5o7bo$5o6b3o$5o5b3o$b5o3b4o$2b11o$3b9o
$4b8o$5b6o$6b4o!
Return to Other Cellular Automata
Users browsing this forum: No registered users and 6 guests