Pookkalam by Harishankar

Code

col1="#ebe834"
col2="#eb9b34"
col3="#d96fd0"
col4="#ffbe0b"
col5="#fb5647"
col6="#06d6a0"
col7="#560bad"

r1=rectangle(w=50, h=50,fill=col1,stroke=col1,x=25,y=25)
r2=rectangle(w=50, h=50,fill=col2,stroke=col2,x=20,y=-15) | rotate(angle=45)
r3=r1 | translate(y=-50)
r4=r2 | translate(x=-25,y=-25)
r5=r3 | translate(x=-50)
r6=r4 | translate(x=-25,y=25)
r7=r5 | translate(y=50)
r8=r6 | translate(x=25,y=25)
ci2=circle(r=7,fill="green")
ci1=circle(r=10,fill="#d8f3dc",stroke="#d8f3dc")
e1 = ellipse(w=46,h=9,fill=col3,stroke=col3) | repeat(10, rotate(18))
e2 = ellipse(w=48,h=10,fill=col3) | repeat(10, rotate(18))
p1 = point(x=0, y=8)
p2 = point(x=0, y=50)
p3 = point(x=42, y=49)
s1 = polygon([p1, p2, p3], fill=col1,stroke=col1)
c1=circle(r=80, fill="#219ebc",stroke="#219ebc")
c2=circle(r=90, fill="#457b9d",stroke="#457b9d")
c3=circle(r=100, fill="#8ecae6")
rr1 = rectangle(w=170,h=170,fill=col4,stroke=col4) | repeat(9, rotate(10))
rr2 = rectangle(w=170,h=170,fill=col4,stroke=col4) | repeat(9, rotate(10)) | rotate(angle=36)
rr3 = rectangle(w=170,h=170,fill=col4,stroke=col4) | repeat(9, rotate(10)) | rotate(angle=72)
rr4 = rectangle(w=170,h=170,fill=col4,stroke=col4) | repeat(9, rotate(10)) | rotate(angle=108)
rr5 = rectangle(w=170,h=170,fill=col4,stroke=col4) | repeat(9, rotate(10)) | rotate(angle=154)
rr6 = rectangle(w=196,h=196,fill=col5,stroke=col5) | repeat(9, rotate(10))
rr7 = rectangle(w=199,h=199,fill=col5) | repeat(9, rotate(10))
e3=ellipse(h=190,w=50,x=20,y=20,fill=col6,stroke=col6) | repeat(20,rotate(angle=18))
e4=ellipse(h=180,w=40,x=20,y=20,fill=col7,stroke=col7) | repeat(20,rotate(angle=18))
show(rr7,rr6,rr5,rr4,rr3,rr2,rr1,e3,e4,c3,c2,c1,r1,r2,r3,r4,r5,r6,r7,r8,s1,e2,e1,ci1,ci2)