Based primarily on Discord user CatIsFluffy's original rule, CW, for "ClockWise". I made it fully isotropic using 2 signal types instead of 1.
Someone already uploaded an old version of this rule onto LifeWiki when it was posted on Discord, still under development.
I'll replace that myself when LifeViewer starts accepting raw rule tables.
Otherwise, I'd have to use dual boot to run my slower Linux to use Python for ruletabletotree.py, after moving the rule file itself somewhere safe and copying the rule, renaming it to a .table, removing the comments and changing the spaces into commas. Then after I get the tree, I would have to copy the rule tree into LifeWiki, delete the .table, and finally move the original rule back into my rules folder, replacing the tree. Tedious.
Anyway here's the rule:
Code: Select all
@RULE Bend5
@COLORS
0 0 0 0 Space
1 0 0 255 Wire
2 128 128 255 Tail
3 255 0 0 False
4 0 255 0 True
@TABLE
n_states:5
neighborhood:Moore
symmetries:rotate4reflect
var a{0,1,2,3,4}
var b=a
var c=a
var d=a
var e=a
var f=a
var g=a
var h=a
var p{0,1, , , }
var q=p
var r=p
var s{ , , ,3,4}
var t=s
var u=s
var w{ ,1,2,3,4}
var x=w
#SPACE: 0
# toggle
0 a b 0 2 2 2 0 h 4
0 2 2 0 d e f 0 h 3
0 4 3 c d e f g 3 1
# extend
0 4 4 2 d e f g h 1
0 0 b 0 4 1 4 0 h 4
# retract
0 0 b 2 3 1 3 2 h 2
#WIRE: 1
# toggle
1 3 0 0 0 4 f 0 h 2
1 4 3 c d e f g 3 0
# andnot
1 3 0 3 0 w 0 0 0 3
1 3 0 4 0 w 0 0 0 3
1 4 0 3 0 w 0 0 0 4
1 4 0 4 0 w 0 0 0 3
# or
1 3 0 3 0 w 0 1 0 3
1 3 0 4 0 w 0 1 0 4
1 4 0 4 0 w 0 1 0 4
# nor
1 0 2 3 0 w 0 3 2 4
1 0 2 3 0 w 0 4 2 3
1 0 2 4 0 w 0 4 2 3
# cancel
1 s b s d e f g h 1
1 s t 2 d e f u h u
1 s t 2 d u f g h u
1 s t c d e f g h 1
# basic
1 s b c d e f g h s
#TAIL: 2
# nor
2 1 2 4 2 1 1 0 1 0
# retract
2 3 2 1 d 0 0 0 0 0
# toggle
2 2 0 0 0 2 f g h 2
# basic
2 a b c d e f g h 1
#SIGNAL: s
# toggle
4 3 b 2 d 3 f g h 0
# extend
4 4 2 0 0 0 0 0 2 1
4 0 b 2 0 4 0 2 h 0
# retract
3 2 1 2 1 2 0 0 0 0
# basic
s 2 b c d e f g h 2
s a b c d e f g h 0
Code: Select all
x = 125, y = 102, rule = Bend5
53.2A3.A2.3A$53.A.A.A.A2.A$53.A.A.A.A2.A$53.A.A.A.A2.A$53.A.A2.A3.A$
72.24A$57.3A11.2A22.A$44.4ABD4ABC2A.37A$57.3A4$53.2A3.A2.2A$53.A.A.A.
A.A.A$53.A.A.A.A.2A$53.A.A.A.A.A.A$53.A.A2.A2.A.A2$32.4ABD4ABD4ABC4AB
C3A12.25A$58.15A22.A$32.4ABD4ABC4ABD4ABC3A13.24A4$56.A2.2A$55.A.A.A.A
$55.A.A.2A$55.A.A.A.A$56.A2.A.A2$58.A11.25A$29.4ABD4ABC4ABD4ABC19A22.
A$58.A12.24A$31.4ABD4ABD4ABC4ABC4A4$53.A2.2A2.2A$52.A.A.A.A.A.A$52.3A
.A.A.A.A$52.A.A.A.A.A.A$52.A.A.A.A.2A2$31.4ABD4ABD4ABC4ABC4A$58.A11.
25A$57.15A22.A$58.A12.24A$31.4ABD4ABC4ABD4ABC4A4$48.A2.2A2.2A2.2A3.A
2.3A$47.A.A.A.A.A.A.A.A.A.A2.A$47.3A.A.A.A.A.A.A.A.A2.A$47.A.A.A.A.A.
A.A.A.A.A2.A$47.A.A.A.A.2A2.A.A2.A3.A$70.25A$32.4ABD4ABD4ABC4ABC16A
22.A$58.A12.24A$58.A$35.4ABD4ABC4ABD4ABC4$53.A.A2.A2.2A$53.A.A.A.A.A.
A$49.3A2.A2.A.A.2A2.3A$53.A.A.A.A.A.A$53.A.A2.A2.A.A$70.25A$32.4ABD4A
BD4ABC4ABC16A22.A$57.2A12.24A$58.A$35.4ABD4ABC4ABD4ABC4$44.2A.2A3.A3.
2A2.2A.3A.2A3.2A$41.A.A3.A.A.A.A.A3.A4.A2.A.A.A3.A$41.A.A3.2A2.A.A2.A
3.A3.A2.A.A.A.A.A$41.A.A3.A.A.A.A3.A3.A2.A2.A.A.A.A.A$44.2A.A.A2.A2.
2A2.2A2.3A.A.A2.2A2$71.54A$70.2A52.A$58.67A$58.A$57.2A3.3A.59A$4A2B4A
2B4A2B4ABD4ABD4ABD4ABC4ABC4ABC9A.3A3.2A52.A$56.A.2A11.54A$56.3A$58.A
12.54A$58.A11.2A52.A$5.4A2B4ABD4ABC4A2B4ABD4ABC4A2B4ABD4ABC3.63A$62.A
$62.A.3A.57A$4A2B4A2B4A2B4ABD4ABD4ABD4ABC4ABC4ABC9A.A.3A.2A52.A$64.A
6.54A$64.A$64.A$64.A$5.4A2B4ABD4ABC4A2B4ABD4ABC4A2B4ABD4ABC6A!
Note that the signal crossing (only!) fails on alternate inputs.
The main quirk of this rule is how construction works.
The construction "arm" is actually more of a pseudopod. A line of wire that can wrinkle, stretch, and bend however the green signals instruct it to. It's weird, and pretty fun to see.
Code: Select all
x = 56, y = 3, rule = Bend5
ABD5ABD7ABDABDABDABDABD7ABDABDABDABDABD4A$55.A$8.ABDABDABD5ABDABDABDA
BDABDABD5ABDABDABD4A!
Code: Select all
x = 64, y = 29, rule = Bend5
ABD5ABD7ABDABDABDABDABD7ABDABDABDABDABD4A$55.A$9ABDABDABD5ABDABDABDAB
DABDABD5ABDABDABD4A4$29.3B.2B2.B.B.3B.2B3.2B.3B$30.B2.B.B.B.B.B3.B.B.
B3.B$30.B2.B.B.B.B.2B2.2B3.B2.2B$30.B2.B.B.B.B.B3.B.B3.B.B$29.3B.B.B
2.B2.3B.B.B.2B2.3B2$ACB5ACB7ACBACBACBACBACB7ACBACBACBACBACB7A2.3A$58.
4A.A$9ACBACBACB5ACBACBACBACBACBACB5ACBACBACB5A6.A$56.A.3A.2A$56.3A.3A
2$30.3B.B3.3B.2B4.B.B.B.B$30.B3.B4.B2.B.B3.B.B.B.B$30.2B2.B4.B2.2B5.B
3.B$30.B3.B4.B2.B5.B.B2.B$30.B3.3B.3B.B5.B.B2.B2$BCABCABC5ABCABCABCAB
CABCABC5ABCABCABC16A2.3A$58.4A.A$BCABCABCABCABC7ABCABCABCABCABC7ABC5A
BC6A6.A$56.A.3A.2A$56.3A.3A!
Code: Select all
x = 97, y = 5, rule = Bend5
19ABDABDABDABDABD27ABDABDABDABDABD16A2.3A.A$89.4A.A.A$ABC13ABC9ABC3AB
C5ABCABC13ABC9ABC3ABC5ABC6A6.A.A$87.A.3A.2A.A$87.3A.3A2.A!