Code Sketch
Square Spiral
By: Lalit Pant
Category: Art
0


0




def spiral(size: Int, angle: Int) { if (size <= 300) { forward(size) right(angle) spiral(size + 2, angle) } } clear() setPenColor(darkGray) setFillColor(green) setBackgroundH(Color(255, 0, 0), yellow) setPenThickness(1) setAnimationDelay(0) spiral(0, 91)





Your Comment:





Login to post a comment