Pookkalam by Nayana

Code

c = circle()
show(c)
c5=circle(r=148)
show(c5)
c4=circle(r=135,fill="red",stroke="black")
show(c4)
def square(color, side):
    return rectangle(w=side, h=side, fill=color, stroke='none')
br1=square(side=135,color='green') | repeat(15,  rotate(15))
br2=square(side=151.5,color='#7d1004') | rotate(22.5)|repeat(3,  rotate(15))
br3=square(side=151.5,color='green') | rotate(67.5)|repeat(3,  rotate(15))
br4=square(side=170,color='orange') | rotate(30)|repeat(2,  rotate(15))
br5=square(side=170,color='#f4ff59') | rotate(30)|repeat(10,  rotate(15))
br6=square(side=190,color='#f4ff59') | rotate(37.5)|repeat(1,  rotate(15))
br7=square(side=190,color='yellow') | rotate(37.5)|repeat(10,  rotate(15))
show(br5,br4,br1)
r1 = square(side=65,color='#7d1004') | repeat(10,  rotate(30))
r2 = square(side=79,color='golden')  | rotate(15)| repeat(10,  rotate(30))
r3= square(side=97,color='orange') | repeat(10,  rotate(30))
r4=square(side=117,color='yellow')  | rotate(15)| repeat(10,  rotate(30))
e1=ellipse(w=30,h=17,x=20,y=0,stroke='#9e0808',stroke_width=3,fill="#f4ff59") | rotate(22.5)