Code Sketch


school advertisement on Blood Donation Camp
By: Amol naik
Category: Art
clear()

setSpeed(fast)
setPenColor(Color(0, 0, 255))
setPenThickness(5)
setPosition(-390, 300)
setHeading(90)
setPenThickness(20)
forward(90)
setHeading(-60)
forward(100)
setHeading(60)
forward(100)
savePosHe
setHeading(-90)
forward(90)
restorePosHe
setHeading(0)
hop(50)
setHeading(-90)
forward(60)
left(180, 39)
setHeading(90)
forward(60)
setHeading(0)
hop(40)
savePosHe
setHeading(-90)
forward(90)
restorePosHe
setHeading(0)
forward(30)
savePosHe
right(180, 25)
setHeading(180)
forward(30)
setHeading(0)
forward(30)
setHeading(-55)
forward(55)
restorePosHe
hop(100)
setHeading(180)
left(195, 45)
left(130, 20)
setHeading(180)
forward(10)
setHeading(0)
forward(35)
setHeading(-90)
hop(40)
setHeading(0)
hop(20)
setHeading(70)
forward(90)
setHeading(0)
forward(10)
savePosHe
setHeading(-70)
forward(90)
restorePosHe
savePosHe
setHeading(-70)
forward(45)
setHeading(180)
forward(40)
restorePosHe
setHeading(0)
hop(110)
right(360, 45)
setHeading(0)
hop(80)
savePosHe
setHeading(-90)
forward(85)
restorePosHe
setHeading(-55)
forward(100)
setHeading(90)
forward(90)
setHeading(0)
hop(100)
savePosHe
setHeading(-90)
forward(90)
restorePosHe
setHeading(-90)
forward(45)
setHeading(0)
forward(50)
setHeading(-90)
forward(45)
setHeading(90)
forward(90)
setHeading(0)
hop(70)
savePosHe
setHeading(-90)
forward(90)
setHeading(0)
forward(30)
setHeading(180)
forward(60)
restorePosHe
savePosHe
setHeading(0)
forward(30)
setHeading(180)
forward(60)
restorePosHe
setHeading(0)
forward(30)
setHeading(0)
hop(70)
setHeading(180)
left(195, 45)
left(130, 20)
setHeading(180)
forward(10)
setHeading(0)
forward(35)
setHeading(-90)
hop(40)
setHeading(0)
hop(30)
setHeading(90)
hop(90)
savePosHe
setHeading(-90)
forward(90)
restorePosHe
setHeading(-90)
forward(45)
setHeading(0)
forward(50)
setHeading(-90)
forward(45)
setHeading(90)
forward(90)
setHeading(0)
hop(120)
setHeading(90)
hop(50)
setHeading(90)
setPenFontSize(150)
write("S")
setHeading(0)
hop(180)
setHeading(-90)
hop(60)
savePosHe
setHeading(160)
left(230, 45)
restorePosHe
setHeading(0)
hop(50)
savePosHe
setHeading(-90)
forward(90)
restorePosHe
setHeading(-90)
forward(45)
setHeading(0)
forward(50)
setHeading(-90)
forward(45)
setHeading(90)
forward(90)
setHeading(0)
hop(80)
right(360, 45)
setHeading(0)
hop(120)
right(360, 45)
setHeading(0)
hop(90)
setHeading(-90)
forward(90)
setHeading(0)
forward(60)

setPosition(30, 250)
setHeading(90)
setPenFontSize(90)
write("HEADLAND SADA - VASCO")

setPosition(350, 150)
setHeading(90)
setPenFontSize(90)
write("ORGANISES")

setPenColor(red)
setPosition(-220, 50)
setHeading(90)
setPenFontSize(130)
write("BLOOD DONATION CAMP")

setPenColor(red)
setPosition(120, -100)
setHeading(90)
setPenFontSize(120)
write("On 2nd OCT, 2023")
savePosHe
setPenColor(black)
setHeading(-90)
hop(170)
setHeading(0)
forward(1500)
setHeading(90)
forward(720)
setHeading(180)
forward(2100)
setHeading(-90)
forward(720)
savePosHe
setHeading(0)
forward(1500)
restorePosHe
setHeading(-40)
forward(90)
setHeading(0)
forward(2100)
savePosHe
setHeading(140)
forward(90)
restorePosHe
setHeading(90)
forward(720)
setHeading(140)
forward(90)
restorePosHe
setPosition(-550, -440)
setPenThickness(8)
setHeading(40)
forward(390)
setHeading(130)
forward(100)
setHeading(-140)
forward(390)
setFillColor(red)
setHeading(-50)
forward(100)
setHeading(40)
forward(250)
setHeading(130)
forward(100)
setHeading(-140)
forward(250)