Code Sketch


Srishti
By: Mulvery Convent School
clear()
setBackground(Color(153, 255, 255))
setSpeed(superFast)
setPenThickness(15)
forward(50)
left()
forward(80)
right()
forward(50)
left()
hop()
left()
hop(100)
left()
hop()
forward(40)
left()
forward(100)
right()
forward(40)
hop(100)
right()
hop(200)
right()
hop(200)
right()
hop(125)
right()
hop(25)
right(360,2)
hop()
hop(30)
right(360,2)
left()
hop(45)
right(360,2)
left()
hop(40)
right(360,2)
hop(100)
hop()
right()
hop(100)
left()
setPenThickness(5)
setPenColor(black)
setFillColor(yellow)
forward(30)
right(120)
forward(30)
right(120)
forward(30)
right(30)
forward(40)
right()
forward(30)
right()
forward(40)
left()
left()
hop()
left()
hop()
right()
hop(5)
forward(40)
right()
right()
hop(40)
left()
forward(25)
right()
hop(15)
right()
forward(25)
hop()
right() 
hop(100)
right()
hop(80)
right()
hop(80)
left()
forward(50)
right(120)
forward(50)
right(120)
forward(50)
right(30)
hop(50)
right()
hop(60)
right()
hop(100)
right()
hop()
right()
hop(250)
left()
hop(200)
left(90)
setPenColor(blue)
setPenThickness(10)

setPenColor(black)
setSpeed(fast)
setFillColor(white)
right(90)
repeat(36) {
    right(10)
    forward(10)
}
setFillColor(green)
repeat(18) {
    right(10)
    forward(10)
}
setFillColor(brown)
repeat(18) {
    right(10)
    forward(10)
}
right()
hop(40)
left()
hop(10)
setPenThickness(5)
setPenColor(black)
setFillColor(black)
repeat(36) {
    right(10)
    forward(1)
}
right(166)
hop(36)
repeat(36) {
    right(10)
    forward(1)
}
left(89)
hop(20)
right(23)
repeat(18) {
    left(10)
    forward(4)
}
hop()
hop()
hop(20)
left()
hop()
left()
left()
hop(100)
left()
hop(200)
right()
hop(100)
setPenColor(red)
setPenThickness(10)
setFillColor(yellow)
right(360,50)
right()
hop()
left()
setPenThickness(5)
setPenColor(black)
forward(40)
right()
forward(60)
right()
forward(40)
right()
forward(60)
right()
hop()
left()
forward(20)
left()
hop(40)
left()
hop(20)
right()
forward(20)
left()
forward(40)
left()
forward(20)
left()
forward(40)
forward(20)
left()
hop()
left()
hop()
hop()
setPenColor(red)
setPenThickness(10)
left()
forward(90)
right()
hop(150)
right(360,50)
setFillColor(yellow)
right()
hop()
left()
hop()
setPenThickness(5)
setPenColor(black)
setFillColor(yellow)
right()
forward(70)
right(120)
forward(70)
right(120)
forward(70)
right()
hop(50)
right()
hop(50)
right(120)
setPenThickness(10)
setPenColor(red)
forward(95)
right()
hop(120)
right(360,50)
right()
right()
hop()
left()
hop(20)
setPenThickness(5)
setPenColor(black)
setFillColor(yellow)
forward(40)
left()
forward(60)
left()
forward(40)
left()
forward(60)
forward(20)
right()
right()
hop(15)
right(40)
forward(60)
left(110)
forward(40)
hop()
right()
right()
hop(110)
right()
right(70)
setPenThickness(10)
setPenColor(red)
forward(95)
hop()
hop()
left()
 hop(450)
 setPenThickness(5)
 setPenColor(black)
 setFillColor(Color(255, 51, 0))
right(170)
right(180,60)
right()
forward(120)
left()
left()
hop(80)
setFillColor(yellow)
right(120)
forward(10)
 forward(30)
right(110)
forward(15)
right(30)
forward(20) 
right(10)
setFillColor(Color(255, 51, 0))
hop()
left(180,40)
left()
forward(80)
right()
right()
hop()
left()
setFillColor(yellow)
right(40)
forward(20)
right(80)
forward(25)
hop()
left(205)
hop(400)
right(85)
setPenFontSize(40)
write("Happy Diwali")
left()
hop(100)
left()
hop(120)
right()
hop(100)
right()
setPenFontSize(20)
write("Say No Because" )
left()
left()
hop(30)
right()
right()
write("It Causes Air And")
left()
left()
hop(30)
right()
right()
write("Noise Pollution")
left()
left()
hop(230)
left()
hop(150)
left()
write(" Please Save The Earth  ")
left()
left()
hop(30)
right()
right()
write("And Let The Earth")
left()
left()
hop(30)
right()
right()
write("Be Pollution Free")
right()
hop(330)
left()
hop(150)
write("Prevent Our ")
right()
right()
hop(30)
left()
left()
write(" Earth From ")
right()
right()
hop(30)
left()
left()
write(" These")
invisible()