Code Sketch


Circle-Pattern
By: Nitin Mishra
Category: Art
def shape(n: Int) {
    circle(n)
}

clear()
setSpeed(fast)
setPenColor(black)
//setAnimationDelay(20)

val r = 6
val l = 1
val c = cm.radialGradient(0, 0, red.fadeOut(0.4), 200, yellow.fadeOut(0.4), true)
setBackground(c)
repeat(8) {
    repeat(r) {
        circle(100)
        right(l)
    }
    left(r * l)
    right(45)
}
invisible()