Pookkalam by Poornima J

Code

c1=circle(r=5,fill="red")
c2=circle(r=7,fill="red")
c3=circle(r=11,fill="white")
co11=color(r=196, g=8, b=196)
e1 = ellipse(w=50,h=6,fill=co11,stroke="purple") | repeat(6, rotate(30))
c4=circle(r=30,fill="yellow")
c5=circle(r=35,fill="green")
c6=circle(r=145,fill="green")
c8=circle(r=135,fill="red")
c9 = circle(x=130, y=0, r=6,fill="yellow")
show(c6,c8)
show(c9)
a=30
for i in range(11):
    c10=c9|rotate(a)
    a+=30
    show(c10)
h1=120
for i in range(6):
    if(i==0):
        col="#42305d"
    elif(i==1):
        col="#cd4166"
    elif(i==2):
        col="#fc6973"
    elif(i==3):
        col="#fe8e8d"
    elif(i==4):
        col="#f44f70"
    else:
        col="#734a87"
    e2 = ellipse(w=250,h=h1,fill=col) | repeat(6, rotate(30))
    show(e2)
    h1-=20
show(c5,c4,e1,c3,c2,c1)
q=20
for i in range(18):
    if(i%2==0):
        co1=color(39,138,61)
    else:
        co1="orange"
    s1 = rectangle(x=0,y=50,w=20, h=20,fill=co1,stroke=col) |rotate(q)
    q+=20
    show(s1)
q=15
for i in range(24):
    if(i%2==0):
        co1="yellow"
    else:
        co1="red"
    s2 = rectangle(x=0,y=70,w=23, h=23,fill=co1) |rotate(q)
    q+=15
    show(s2)