Code Sketch


HAPPY DUSSHERA
By: Amol naik
Category: Art
DONT COPY......
CODE IS THERE....

clear()
setPenThickness(5)
setSpeed(fast)
setPosition(0, -20)
setPenColor(black)
zoom(0.3)
setFillColor(Color(240, 64, 17, 211))    
setHeading(0)
savePosHe
forward(200)
setHeading(-90)
forward(250)
right(90,20)
forward(50)
right(90,50)
restorePosHe
forward(-50)
setHeading(-90)
forward(220)
left(90,50)
forward(30)
left(100,90)
forward(50)
setHeading(180)
hop(120)
setHeading(-90)
hop(155)
forward(30)
setFillColor(Color(213, 129, 38, 154))
setHeading(190)

right(25,150)
left(170,10)
left(45,150)
left(170,10)
setHeading(89)
forward(30)
setHeading(0)
hop(100)
setHeading(-90)
forward(30)
setHeading(180)
left(160,10)
left(45,150)
left(170,10)
right(25,150)
setHeading(90)
forward(30)
hop(268)
setHeading(0)
hop(29)
setHeading(90)
forward(130)
left(40,140)
setHeading(10)
right(10,640)
forward(130)
setHeading(-50)
left(8,190)
setHeading(0)
forward(40)
left(180,5)
forward(20)
forward(-20)
setHeading(0)

left(180,5)
forward(20)
forward(-20)
setHeading(0)

left(180,5)
forward(20)
forward(-20)
setHeading(0)

left(180,5)
forward(20)
forward(-20)
setHeading(0)
forward(-40)
setHeading(90)
forward(30)
left(180,5)
right(20,90)
setHeading(168)
left(15,940)
setHeading(180)
forward(200)
savePosHe
setHeading(-90)
hop(100)

right(5,1980)
restorePosHe
setPenColor(black)
setHeading(200)
forward(120)
left(30,150)
left(50,50)
setHeading(-30)
left(50,120)
right(10,920)
setHeading(-1)
forward(50)

left(180,6)
forward(20)
forward(-20)
setHeading(0)

left(180,6)
forward(20)
forward(-20)
setHeading(0)

left(180,6)
forward(20)
setHeading(15)
left(6,200)

left(180,6)
forward(40)
setHeading(190)
right(20,540)
setHeading(25)
hop(120)
setHeading(-90)
setFillColor(Color(213, 129, 38, 154))
setPenColor(Color(213, 129, 38, 154))
forward(55)
setHeading(0)
forward(65)
setHeading(90)
forward(60)
setPenColor(black)
setHeading(180)    
forward(65)   
setPenColor(Color(213, 129, 38, 154))
setHeading(-90)  
forward(65)
setHeading(182)
setPenColor(black)
right(15,420)
setPenColor(Color(213, 129, 38, 154))
setHeading(25)
forward(120)
setHeading(-90)
forward(60)
hop(50)
setPenColor(black)
forward(150)
setHeading(0)
forward(235)
setHeading(90)
forward(150)
setHeading(97)
left(30,140)
hop(59)
setHeading(260)
setFillColor(Color(251, 3, 4, 154))
setPenColor(Color(251, 3, 4, 154))
right(20,800)
setHeading(0)
forward(90)
setPenThickness(10)
setPenColor(Color(132, 1, 1))
setHeading(70)
left(20,755)
setHeading(180)
forward(50)
setPenThickness(5)
setHeading(15)
setFillColor(Color(213, 129, 38, 154))
setPenColor(black)
left(40,190)
left(40,120)
left(20,115)
setHeading(120)
left(40,120)
left(45,300)
left(65,100)
left(20,120)
setHeading(180)

def curve() {
    repeat(180) {
        left(1.1)
        forward(0.5)
    }
}

curve()
setHeading(-50)
savePosHe
left(50,150)
restorePosHe
setFillColor(noColor)
setHeading(-20)
right(180,10)
right(100,150)
right(50,150)
right(10,350)
forward(10)
setHeading(90)


def curve2(){
    repeat(180) {
        right(1)
        forward(1.3)
    }
}

curve2()
setHeading(0)
right(25,100)
right(25,45)

setHeading(-30)
right(100,135)

hop(-90)
setHeading(180)
hop(50)
hop(220)
setHeading(-90)
hop(50)
 setPenColor(white)
 dot(70)
setHeading(0)
hop(10)
setHeading(-90)
hop(10)
setPenColor(black)
 dot(40)
setHeading(0)
hop(100)



setHeading(90)
hop(10)
 setPenColor(white)
 dot(60)
setHeading(0)
hop(10)
setHeading(-90)
hop(10)
setPenColor(black)
 dot(30)
setHeading(-90)
hop(20)
setHeading(180)
hop(50)
setHeading(0)
right(220,10)
setHeading(-90)
hop(30)
setHeading(180)
hop(50)
setHeading(-20)
savePosHe
left(20,150)
left(20,100)
restorePosHe
setHeading(90)
hop(15)
setHeading(140)
hop(-10)
left(150,10)
hop(-120)
setHeading(60)
hop(20)
right(120,30)
setHeading(0)
hop(50)
setHeading(-90)
hop(20)
setHeading(60)
hop(20)
right(120,30)

setHeading(90)
hop(70)
setHeading(180)
hop(90)
setHeading(-90)
setPenColor(red)
forward(60)
left(180,10)
forward(60)
setHeading(180)
hop(10)
setHeading(-90)
hop(50)
dot(15)
setHeading(180)
hop(90)
setHeading(90)
hop(140)
setPenColor(Color(117,6, 11,214))
dot(20)
setHeading(-10)
hop(20)
dot(20)
setHeading(-10)
hop(20)

hop(200)
setHeading(90)
setPenFontSize(150)
write(" HAPPY DUSSHERA")
setPosition(170,-510)
setHeading(90)
setPenFontSize(50)
write(" AMOL S. NAIK, STD 8TH, MURGAON HIGH SCHOOL, SADA")