Pookkalam by Thushar Kiran

Code

def sq(color, side):
    return rectangle(w=side, h=side, fill=color, stroke='none')
b1=sq(side=135,color='#DD4552') | repeat(15,  rotate(15))
b2=sq(side=151.5,color='#7d1098') | rotate(22.5)|repeat(3,  rotate(15))
b3=sq(side=151.5,color='#50C878') | rotate(67.5)|repeat(3,  rotate(15))
b4=sq(side=170,color='#FF5765') | rotate(30)|repeat(2,  rotate(15))
b5=sq(side=170,color='#f4ff38') | rotate(30)|repeat(10,  rotate(15))
b6=sq(side=190,color='#f4ff61') | rotate(37.5)|repeat(1,  rotate(15))
b7=sq(side=190,color='#C88543') | rotate(37.5)|repeat(10,  rotate(15))
show(b5,b4,b3,b2,b1)
c3=circle(r=85,fill="#800880")
show(c3)
r1 = sq(side=65,color='#50C878') | repeat(10,  rotate(30))
r2 = sq(side=79,color='#FFC010')  | rotate(15)| repeat(10,  rotate(30))
r3= sq(side=97,color='#FF0111') | repeat(10,  rotate(30))
r4=sq(side=117,color='#8F52FF')  | rotate(15)| repeat(10,  rotate(30))
show(r4,r3,r2,r1)
c2=circle(r=36,fill="#7d2514")
#show(c2)
e1=ellipse(w=30,h=17,x=20,y=0,stroke='#526400',stroke_width=3,fill="#8B0032") | rotate(22.5)
petal=e1 | repeat(9, rotate(45))
show(petal)
c1=circle(r=5,fill="#f4b647",stroke="#964738")
#show(c1)