Pookkalam by Christy Ansa

Code

r=rectangle(w=300,h=300,stroke="none",fill="white")
show(r)
def rectangles(y,c):
    r1=rectangle(w=w,h=h,x=0,y=y,fill=c) 
    r2=r1|repeat(360,rotate(4))
    show(r2)
w=10
h=6
rectangles(y=144,c="#990000")
rectangles(y=138,c="#ff6600")
rectangles(y=132,c="#ffff80")
rectangles(y=126,c="#f2f2f2")
c=circle(r=123,fill="#ff6600")
show(c)
c1=circle(r=60.5,y=61.9,fill="#008000",stroke="none")+ellipse(w=8,h=30,y=106,fill="#ffffff",stroke="#8800cc",stroke_width=4)
c2=c1|repeat(8,rotate(60))
show(c2)
c3=circle(r=100,fill="#4d0000",stroke="none")
show(c3)
def layers(w,h,c,d) :  
    lr=rectangle(w=w,h=h,fill=c,d=d,stroke="none")
    lr1=lr|repeat(360,rotate(50))
    show(lr1)
layers(w=138,h=138,c="#b30000",d=50)
layers(w=125,h=125,c="#ff6600",d=50)
layers(w=112,h=112,c="#ffcc00",d=50)
e1=ellipse(w=20,h=150,fill="#b30059",stroke="none")
e2=e1|repeat(12,rotate(30))
show(e2)
c4=circle(r=50,fill="#ffffff",stroke="none")
show(c4)
t1=point(x=10,y=40)
t2=point(x=0,y=15)
t3=point(x=-10,y=40)
pn=polygon([t1,t2,t3],stroke="none",fill="#8800cc")+ellipse(w=5,h=16,y=10,fill="#8800cc",stroke="none")
pl=pn|repeat(10,rotate(45))
show(pl)