Pookkalam by Mohammed Ajzal

Code

shape = rectangle(w=200, h=200,fill="#F7FD04",stroke="none") | repeat(18, rotate(angle=10))
show(shape)

#outerspiral2
s1=rectangle(h=200,w=200,fill="#FFD31D",stroke="none")|repeat(6,rotate(30))
s2=rectangle(h=150,w=150)|repeat(50,rotate(30))
show(s2,s1)

#innercircle
c6=circle(r=100,fill="#FF6701",stroke="none")
c7=circle(r=90,fill="#F38BA0",stroke="none")
show(c6,c7)

#innerspiral
sh = rectangle(w=125, h=125,fill="#FFFFFF",stroke="none") | repeat(26, rotate(angle=10))
show(sh)

#flower
e1=ellipse(h=200,w=80,fill="#BEAEE2")|repeat(6,rotate(60))
e2=ellipse(h=250,w=80,fill="#F38BA0",stroke="none")|repeat(4,rotate(60))|scale(0.75)
e3=ellipse(h=250,w=80,fill="#C449C2",stroke="none")|repeat(4,rotate(60))|scale(0.65)
e4=ellipse(h=250,w=80,fill="#81B214",stroke="none")|repeat(4,rotate(60))|scale(0.55)
e5=ellipse(h=250,w=80,fill="#F7EA00",stroke="none")|repeat(4,rotate(60))|scale(0.45)
flower=combine([e1,e2,e3,e4,e5])
show(flower|scale(0.86))
      
#innerlayer
c1=circle(r=15,fill="#FFFFE0",stroke="none")
c2=circle(r=25,fill="#E4BAD4",stroke="none")
c3=circle(r=35,fill="#FFA500",stroke="none")
c4=circle(r=45,fill="#DC143C",stroke="none")
c5=circle(r=52.5,fill="#800000",stroke="none")
c6=circle(r=100,fill="#BE0000",stroke="none")
show(c5,c4,c3,c2,c1)