Code Sketch


Square Spiral
By: Kanchan Samant
clear()
setBackgroundV(cyan,blue)
setSpeed(fast)
val c = ArrayBuffer(green, orange)
repeatFor(10 to 250){ i =>
    setPenColor(c(i%2))
forward (i)
right (91)
}