Code Sketch
26 jan aa
Category: Art
cleari()
setSpeed(superFast)
//showAxes()
setPosition(-1000, 0)
def shape() {
repeat(8) {
savePosHe()
setFillColor(clr)
right(45, 70)
restorePosHe()
savePosHe()
left(45, 80)
restorePosHe()
forward(20)
}
right()
} //> def shape(): Unit
val clr =Color(255, 102, 0).fadeOut(0.1) //> val clr: net.kogics.kojo.doodle.HSLA = HSLA(Angle(0.41887902047863906),Normalized(1.0),Normalized(0.5),Normalized(0.9))
def shape2 (){
setBackground(blue)
setPenThickness(1)
repeat(20) {
savePosHe()
setFillColor(white)
setPenColor(white)
shape()
restorePosHe()
right(18)
}
right()
hop(10)
left()
setPenColor(Color(0, 102, 0))
setPenThickness(2)
repeat(76){
right(20)
repeat(8) {
forward(10)
right(44
)
}
}
} //> def shape2(): Unit
shape2
left(100)
hop(273)
shape2()
repeat(2){
left(192)
hop(273)
shape2()
}
left(89)
hop(223)
shape2()
repeat(4){
right(170)
hop(179)
shape2()
}
right(10)
hop(1100)
shape2
left(80)
hop(130)
shape2
right(24)
repeat(2){
right(170)
hop(179)
shape2()
}
right(78)
hop(230)
shape2
repeat(2) {
right(168)
hop(179)
shape2
}
left( 110)
hop(240)
shape2
right(175)
hop(180)
shape2
left(18)
hop(600)
shape2
hop(900)
right()
hop(1800)
right(80)
hop(-400)
setPenColor(white)
setPenFont(Font("Cambria", 200))
write("GLORIOUS YEARS OF REPUBLIC INDIA")
hop(-200)
write("2 years 11 months 18 days=constitution of India")