Code Sketch


national solar mission (cvn school)
By: CVN inter college
Category: Programming
clear()
setSpeed(superFast)
setBackgroundV(green,red)
setFillColor(black)
setPenColor(yellow)
forward(20)
hop(-50)
right()
hop(25)
left()
forward(50)
right()
forward(60)
left()
forward(60)
left()
forward(180)
left()
forward(60)
left()
forward(60)
right()
forward(50)
hop(-50)
left()
forward(100)
left()
forward(60)
left()
hop(30)
left()
forward(60)
right()
hop(30)
right()
forward(60)
left()
hop(30)
left()
forward(60)
right()
hop(30)
right()
forward(60)
left()
hop(40)
left()
hop(30)
left()
forward(180)
left()
hop(200)
right()
setFillColor(yellow)
right(360,50)
hop(100)
right()
hop(400)
setFillColor(pink)
repeat(4){
    left() 
    forward(150)
}
hop(-150)
left(135)
hop(-40)
setFillColor(brown)
forward(150)
right()
forward(150)
right(90)
hop(170)
right(135)
forward(80)
right()
forward(50)
    right()
    forward(80)
    left()
    hop(-600)
    setFillColor(pink)
    left()
    repeat(4){
    forward(150)
    right()
    }
hop(150)
right(45)
hop(-40)
setFillColor(brown)
forward(150)
right()
forward(150)
hop(-105)
right(135)
left()
hop(200)
right(180)
forward(90)
left()
forward(60)
left()
forward(80)
left()
hop(160)
left()
hop(160)
left(135)
setPenColor(black)
forward(48)
hop(-48)
left(135)
hop(180)
right(30)
forward(90)
left(-80)
hop(200)