Pookkalam by hukku

Code

rec1=rectangle(w=210,h=210,fill="#5a189a",stroke="none") | repeat(20,rotate(50))
rec2=rectangle(w=190,h=190,fill="#0081a7",stroke="none")|rotate(15)|repeat(20,rotate(50))
rec3=rectangle(w=170,h=170,fill="#00afb9",stroke="none")|repeat(20,rotate(50))
rec4=rectangle(w=150,h=150,fill="#0081a7",stroke="none")|rotate(15)|repeat(20,rotate(50))|scale(0.98)
rec5 = rectangle( w=130, h=130, fill= "#f07167", stroke=" none " ) |rotate(15) | repeat( 20, rotate(50) ) | scale(0.98)
cr0=circle(r=20,x=80, stroke="none",fill="#5a189a")|repeat(7,rotate(50))
cr1=circle(r=20,x=70, stroke="none",fill="#ffc300")|repeat(7,rotate(50))
cr2=circle(r=20,x=60, stroke="none",fill="#00afb9")|repeat(7,rotate(50))
cr3=circle(r=20,x=50, stroke="none",fill="#ffc300")|repeat(7,rotate(50))
cr4=circle(r=20,x=40, stroke="none",fill="#0081a7")|repeat(7,rotate(50))
cr5=circle(r=20,x=30, stroke="none",fill="#ffc300")|repeat(7,rotate(50))
cr6=circle(r=20,x=20, stroke="none",fill="#5a189a")|repeat(7,rotate(50))
cr=cr0+cr1+cr2+cr3+cr4+cr5+cr6|repeat(2,rotate(180))
rec=rec1+rec2+rec3
recM=rec|scale(0.3)
crM=cr|scale(0.25)
r1=rec|scale(0.9)
c=circle(r=9,fill="#000",x=140)|repeat(36,rotate(10))
show(c,rec,r1,cr,recM,crM)