Pookkalam by Surabhil S Kumar

Code

c5=circle(r=135,fill="#78002e",stroke="none")
show(c5)
c1=circle(r=120,fill="#ad1457",stroke="none")
show(c1)
def square(color, side):
    return rectangle(w=side, h=side, fill=color, stroke='none')
s1=square(side=135,color='#ff79ff') | repeat(15,  rotate(15))
s2=square(side=151.5,color='#f3e5f5') | rotate(22.5)|repeat(3,  rotate(15))
s3=square(side=151.5,color='#b0003a') | rotate(67.5)|repeat(3,  rotate(15))
s4=square(side=170,color='orange') | rotate(30)|repeat(2,  rotate(15))
s5=square(side=170,color='#f4ff59') | rotate(30)|repeat(10,  rotate(15))
s6=square(side=190,color='#f4ff59') | rotate(37.5)|repeat(1,  rotate(15))
show(s6,s5,s4,s3,s2,s1)
c2=circle(r=85,fill="brown")
show(c2)
s7 = square(side=65,color='#7d1004') | repeat(10,  rotate(30))
s8 = square(side=79,color='#ba1b09')  | rotate(15)| repeat(10,  rotate(30))
s9= square(side=97,color='orange') | repeat(10,  rotate(30))
s0=square(side=117,color='#f4ff59')  | rotate(15)| repeat(10,  rotate(30))
show(s0,s9,s8,s7)
c3=circle(r=36,fill="green")
show(c3)
e1=ellipse(w=30,h=17,x=20,y=0,stroke='#9e0808',stroke_width=3,fill="#f4ff59") | rotate(22.5)
petal=e1 | repeat(9, rotate(45))
show(petal)
c4=circle(r=5,fill="#9e0808",stroke="none")
show(c4)