// changed at Wed Mar 13 2013 15:07:43 GMT-0700 (PDT) by Dan 
 
this.addScript(function filberts(ns) {
    // Four interlocking filberts
    var n2 = Math.pow(2,n-1);
    var morphs = [ ];
    for (var i = 0; i < 4; i++) {
        morphs.push(this.filbert(n, s, Color.wheel(4)[i]));
        this.go((n2 - 1)*s); 
        this.turn(-90); 
        this.go(n2 * s); 
        this.turn(180);
    }
    return morphs; 
}).tag([]);
X
<lively.morphic.Path#3DE75... - Pen>
Tag:
run
save
Tests

drawLineSoFar
filbert
filberts
fillLines
go
goto
hilbert
makeTracks
makeWorldTracks
newLine
Scripts
-
+
-
Connections
+
-- ALL --
all
ObjectEditor
X

Menu