Code Sketch


rainbow
By: Aasthajaiswal
Category: Art
clear()
setSpeed(fast)
setPenColor(Color(255, 51, 204))
setPenThickness(12)
right(180,30)
right()
hop(70)
right()

setPenColor(purple)
right(180,40)
right()
hop(90)
right()

setPenColor(blue)
right(180,50)
right()
hop(110)
right()

setPenColor(Color(0, 153, 0))
right(180,60)
right()
hop(130)
right()

setPenColor(yellow)
right(180,70)
right()
hop(150)
right()

setPenColor(orange)
right(180,80)
right()
hop(160)
right()

setPenColor(red)
right(180,80)