Pookkalam by Diya Nair

Code

print("'Celebrate this Onam festival with joy and happiness'.Cheers to this auspicious oppurtunity! Happy Onam everyone!")
# outer layer
sublayer1 = rectangle (w=209,h=209,fill="red", stroke="red") | repeat (20,rotate(50))
show(sublayer1)
sublayer2=rectangle(w=192,h=192, fill="orange",stroke="orange")|rotate(15)| repeat(20,rotate(50))
show(sublayer2)
sublayer3=rectangle(w=178,h=178,fill="yellow",stroke="yellow")|repeat(20,rotate(50))
show(sublayer3)
sublayer4=rectangle(w=166,h=166,fill="red",stroke="white")|rotate(15)|repeat(20,rotate(50))
show(sublayer4)
sublayer5=rectangle(w=155,h=155,fill="yellow",stroke="white")|rotate(15)|repeat(20,rotate(50))
show(sublayer5)
#middle layer
c1 = ellipse(w=30,h=200,fill="none",stroke="red")|repeat(30, rotate(20))

show(c1)
c3 = circle(r=30,fill="orange",stroke="white")
c4 = circle(r=20,fill="red",stroke="yellow")
c5 = circle(r=10,fill="yellow",stroke="indigo")
show(c3,c4,c5)
shape = circle(x=25, y=0, r=10,stroke="indigo") | repeat(36, rotate(10))
show(shape)

e2 = ellipse(w=20,h=85,fill="none",stroke="none")|rotate(15)|repeat(10,rotate(30))

show(e2)