Code Sketch


Saurya pratigya
By: Mulvery Convent School
Category: Art
clear()
//showAxes()
setPosition(60, -100)
setBackground(Color(153, 255, 255))
setPenColor(black)
setSpeed(fast)
setFillColor(red)
right(180)
repeat(19){
    forward(9)
    right(10)
}
right(80)
forward(103)
right(180)
hop(66)
right()
setFillColor(yellow)
setPenColor(yellow)
repeat(7){
    forward(7)
    right(7)
}
right(93)
repeat(7){
    forward(7)
    right(7)
}
right(18)
hop(30)
setPenThickness(1)
setPenColor(black)

repeat(16){
    right(23)
    repeat(4){
        forward(15)
        right
    }
}
right(100)
hop(458)
left(137)
hop(-20)
setPenThickness(3)
setPenColor(pink)
forward(89)
setPenThickness(1)
setPenColor(black)
repeat(16){
    right(23)
    repeat(4){
        forward(10)
        right
    }
}
left(150)
hop(110)
right(142)
setPenThickness(3)
setPenColor(pink)
forward(89)
setPenThickness(1)
setPenColor(black)
repeat(16){
    right(23)
    repeat(4){
        forward(10)
        right
    }
}
left(110)
hop(450)
right(103)
setPenThickness(3)
setPenColor(pink)
forward(89)
setPenThickness(1)
setPenColor(black)
repeat(16){
    right(23)
    repeat(4){
        forward(10)
        right
    }
}
left(150)
hop(100)
right(140)
setPenThickness(3)
setPenColor(pink)
forward(89)
setPenThickness(1)
setPenColor(black)
repeat(16){
    right(23)
    repeat(4){
        forward(10)
        right
    }
}
right(80)
hop(350)
right(94)
hop(60)
setPenFontSize(30)
 write("Happy Diwali")
left(124)
hop(250)
right(123)
setPenFontSize(12)
write("May this auspicious occasion light up your life")
right(180)
hop(20)
right(180)
write("with happiness , joy and peace")
invisible()