Pookkalam by Arun Roy M

Code

# Centre piece

pistil = circle(r=5, fill='yellow', stroke='black', stroke_width=2)
inner_petals = ellipse(w=80, h=10, fill='#FE4600') | (repeat(6, rotate(30))) | scale(0.7)
inner_backdrop_01 = circle(r=30, fill='yellow' )
inner_backdrop_02 = circle(r=40, fill='orange')

# Middle Layer - 1
m1_sublayer_01 = rectangle(w=85 ,h=85 , fill='maroon') | repeat(25, rotate(60))
m1_sublayer_02 = ellipse(w=150, h=75, fill='orange', stroke_width=2) | repeat(40, rotate(30))

# Middle Layer = 2
m2_sublayer_01 = rectangle(h=175, w=175, fill='#FFD601') | repeat(5, rotate(30))

# Outer Layer
outer_sublayer_01 = rectangle(w=209, h=209, fill='maroon')
outer_sublayer_02 = circle(r=147, fill='orange')

#Show

show(outer_sublayer_02, outer_sublayer_01, m2_sublayer_01, m1_sublayer_02, m1_sublayer_01, inner_backdrop_02, inner_backdrop_01, inner_petals, pistil)