Code Sketch


A Cycle
By: Amol naik
Category: Programming
clear()

setBackground(green)
initRandomGenerator(10000000)
setPenColor(black)
setPenThickness(10)
setFillColor(randomColor.fadeOut(0.5))
setSpeed(fast)


right(20,90)
forward(150)
right(130)
forward(200)
left(122)
forward(180)
left(230)
forward(170)
right()
circle(15)
right(90)
hop(35)
left()
circle(55)
right(20)
hop(135)
circle(30)
hop(152)
right(-65)
hop(20)
right(55)
circle(15)
right(125)
hop(35)
left()
circle(55)
right(160)
hop(140)
right(7)
forward(150)
right(90)
hop(25)
right(75)
forward(137)
right(95)
forward(100)
left()
forward(15)
forward(-15)
left()
forward(135)
left()
forward(15)
left()
hop(250)
left()
hop(115)
right()
forward(40)
right(130)
forward(50)
forward(-80)
right(265)
forward(20)
right(100)
hop(80)
right(265)
forward(10)
forward(-15)
right(160)
hop(35)
left(105)
hop(150)
left()
forward(30)
setFillColor(black)
left()
forward(50)
right(150)
forward(80)
right(120)
forward(40)
right()
forward(10)