Code Sketch
Star_Ring
By: Nitin Mishra
Category: Art
0


0




def star() { repeat(5) { forward(50) right(144) forward(50) right(288) } } var clr = red.fadeOut(0.1) clear() setSpeed(superFast) left() hop(300) right() hop(50) setBackgroundH(Color(24, 71, 47), Color(186, 237, 136)) def block() { setFillColor(black) setPenColor(noColor) right(18) star() hop(100) } def block3() { clr = clr.spin(18) setFillColor(clr) setPenColor(noColor) right(18) star() hop(100) } def block2(){repeat(20) { block }} block2() left() hop(5) right() hop(5) repeat(20) { block3() } invisible()





Your Comment:





Login to post a comment