Pookkalam by Thasnim P

Code

t=color(r=85,g=105,b=0)
c = circle(r=150,fill=t,stroke="none")
show(c) 
p6=point(x=-135,y=0)
p7=point(x=-125,y=30)
p8=point(x=-115,y=60)
p9=point(x=-105,y=91)
p0=point(x=95,y=100)
t1=color(r=255,g=215,b=0)
t2=color(r=139,g=0,b=0)
t3=color(r=255,g=69,b=0)
t4=color(r=255, g=140,b=50)
t5=color(r=255,g=105,b=0)
t6=color(r=245,g=245,b=245)
p=point(x=0,y=0)
p1=point(x=-150,y=0)
p2=point(x=-145,y=25)
p3=point(x=-135,y=50)
p4=point(x=-125,y=75)
p5=point(x=-115,y=100)
e=repeat(9,rotate(40))
r5=polygon([p, p6, p7] , fill=t3, stroke="none") 
r6=polygon([p,p7,p8],fill=t4,stroke="none")   
r7=polygon([p, p8, p9], fill=t1, stroke="none") 
r8=polygon([p, p9, p0], stroke="none") 
e5=r5|e
e6=r6|e
e7=r7|e
e8=r8|e
r1=polygon([p, p1, p2], fill=t1, stroke="none") 
r2=polygon([p, p2, p3], fill=t2, stroke="none") 
r3=polygon([p, p3, p4], fill=t3, stroke="none") 
r4=polygon([p, p4, p5], fill=t4, stroke="none") 
e1=r1|e
e2=r2|e
e3=r3|e
e4=r4|e
show(e1, e2, e3, e4) 
x1=circle(r=135,fill=t,stroke="none") 
show(x1) 
show(e5, e6, e7, e8) 
x2=circle(r=120,fill=t5, stroke="none" )
show(x2) 
j1=point(x=80,y=-5)
j2=point(x=120,y=5)
j3=point(x=90,y=37)
j4=polygon([j1, j2, j3], fill=t1, stroke="none" )
j5=j4|repeat(9,rotate(40))
show(j5)
k=line(x1=90,y1=37,x2=50,y2=50,stroke=t1)
k1=k|repeat(9,rotate(40))
show(k1) 
x3=circle(r=80,fill=t2,stroke="none")
x4=rectangle(x=60,y=0,w=5,h=5,fill=t6, stroke="none" )
x5=x4|repeat(9,rotate(40))
x6=rectangle(x=20,y=-20,w=40,h=40,fill=t1,stroke="none") 
x7=rectangle(x=-20,y=20,w=40,h=40,fill=t3,stroke="none")
x8=x7|rotate(120)
x9=x8|rotate(120)
x0=x6|rotate(120)
y1=x0|rotate(120)
y2=circle(r=5,fill=t2,stroke="none") 
show(x3, x5)
show(x6, x9,x0,x7, y1, x8, y2)
y3=ellipse(x=75,y=0,w=10,h=50,fill=t,stroke="none") 
y4=y3|repeat(9,rotate(40))
show(y4)