Pookkalam by Sreehari v

Code

bud = circle(r=30,fill="black")
petal1 = ellipse(y=50,w=20,h=100,stroke="rose",stroke_width = 1,fill="orange")
petal2 = ellipse(y=30,w=20,h=40,stroke="blue",stroke_width = 1,fill="yellow")
petals = (petal1+petal2 | repeat(50,rotate(145)))
                                        
                                            

flower =(bud+petals) | scale(0.30)
flower_ring = flower | translate(x=30,y=30) | repeat(15,rotate(145))
flowerbed = flower

num_layers = 5

for i in range(num_layers):
    flowerbed =  (flower_ring | scale(2**i) | rotate(145 * i%2)) +flowerbed

show(rectangle(x=0,y=0,h=300,w=300,fill="#FFFFFF"),flowerbed | scale(2**(2-num_layers)))