Code Sketch


national solar mission (cvn school)
By: CVN inter college
Category: Programming
clear()
setSpeed(superFast)
setPenColor(black)
setBackgroundH(blue,white)
setPenThickness(2)
setFillColor(green)
right()
hop(-400)
left()
hop(-300)
forward(300)
right()
forward(900)
right()
forward(300)
right()
forward(900)
hop(-30)
right()
hop(400)
setPenThickness(2)
setPenColor(yellow)
setFillColor(yellow)
repeat(20) {
    forward(70)
    right(95)
        
    }
setPenColor(black)
hop(300)
right()
hop(200)
right()
right(120)
setFillColor(blue)
forward(150)
left(120)
forward(100)
left(60)
forward(150)
left(120)
forward(100)
hop(-20)
left()
hop(-20)
forward(20)
right()
hop(10)
left()
hop(-20)
forward(20)
right(80)
hop(40)
left(50)
forward(145)
right(60)
forward(100)
right(120)
forward(150)
right(60)
forward(100)
hop(-80)
right()
hop(-20)
forward(20)
right()
hop(10)
left()
hop(-20)
forward(20)
right(80)
hop(40)
left(50)
forward(150)
right(60)
forward(100)
right(120)
forward(150)
right(60)
forward(100)
hop(-80)
right()
hop(-20)
forward(20)
right()
hop(10)
left()
hop(-20)
forward(20)
right()
hop(-10)
left(60)
forward(150)
left(120)
hop(20)
left(60)
forward(150)
right(60)
hop(20)
right(120)
forward(150)
left(120)
hop(20)
left(60)
forward(150)
right(55)
hop(70)
right(125)
forward(150)
left(120)
hop(20)
left(60)
forward(150)
right(60)
hop(20)
right(120)
forward(150)
left(120)
hop(20)
left(60)
forward(150)
right(60)
hop(60)
right(120)
forward(145)
left(120)
hop(20)
left(60)
forward(145)
right(55)
hop(20)
right(125)
forward(150)
left(120)
hop(20)
left(60)
forward(150)
right(90)
hop(40)
setPenColor(yellow)
forward(150)
right()
hop(20)
right()
forward(150)
left()
hop(20)
left()
forward(150)
right(170)
hop(250)
left(45)
hop(18)
setPenColor(red)
forward(32)
right(10)
hop(340)
right(5)
hop(100)
left()
setFillColor(noColor)
setPenColor(black)
forward(150)
right()
forward(50)
right()
forward(150)
hop(-130)
right()
hop(-40)
forward(130)
left()
forward(20)
circle(15)
left()
hop(50)
right()
circle(15)
left()
hop(50)
right()
circle(15)
hop(-20)
left()
hop(30)
right()
forward(20)
right(58)
setPenColor(red)
forward(390)
hop(-390)
right(30)
hop(55)
left(30)
forward(250)
hop(-250)
right(30)
hop(50)
left(30)
forward(200)
right(25)
hop(100)
forward(30)
left(42)
hop(25)
left(135)
forward(30)
hop(-300)
left(110)
hop(180)
right(155)
setPenColor(yellow)
forward(140)
right()
hop(20)
right()
forward(140)
right(190)
hop(220)
right(50)
hop(20)
left()
setPenColor(black)
setFillColor(brown)
forward(40)
right()
forward(10)
right()
forward(40)
right()
forward(10)
right()
hop(130)
forward(40)
right()
forward(10)
right()
forward(40)
right()
forward(10)
right()
hop(120)
left(13)
hop(10)
forward(40)
right()
forward(10)
right()
forward(40)
right()
forward(10)
setPenColor(red)
hop(300)
left()
hop(300)
right()
hop(-20)
setFillColor(noColor)
setPenThickness(4)
forward(40)
right(140)
forward(50)
left(140)
forward(40)
hop(-40)
right()
hop(10)
left()
forward(40)
right()
forward(20)
right()
forward(40)
hop(-20)
right()
forward(20)
hop(-20)
right()
hop(20)
right()
hop(10)
forward(40)
hop(-20)
right()
forward(40)
left()
hop(25)
left()
forward(40)
right()
hop(10)
forward(25)
right()
forward(40)
right()
forward(25)
right()
forward(40)
hop(-40)
right()
hop(35)
left()
forward(40)
right(140)
forward(50)
left(140)
forward(40)
hop(-40)
right()
hop(10)
left()
forward(40)
right()
forward(20)
right()
forward(40)
hop(-20)
right()
forward(20)
hop(-20)
right()
hop(20)
right()
hop(10)
right()
forward(40)
left()
forward(25)
hop(30)
forward(20)
left()
forward(20)
left()
forward(20)
right()
forward(20)
right()
forward(20)
hop(10)
forward(25)
right()
forward(40)
right()
forward(25)
right()
forward(40)
right()
hop(35)
right()
forward(40)
left()
forward(20)
hop(10)
left()
forward(40)
right()
forward(20)
right()
forward(40)
hop(-20)
right()
forward(20)
hop(-20)
right()
hop(-20)
right()
hop(10)
left()
forward(40)
right()
forward(20)
right()
forward(20)
right()
forward(20)
left(135)
forward(30)
right(45)
hop(70)
right()
hop(200)
right()
forward(40)
right(140)
forward(30)
left(110)
forward(30)
right(150)
forward(40)
left()
hop(10)
left()
forward(40)
hop(-40)
right()
hop(10)
forward(20)
left()
forward(20)
left()
forward(20)
right()
forward(20)
right()
forward(20)
right()
hop(40)
left()
hop(10)
forward(20)
left()
forward(20)
left()
forward(20)
right()
forward(20)
right()
forward(20)
hop(10)
right()
forward(40)
left()
hop(10)
left()
forward(40)
right()
forward(25)
right()
forward(40)
right()
forward(25)
hop(-35)
right()
forward(40)
right(140)
forward(50)
left(140)
forward(40)
hop(10)
left()
forward(450)
hop(-180)
right()
hop(-140)
right()
hop(-15)
setPenColor(red)
forward(30)
left()
hop(80)
setPenColor(red)
right()
hop(20)
forward(250)
hop(-13)
right()
hop(85)
setPenColor(black)
setPenThickness(2)
right(100)
forward(100)
left(65)
hop(15)
left(115)
forward(100)
right(115)
hop(15)
right(65)
forward(105)
left(60)
hop(15)
left(120)
forward(100)
right(110)
hop(15)
right(70)
forward(105)
left(60)
hop(15)
left(120)
forward(100)
right(115)
hop(15)
right(65)
forward(100)
left(55)
hop(15)
left(123)
forward(100)
hop(-125)
right(120)
hop(10)
right(60)
forward(105)
right(125)
hop(20)
right(55)
forward(100)
left(55)
hop(20)
left(125)
forward(100)
right(123)
hop(20)
right(58)
forward(100)
left(70)
hop(20)
left(110)
forward(100)
right(120)
hop(20)
right(60)
forward(100)
left(65)
hop(15)
left(115)
forward(100)
hop(20)
left(55)
hop(5)
right(55)
forward(100)
left(55)
hop(20)
left(125)
forward(100)
right(120)
hop(20)
right(60)
forward(100)
left(55)
hop(20)
left(125)
forward(100)
right(110)
hop(20)
right(70)
forward(100)
left(60)
hop(20)
left(120)
forward(100)
right(120)
hop(20)
right(60)
forward(100)
hop(-630)
right(80)
hop(200)
left(35)
hop(83)
right(180)
left(20)
forward(60)
left(73)
forward(60)
hop(-60)
setPenThickness(4)
right(125)
forward(10)
left()
hop(10)
right()
hop(10)
right(180)
setFillColor(yellow)
setPenColor(yellow)
circle(10)
right(180)
left(45)
setPenColor(red)
hop(10)
forward(6)
left(80)
hop(-10)
right(80)
forward(6)
left(80)
hop(-10)
right(80)
hop(-4)
forward(7)
hop(-5)
right(45)
right()
hop(5)
left()
forward(8)
left(45)
hop(-10)
right()
hop(-5)
forward(7)
right()
hop(10)
left()
hop(-5)
forward(6)
right()
hop(10)
left()
hop(-5)
forward(5)
right(30)
hop(294)
left(70)
hop(64)
right(5)
setPenColor(black)
setPenThickness(2)
forward(15)
invisible