Code Sketch


SAY NO TO AIR POLLUTION
By: sharik ahmad dar
Category: Programming
cleari()
setBackground(Color(0, 0, 255, 103))
setPosition(-200, 0)

setPenColor(black)
setSpeed(fast)
setFillColor(Color(0, 0, 204))
forward(20)
right(90,50)
forward(20)
left(35)
forward(60)
right(35)
forward(200)
right(35)
forward(80)
left(35)
forward(60)
right(90,90)
forward(20)
right()
forward(80)
right()
setFillColor(Color(78, 110, 63, 219))

left(40,40)
left(40,40)
left(40,40)
left(40,40)
left(40,40)
left(40,40)
left(40,40)   
left(40,40)
left(40,40)
left(40,40)
left(40,40)
left(40,40)
left(40,40)
hop(10)
right(70)
forward(240)
right()
left(40,40)
left(40,40)
left(40,40)
left(40,40)
left(40,40)
left(40,40)
left(40,40)
left(40,40)
left(40,40)
left(40,40)
left(40,40)
left(40,40)
left(40,40)
hop(10)
right(70)
forward(22)
right(40,40)
left()
turnWest()
forward(50)
right()
forward(20)
right()
forward(45)
turnNorth()
forward(12)
hop(-50)
left()
hop(80)
right()
hop()
turnWest()




hop()
hop()

right(36,10)
right(35)
right(55,10)
left(65)
right(60,10)
left(35)
right(75,10)
right(65,15)
left(45,20)
right()
hop(20)
right()
left(45,40)
right(80,10)
right(115,10)
hop(27)
left(45)

hop(200)
setPenFont(Font("impact", 40))
turnNorth()
write("SAY NO TO AIR POLLUTION")
hop(-300)
right()
hop(50)
left()
hop()
hop()
hop()
right(94)
hop(103)
repeat(8){
    forward(40)
    hop(-40)
    right(45)}
    left(3)
    hop(320)
    repeat(8){
    forward(39)
    hop(-39)
    right(45)}
    left()
  hop(100)  
  left()
  hop()
  right()
  hop()
  turnSouth()
  hop(14)
  forward(10)
  right()
  forward(315)
  right()
  forward(23)
  hop(100)
  right()
  hop(150)
  right()
  hop(69)
  forward(150)
  left()
  hop(150)
  left()
  hop(150)
  right()

 right()
 left()
 hop(20)
 right()
 hop(40)
 right(5)

 left(3)
 hop(10)



 hop(150)
 setFillColor(Color(102, 102, 102))
right()
forward(900)
left()
forward(300)
left()
forward(1200)
 left()
 forward(300)
 left()
 hop(-20)
 forward(320)
left()
hop(20)
setPenColor(Color(102, 102, 102))
circle(30)
savePosHe()
hop(140)
right()
hop(-300) 
setFillColor(white)
  repeat(2) {
      forward(1200)
      right()
      forward(50)
      right()
  }
   setFillColor(black) 
  restorePosHe()
  hop(-115)
  
    right()
    hop(-130)
    setPenColor(black)
    circle(20)
     setPenColor(Color(255, 255, 255, 0))
     setFillColor(Color(255, 255, 255, 188))
right(180)
hop(11)

   right(10)
    forward(200)
    right(-10)
    right()
forward(30)
left(-100)
forward(180)
left(-5)
forward(8)

turnNorth()
setFillColor(Color(255, 0, 0))
hop(250)
right()
hop(50)
setPenColor(red)
circle(40)
left()