Pookkalam by Loraien Raju

Code

def Ellipse(x,y,w,h,fill):
    e = ellipse(x,y+h/2,w,h,fill=fill,stroke="none")
    return(e)

def wreath (c1,c2):
    x=0
    y=0
    w=25
    h=50

    b1=Ellipse(x,y,w*2,h*2,fill=c2)
    b2=Ellipse(x,y,w,h,fill=c1)
    shape=b1+b2

    a = shape| scale(0.75) | translate(y=20) | repeat(100, rotate(40))
    c = circle(r=w,stroke="none",fill="yellow")

    shape2=a+c
    b = shape2| scale(0.4) | translate(y=100) | repeat(100, rotate(40))
    return(b)

c2=color(r=255, g=0, b=0)
c1=color(r=255, g=136, b=0)

s1=wreath(c1,c2)

d2=color(r=255, g=0, b=144)
d1=color(r=255, g=153, b=211)

s2=wreath(d1,d2)|scale(0.5)

background=rectangle(w=300,h=300,fill="white")
c=circle(r=50,stroke="none",fill="white")
e1=ellipse(w=90,h=30,fill="red") | translate(y=125) | repeat(10, rotate(36))

petal = ellipse(x=0,y=20,w=15,h=25,fill="yellow")
flower= petal | repeat(12,rotate(30))
flower_link = flower | translate(x=40,y=40) | repeat (8,rotate(45))
e1 = flower_link | repeat(2,scale(1))

shape=background+c+s1
show(shape,e1,flower)