Code Sketch


Arohi,Simra
By: Mulvery Convent School
Category: Art
clear()
setSpeed(fast)
setBackground(Color(153, 255, 255))
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(77)
hop(270)
left(100)

setPenColor(pink)
setPenThickness(2)
setFillColor(red)
repeat(76){
    right(50)
        repeat(8) {
        forward(35)
        right(44
        )
    }
}
left(23)
hop(520)
left(110)
hop(-70)
setPenThickness(3)
setPenColor(black)
forward(60)
left(93)
setPenColor(yellow)
setFillColor(yellow)
repeat(36){
    forward(1)
    right(10)
}

left(44)
hop(85)
right(140)
setPenColor(black)
forward(60)
left(93)
setPenColor(pink)
setFillColor(pink)
repeat(36){
    forward(1)
    right(10)
}
left(44)
hop(85)
right(140)
setPenColor(black)
forward(60)
left(93)
setPenColor(magenta)
setFillColor(magenta)
repeat(36){
    forward(1)
    right(10)
}

hop(120)
left()
hop(20)
setPenFontSize(30)
setPenColor(black)
write("HAPPY DIWALI")
right(80)
hop(290)
right(97)
setPenThickness(3)
setPenColor(black)
forward(60)
left(93)
setPenColor(yellow)
setFillColor(yellow)
repeat(36){
    forward(1)
    right(10)
}
left(44)
hop(85)
right(140)
setPenColor(black)
forward(60)
left(93)
setPenColor(pink)
setFillColor(pink)
repeat(36){
    forward(1)
    right(10)
}
left(44)
hop(85)
right(140)
setPenColor(black)
forward(60)
left(93)
setPenColor(magenta)
setFillColor(magenta)
repeat(36){
    forward(1)
    right(10)
}