Pookkalam by Aiswarya.M

Code

#iner_layer
pistil=circle(r=10,fill='orangered',stroke='white',stroke_width=3)
petal_01=ellipse(w=12,h=33,fill='indigo',stroke='white',stroke_width=2) | repeat(8,rotate(30))
petal_02=circle(r=29,fill='indigo',stroke_width=0)
petal_03=circle(r=40,fill='lavender')
petal_04=rectangle(w=77,h=77,fill='yellow') | repeat(10,rotate(30))
petal_05=rectangle(w=79,h=79,fill='red') | repeat(10,rotate(15))
petal_06=rectangle(w=85,h=85,fill='lavender') | repeat(10,rotate(15))
petal_07=rectangle(w=91,h=91,fill='CornflowerBlue') | repeat(10,rotate(15))
petal_08=rectangle(w=100,h=100,fill='navy') | repeat(10,rotate(15))
petal_09=circle(r=70,fill='orange')
petal_10=rectangle(w=85,h=85,fill='azure') | repeat(10,rotate(15))

#middle_layer
petal_11=rectangle(w=150,h=150,fill='crimson') | repeat(10,rotate(15))
petal_12=rectangle(w=140,h=140,fill='lightcoral') | repeat(10,rotate(30))
petal_13=rectangle(w=170,h=170,fill='tomato') | repeat(10,rotate(30))
petal_14=rectangle(w=180,h=180,fill='red') | repeat(10,rotate(15))
#outer_layer
petal_15=circle(r=130,fill='orangered')
petal_16=circle(r=150,fill='peachpuff')

show(petal_16,petal_15,petal_14,petal_13,petal_11,petal_12,petal_09,petal_10,petal_08,petal_07,petal_06,petal_05,petal_04,petal_03,petal_02,petal_01,pistil)