Code Sketch


rakhi 2
By: Aasthajaiswal
Category: Art
cleari()
setSpeed(superFast)
zoom(0.8)
setBackground(Color(219, 141, 203))
setPenColor(orange) 
repeat(18) {
    setFillColor(yellow)
    repeat(5){
    forward(100)
    right(72)
    right(160)}
}
jumpTo(-50, 40)
repeat(34) { 
    setPenColor(white)
    forward(20)
    left(1)
    right(3)
    right(40)
    setPenColor(red.fadeOut(0.9))
    dot(30)
}
left(20)
hop(75)
setFillColor(yellow.fadeOut(0.4))
setPenColor(red.fadeOut(0.7))
def q(){
    repeat(36){
    right(50)
        repeat(8) {
        forward(4.5)
        right(36)
        
    }
}
}

q()
right(70)
right(165)
hop(120)
q()
right()
hop(48)
setPenColor(red)
setPenThickness(7)
forward(110)

setPenThickness(2)
setPenColor(white)
setHeading(270)
savePosHe()
forward(8)
right(45,20)
circle(4)
restorePosHe()
setHeading(250)
savePosHe()
forward(7)
right(45,30)
circle(4)

restorePosHe()
right(127)
hop(300)
setPenColor(red)
setPenThickness(7)
forward(110)

setPenThickness(2)
setPenColor(white)
setHeading(270)
savePosHe()
forward(8)
right(45,20)
circle(4)
restorePosHe()
setHeading(250)
savePosHe()
forward(7)
right(45,30)
circle(4)
right(210)
hop(280)
right()
hop(29)
right(175)
setPenFont(Font("Cambria", 25))
        // write with Cambria font
write("HAPPY RAKSHA BANDHAN")
// aastha 8
right()
hop(40)
right()
hop(70)
right(180)
setPenFont(Font("Cambria", 15))
write("Brother and sister, together as friends, ready to ")
 def w (){
    right(180)
hop(40)
right(180)
 }
 w()
 
write("to face whatever life sends.Joy and laughter or tear")
w()
write("and strife, holding hands tightly as we dance through life")