Code Sketch
Mr Golden Sun
By: Vibha
Category: Art
4


0




clear setAnimationDelay(1) setPenColor(orange) setFillColor(yellow) def circle(n:Int, a:Int){ repeat(360/a){ forward(n) right(a)} } circle(2,1) penUp right forward(115) left def outerCircles(angTurn:Double, cirAng:Int, steps:Int ) { setPenColor(color(random(256), random(256), random(256))) setFillColor(color(random(256), random(256), random(256))) right(angTurn) repeat(12) {forward(steps) penDown circle(1,cirAng) penUp back(steps) left(30)} } outerCircles(0, 3, 150) outerCircles(4, 4, 190) outerCircles(2, 5, 220) outerCircles(1, 6, 245) invisible





Your Comment:





Login to post a comment