Code Sketch


Astitva
By: Mulvery Convent School
Category: Art
clear()
setSpeed(fast)
setPosition(-157, 40)
setPenColor(black)
setBackground(Color(255, 204, 255))
setFillColor(Color(151, 240, 240))// MAKING WITH HSL
// BANNER
repeat(2){
    right()
    forward(430)
    right
    forward(70)
   
}

hop(-33)
left()
forward(37)
left(139)
forward(20)
right( 82)
forward(44)
left(123)
forward(60)
left(133)
forward(20)
hop(-20)
right(44)
forward(13)
hop(70)
right()
hop(410)
right()
hop(25)
left()
hop(5)
forward(37)
right(139)
forward(20)
left(82)
    forward(44)
right(123)
forward(60)
right(133)
forward(20)
hop(-20)
left(44)
forward(13)
left()
hop(40)
right()
hop(70)
right(13)
setPenThickness(3)
forward(80)
setFillColor(red)
setPenThickness(2)
right(153)
forward(29)
right(110)
forward(14)
left(82)
hop(19)
right(180)
repeat(2) {
    forward(23)
    right
    forward(12)
    right
}
hop(-38)
right(70)
hop(30)
left(66)
// ROCKETS
setPenThickness(3)
forward(90)
setFillColor(red)
setPenThickness(2)
right(153)
forward(29)
right(110)
forward(14)
left(82)
hop(19)
right(180)
repeat(2) {
    forward(23)
    right
    forward(12)
    right
}
hop(-48)
left(109)
hop(310)
right(75)
hop(5)
setPenThickness(3)
forward(90)
setFillColor(red)
setPenThickness(2)
left(153)
forward(29)
left(110)
forward(14)
right(82)
hop(19)
left(180)
repeat(2) {
    forward(23)
   left
    forward(12)
    left
}
hop(-50)
left(70)
hop(50)
right(65)
setPenThickness(3)
forward(90)
setFillColor(red)
setPenThickness(2)
left(153)
forward(29)
left(110)
forward(14)
right(82)
hop(19)
left(180)
repeat(2) {
    forward(23)
   left
    forward(12)
    left
}


right(110)
hop(260)
left()
// BIG DIYA
setFillColor(red)
hop(10)
right(180)

repeat(19){
    forward(10)
    right(10)
}

right(84)
forward(20)
repeat(19){
    forward(3)
    right(4)
}
left(157)
repeat(19){
    forward(3)
    right(4)
}

forward(13)
hop(-79)
left()
hop(-7)
setFillColor(yellow)
setPenColor(yellow)
repeat(7){
    forward(10)
    right(7)
}
right(93)
repeat(7){
    forward(10)
    right(7)
}
repeat(19){
    forward(2
    )
    right(4)
}
right(40)
repeat(19){
    forward(3)
    right(4)
}
right(26)
hop(-110)
left(45)
setPenColor(black)
setPenFontSize(40)
// writtng
write("Happy Diwali")