Pookkalam by ashish tom

Code

def square(color, side):
    return rectangle(w=side, h=side, fill=color, stroke='none')
br3=square(side=151.5,color='green') | rotate(67.5)|repeat(10,  rotate(10))
br4=square(side=170,color='#FF5733') | rotate(30)|repeat(10,  rotate(10))
br5=square(side=170,color='#f4ff59') | rotate(30)|repeat(10,  rotate(10))
br6=square(side=190,color='#f4ff59') | rotate(37.5)|repeat(10,  rotate(10))
br7=square(side=190,color='orange') | rotate(37.5)|repeat(10,  rotate(10))
show(br7,br6,br5,br4,br3)
c3=circle(r=85,fill="#800080")
r1 = square(side=65,color='green') | repeat(60,  rotate(30))
r2 = square(side=79,color='#FFC0CB')  | rotate(30)| repeat(10,  rotate(15))
r3= square(side=97,color='orange') | repeat(10,  rotate(30))
r4=square(side=117,color='#8F00FF')  | rotate(30)| repeat(10,  rotate(15))
show(r4,r3,r2,r1)