Pookkalam by Ashwinlal M P

Code

c4=circle(r=135,fill="blue",stroke="none")
m=circle(r=140,fill="#1c0404")
show(m)
def square(color, side):
    
    
    return rectangle(w=side, h=side, fill=color, stroke='none')
br1=square(side=135,color='black') | repeat(15,  rotate(15))
br2=square(side=151.5,color='#7d1004') | rotate(22.5)|repeat(3,  rotate(15))
br3=square(side=151.5,color='#b7190e') | rotate(67.5)|repeat(3,  rotate(15))
br4=square(side=170,color='#115601') | rotate(30)|repeat(2,  rotate(15))
br5=square(side=170,color='#f2df13') | rotate(30)|repeat(10,  rotate(15))
br6=square(side=190,color='#ea1704') | rotate(37.5)|repeat(1,  rotate(15))
br7=square(side=190,color='#ea1704') | rotate(37.5)|repeat(10,  rotate(15))
show(br7,br6,br5,br4,br3,br2,br1)
r4=rectangle(w=135,h=135,fill="#a60808",stroke="none") | repeat(3,rotate(angle=30))
r5=rectangle(w=115,h=115,fill="#fbff00",stroke="#ff5500",stroke_width=5) | repeat(3,rotate(angle=30))
e3=ellipse(w=110,h=110/4,fill="#1450b7",stroke="none") | repeat(20,rotate(angle=15))
e4=ellipse(w=80,h=80/4,fill="#14a800",stroke="1450b7",stroke_width="3") | repeat(15,rotate(angle=15))
c6=circle(r=20,fill="orange",stroke="#eaff00",stroke_width="5")
c7=circle(r=10,fill="white",stroke="red",stroke_width="5")
show(r5,e3,e4,c6,c7)