Code Sketch


srijan
By: Mulvery Convent School
Category: Art
clear()
setBackground(Color(204, 204, 255))
setSpeed(superFast)
setPenThickness(10)
setPenColor(black)
setFillColor(orange)
right(360,120)
right()
hop()
setPenThickness(6)
setPenColor(red)
left()
hop(40)
right(50)
forward(20)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(30)
forward(10)
right(40)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(30)
forward(30)
left(30)
forward(30)
right(20)
forward(20)
right(50)
forward(10)
right(10)
forward(10)
right(30)
forward(10)
right(10)
forward(10)
right(50)
forward(10)
right(30)
forward(20)
right(10)
forward(10)
left(30)
forward(10)
left(10)
forward(10)
left(10)
forward(35)
right(40)
hop(20)
setPenThickness(10)
right(360,2)
right(40)
hop(20)
right(360,2)
hop(20)
right(10)
right(360,3)
right(10)
hop(20)
right(360,4)
right()
right()
hop(50)
left(50)
hop(30)
right(360,1)
left(120)
hop(100)
left(10)
setPenThickness(6)
forward(20)
right(10)
forward(20)
right(20)
forward(10)
right(30)
forward(20)
right(40)
forward(20)
right(30)
forward(20)
right(10)
forward(10)
left(50)
forward(20)
right(10)
forward(30)
right(60)
forward(10)
right(30)
forward(20)
right(20)
forward(10)
right(30)
forward(20)
right(40)
forward(20)
right(40)
forward(20)
left(50)
forward(20)
right(10)
forward(20)
left(20)
forward(20)
hop(20)
right(20)
setPenThickness(10)
right(360,4)
right(60)
hop(30)
right(360,3)
right(40)
hop(20)
right(360,2)
hop(20)
right(360,2)
right(40)
hop(20)
right(360,1)
hop(40)
right()
right()
hop(200)
left(40)
hop(350)
right()
right(30)
setPenThickness(15)
setPenColor(red)
setFillColor(Color(204, 204, 255))
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10) 
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
left(120)
forward(10)
left(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(30)
left(10)
forward(30)
left(10)
forward(10)
right()
right(30)
hop(115)
forward(20)
right(10)
forward(20)
right(10)
forward(20)
right(20)
forward(20)
right(20)
forward(20)
right(20)
forward(20)
right(20)
forward(20)
right(20)
forward(20)
right(20)
forward(20)
right()
hop(200)
right(60)
hop(120)
right()
forward(10)
right(10)
forward(10)
right(10)
forward(10)
left(10)
forward(10)
left(10)
forward(10)
left(10)
forward(10)
left(10)
forward(10)
left(10)
forward(10)
left(10)
forward(10)
left(10)
forward(10)
left(10)
forward()
left()
left(40)
hop(60)
right(360,6)
left()
hop(450)
setPenThickness(5)
setPenColor(black)
setFillColor(brown)
left(65)
right(300,40)
right(30)
forward(40)
left()
setFillColor(red)
forward(10)
left()
forward(40)
left()
forward(10)
right()
right()
hop(10)
right()
hop(5)
setFillColor(brown)
left(80)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(120)
forward(10)
right(10)
forward(10)
right(10)
forward(15)
setFillColor(green)
left(140)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(120)
forward(35)
right(110)
hop(45)
right(30)
forward(10)
right(10)
forward(10)
left(10)
forward(10)
left(140)
forward(40)
left()
hop(250)
setFillColor(brown)
left(330)
right(300,40)
right(30)
forward(40)
left()
setFillColor(red)
forward(10)
left()
forward(40)
left()
forward(10)
right()
right()
hop(10)
right()
hop(10)
setFillColor(brown)
left(80)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(120)
forward(10)
right(10)
forward(10)
right(10)
forward(15)
setFillColor(green)
left(140)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(120)
forward(40)
right(110)
hop(45)
right(30)
forward(10)
right(10)
forward(10)
left(10)
forward(10)
left(140)
forward(40)
left()
hop(200)
setFillColor(brown)
left(320)
right(300,40)
right(30)
forward(40)
left()
setFillColor(red)
forward(10)
left()
forward(40)
left()
forward(10)
right()
right()
hop(10)
right()
hop(5)
setFillColor(brown)
left(80)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(120)
forward(10)
right(10)
forward(10)
right(10)
forward(15)
setFillColor(green)
left(140)
forward(10)
right(10)
forward(10)
right(10)
forward(10)
right(120)
forward(35)
right(110)
hop(45)
right(30)
forward(10)
right(10)
forward(10)
left(10)
forward(10)
left(140)
forward(40)
left()
left()
hop(350)
left()
hop(150)
right(85)
hop(40)
setPenFontSize(40) 
write(" Happy Diwali")
right(60)
hop(140)
right(40)
forward(250)
left()
left()
hop(250)
left()
setFillColor(yellow)
setPenThickness(15)
setPenColor(yellow)
hop(10)
right(360,2)
left()
hop(30)
right()
right(360,2)
left()
hop(30)
right()
right(360,2)
left()
hop(30)
right()
right(360,2)
left()
hop(30)
right()
right(360,2)
left()
hop(30)
right()
right(360,2)
left()
hop(30)
right()
right(360,2)
left()
hop(30)
right()
right(360,2)
left()
hop(30)
right()
right(360,2)
right(60)
hop(200)
setPenThickness(5)
setPenColor(black)
setFillColor(Color(153, 0, 0))
left(70)
left(180,30)
left()
forward(60)
right()
right()
hop(20)
left(70)
setFillColor(yellow)
forward(10)
right(10)
forward(10)
right(100)
forward(10)
right(10)
forward(12)
hop(50)
invisible()