Can somebody please tell me how ruler.mc works?
I want to make a rule out of it.
Not, not somebody else, I want me to do it.
x = 3, y = 3, rule = B26/S2|B358/S3
2o$2bo$obo!
x = 3, y = 3, rule = B26/S2|B358/S3
2o$2bo$obo!
PkmnQ wrote:Sorry, I meant ruler.mc (in Patterns/HashLife/ruler.mc)
@RULE Ruler
@TABLE
n_states:8
neighborhood:Moore
symmetries:none
#State 1: Output
#State 2: Output Rake
#State 3: Intermediate signal
#State 4: Intermediate signal gun
#State 5: Reflector
#State 6: Reflector puffer
#State 7: Eliminator
var a = {0,1,2,3,4,5,6,7}
var b = a
var c = a
var d = a
var e = a
var f = a
var g = a
var h = a
var i = {0,1,2,3,4,5,6}
var j = {0,2,3,4,5,6,7}
var k = {0,1,2,4,5,6,7}
#Movement
7,a,b,c,d,e,k,f,0,0
7,a,b,c,d,e,3,f,g,3
7,a,b,c,d,e,f,g,3,0
0,a,b,c,d,e,f,g,7,7
1,a,b,c,d,e,f,7,g,0
1,a,b,0,c,d,e,f,i,0
1,a,b,c,d,e,f,g,7,7
0,a,b,1,c,i,d,e,f,1
3,a,b,j,d,e,0,f,g,0
3,a,b,c,d,e,1,f,g,0
3,a,b,1,c,d,e,f,g,1
0,a,b,c,d,e,3,f,g,3
0,a,b,c,d,e,f,2,g,2
0,a,b,c,d,e,6,f,g,6
#Generation
2,a,b,c,d,e,f,g,h,1
0,a,b,c,d,e,4,f,g,3
6,a,b,c,d,e,f,g,h,5
#Reflection
5,a,b,c,d,e,3,f,g,7
@COLORS
0 0 0 0
1 255 255 255
2 0 255 0
3 255 127 0
4 255 0 0
5 127 127 127
6 0 127 255
7 255 255 0
x = 3, y = 3, rule = B26/S2|B358/S3
2o$2bo$obo!
@RULE SlideRuler
@TABLE
n_states:7
neighborhood:Moore
symmetries:none
var a{0,1,2,3,4,5,6}
var b=a
var c=a
var d=a
var e=a
var f=a
var g=a
var h=a
var s{3,4}
#reflect
0,a,b,c,d,6,5,g,h,5
0,a,b,c,d,e,s,5,h,6
5,a,b,6,d,e,f,g,h,0
#cancel
0,a,b,c,d,e,f,1,6,1
0,a,b,c,d,e,1,6,h,5
1,6,b,c,d,e,f,g,h,0
5,a,b,c,d,1,f,g,h,0
0,a,b,c,d,e,f,1,5,1
0,a,b,c,d,e,1,5,h,2
1,5,b,c,d,e,f,g,h,0
#space
0,a,b,c,d,e,f,g,6,6
0,a,b,c,d,1,f,g,h,2
0,a,b,2,d,e,f,g,h,2
0,a,b,c,d,e,3,g,h,4
0,a,b,c,d,e,4,g,h,4
#photons
2,a,b,c,d,e,f,g,h,0
4,a,b,c,d,e,f,g,h,0
6,a,b,c,d,e,f,g,h,0
x = 2, y = 2, rule = SlideRuler
E$CA!
Users browsing this forum: No registered users and 4 guests