Code Sketch


Turning Squares
By: Lalit Pant [2]
def squareTurn(n:Int){
    repeat(4) {
        forward(n)
        right()
    }
    turn(10)
}

def pattern(n: Int) {
    repeat(36) {
        squareTurn(n)
    }
}

clear()
setAnimationDelay(50)
setPenColor(blue)
pattern(100)