Code Sketch


Diwali
By: Sanjay kumar
Category: Art
clear()
setSpeed(medium)//> error: not found: value setSpead

val cb = canvasBounds
val clr = cm.radialGradient(
0, 0, red,
cb.height /2, yellow,
true
)
setBackground(clr)
repeat(2){
setFillColor(brown)
right(180)
right(180,100)
right(120)
left(100,69)
right(140)
left(100,69)
hop(-110)
left(62)
hop(90)
right(28)
setFillColor(yellow)
left(60,110)
left(120)
left(60,110)
right(35)
hop(135)
left()
hop(220)
left()
}
hop(200)
left(90)

right(90)
setFillColor(brown)
left(180)
right(180,100)
right(120)
left(100,69)
right(140)
left(100,69)
hop(-110)
left(62)
hop(90)
right(28)
setFillColor(yellow)
left(60,110)
left(120)
left(60,110)
left(150)
hop(150)
left()
hop(350)
right()
setPenThickness(10)     
write("HAPPY DIWALI- The Festival Of Light")