Rule:SlideConstruct: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
Universal Construction and Computation within 4 states.
Universal Construction and Computation within 4 states.
Uses a Moore neighborhood.
Uses a Moore neighborhood.
by islptng


@TABLE
@TABLE
Line 24: Line 22:
var t = p
var t = p


# Debug
# Retract
0,3,1,3,a,3,b,c,d,0
3,2,2,0,0,0,a,3,0,2
0,2,1,3,3,a,b,c,d,0
0,1,2,3,0,a,b,c,d,0
0,3,0,1,2,a,b,c,0,0


# Original
# Turn
3,1,2,3,0,0,a,0,0,2
1,2,3,2,a,b,c,0,0,3
3,2,2,0,0,0,3,3,0,2
2,1,2,3,0,0,0,0,0,3
0,a,1,3,1,b,c,d,e,1
 
0,a,2,1,2,b,c,d,e,3
# Build
0,0,1,3,1,0,p,q,r,1
3,p,2,1,2,q,r,s,t,0
3,p,2,1,2,q,r,s,t,0
0,p,2,1,2,q,r,s,t,3
# Extend
0,3,0,2,2,3,1,0,0,3
0,3,0,2,2,3,1,0,0,3
0,1,3,2,0,0,a,b,c,3
 
2,0,1,3,0,2,a,b,c,3
# Gate
0,2,1,3,3,3,p,0,0,2
0,3,1,3,a,3,b,c,d,2
0,0,3,3,0,1,2,0,a,2
0,a,3,3,1,1,3,3,3,2
0,3,1,2,a,b,c,d,e,2
 
# Propagation
0,a,3,3,a,1,b,c,d,1
0,3,3,1,a,b,c,d,e,1
0,a,3,3,1,b,c,d,e,1
0,a,3,3,1,b,c,d,e,1
0,1,3,0,a,b,c,d,0,2
0,1,3,a,b,c,d,e,0,2
0,1,3,0,a,b,c,d,2,2
0,1,3,a,b,c,d,e,2,2
0,3,a,1,b,c,d,e,f,1
1,a,b,c,d,e,f,g,h,2
1,a,b,c,d,e,f,g,h,2
2,a,b,c,d,e,f,g,h,0
2,a,b,c,d,e,f,g,h,0
# Photon?
0,1,1,0,a,b,c,0,1,0
0,1,1,0,a,b,c,0,d,1


@COLORS
@COLORS

Latest revision as of 04:12, 13 December 2024

@RULE SlideConstruct

Universal Construction and Computation within 4 states. Uses a Moore neighborhood.

@TABLE n_states:4 neighborhood:Moore symmetries:rotate4reflect var a = {0,1,2,3} var b = a var c = a var d = a var e = a var f = a var g = a var h = a var p = {0,3} var q = p var r = p var s = p var t = p

  1. Retract

3,2,2,0,0,0,a,3,0,2

  1. Turn

1,2,3,2,a,b,c,0,0,3 2,1,2,3,0,0,0,0,0,3

  1. Build

0,0,1,3,1,0,p,q,r,1 3,p,2,1,2,q,r,s,t,0 0,p,2,1,2,q,r,s,t,3

  1. Extend

0,3,0,2,2,3,1,0,0,3

  1. Gate

0,3,1,3,a,3,b,c,d,2 0,0,3,3,0,1,2,0,a,2 0,a,3,3,1,1,3,3,3,2 0,3,1,2,a,b,c,d,e,2

  1. Propagation

0,a,3,3,a,1,b,c,d,1 0,3,3,1,a,b,c,d,e,1 0,a,3,3,1,b,c,d,e,1 0,1,3,a,b,c,d,e,0,2 0,1,3,a,b,c,d,e,2,2 1,a,b,c,d,e,f,g,h,2 2,a,b,c,d,e,f,g,h,0

  1. Photon?

0,1,1,0,a,b,c,0,1,0 0,1,1,0,a,b,c,0,d,1

@COLORS 0 0 0 0 1 255 255 0 2 0 0 255 3 255 255 255