Code Sketch


Nazeef, Pratik
By: Mulvery Convent School
Category: Art
clear()
setSpeed(fast)
setPenColor(black)
setBackground(cyan)
setPosition(0, -50) 
hop(167)
left()
hop(610)
right()
hop(150)
right()
hop(56)
setPenColor(red)
setPenThickness(10)
repeat(36){
    right(10)
    forward(14)
}
right(43)
hop(140)
left(37)
hop(70)
left(107)
repeat(36){
    right(10)
    forward(13)
}
right(120)
hop(240)
left(100)
repeat(36){
    right(10)
    forward(14)
}
right(150)
hop(197)
left(110)
repeat(36){
    right(10)
    forward(14)
}
left(115)
hop(550)
right(87)
hop(10)
setPenThickness(3)
setPenColor(black)
setFillColor(Color(255, 0, 79))
forward(100)

repeat(36){
    right(10)
    forward(2)
}
right()
hop(10)
left()
setPenColor(black)
forward(20)
right(150)
hop(25)
right(32)
forward(98)
repeat(18){
    right(10)
    forward(1.7)
}
forward(88)

right(93)
hop(260)
left(96)
setPenThickness(6)
setPenColor(black)
forward(30)
setPenThickness(2)
setPenColor(black)
setFillColor(Color(255, 109, 203))
left()
forward(5)
right()
forward(40)
right()
forward(14)
right()
forward(40)
right()
forward(14)
right()
forward(40)
setFillColor(green)
left()
forward(3)
right(126)
forward(17)
right(105)
forward(17)
right(125)
forward(17)
left(80)
hop(70)
right(158)
setPenThickness(6)
setPenColor(black)
forward(30)
setPenThickness(2)
setPenColor(black)
setFillColor(Color(255, 109, 203))
left()
forward(5)
right()
forward(40)
right()
forward(14)
right()
forward(40)
right()
forward(14)
right()
forward(40)
setFillColor(green)
left()
forward(3)
right(126)
forward(17)
right(105)
forward(17)
right(125)
forward(17)
left(75)
hop(72)
right(156)
setPenThickness(6)
setPenColor(black)
forward(30)
setPenThickness(2)
setPenColor(black)
setFillColor(Color(255, 109, 203))
left()
forward(5)
right()
forward(40)
right()
forward(14)
right()
forward(40)
right()
forward(14)
right()
forward(40)
setFillColor(green)
left()
forward(3)
right(126)
forward(17)
right(105)
forward(17)
right(125)
forward(17)
left(134)
hop(310)
left(34)
setPenColor(Color(0, 119, 22))
setFillColor(Color(0, 148, 11))
repeat(4){forward(50)
left()}
hop(12)
left()
hop(30)
setPenColor(Color(255, 197, 92))
write("VIP")
right()
hop(10)
left()
hop(22)
left
hop(10)
right()
setPenColor(Color(0, 119, 22))
forward(5)
right()
forward(20)
right()
forward(7)
right(180)
hop(9)
left()
hop(20)
right(120)
setPenThickness(5)
setPenColor(Color(255, 68, 46))
forward(15)
right(145)
hop(320)
right(190)
left(30)
hop(57)
right(26)
right()
hop(10)
left()
hop(20)
setPenColor(purple)
setFillColor(purple)
repeat(36){
    forward(4)
    right(10)

}
right(50)
hop(50)
setPenColor(purple)
setPenThickness(4)
forward(10)
left(130)
hop(78)
right(210)
setPenColor(red)
setPenThickness(10)
forward(158)
left(138)
hop(180)
left(10)
hop(40)
left(29)
hop(18)
forward(159)
left(44)
hop(118)
right(40)
forward(140)
left(78)
hop(151)
right(80)
hop(26)
forward(157)
left(130)
hop(250)
setPenColor(Color(116, 100, 29))
setFillColor(Color(0, 0, 96))
setPenThickness(3)
repeat(2){forward(250)
left()
forward(450)
left()}
left()
hop(167)
left()
hop(37)
setPenColor(Color(84, 7, 16))
setPenFont(Font("impact",28))
write("WARNING!")
left(180)
hop(89)
right()
hop(137)
right()
setPenColor(red)
write("             Don't     use    'CRACKERS'")
right(180)
hop(65)
right(180)
setPenColor(blue)
write("                                      AND")
right(180)
hop(65)
right(180)
setPenColor(green)
write("            Save    our    'ENVIRONMENT'")    
right()
hop(970)
left()
hop(250)
left()
setPenColor(black)
setFillColor(Color(255, 204, 204))
right(270)
repeat(19){
    forward(19)
    right(10)
    
}
right(120)
forward(20)
repeat(10){
    forward(10)
    left(9)
    
}
right(90)
repeat(19){
    forward(6)
left(5)
}
right(27)
forward(10)
left(130)
hop(160)
right(40)
hop(-80)
setPenColor(yellow)
setFillColor(red)
repeat(10){
    forward(10)
    right(6)
}
right(119)
repeat(10){
    forward(10)
    right(6)
}
right(68)
hop(160)
right()
hop(180)
left(10)
setPenColor(blue)
setPenThickness(9)
write("Wish        you        all    " )
right(180)
hop(50)
left()
hop(10)
left()
setPenThickness(100)
setPenColor(Color(116, 15, 70))
write(" 'HAPPY     DIWALI'")
left(180)
hop(420)
left(180)
setPenColor(black)
write("Nazeef     and      Prateek")
invisible