Pookkalam by Helen Thomas

Code

c1 = circle(r=10,fill='blue',stroke="none")
c2 = circle(r=15,fill='pink',stroke="none")
c3=circle(r=30,fill='green',stroke="none")
c4=circle(r=35,fill='rose',stroke="none")
cout=circle(r=100,fill="grey",stroke="none")
cin=circle(r=90,fill="blue",stroke="#1c5911")
c5=circle(r=145,fill="green")
e1=ellipse(h=15,w=30,x=15,y=0,fill='#fcaa05',stroke="none") | repeat(12,rotate(36))
e2=ellipse(h=15,w=50,x=15,y=0,fill='#fcaa05',stroke="none") | repeat(100,rotate(31))
e3=ellipse(h=240,w=150,y=0,stroke="none",fill="#10469e") | repeat(8,rotate(45)) | rotate(45)
e4=ellipse(h=260,w=15,stroke="none",fill="#ff5900")|repeat(100,rotate(3.6))
e5=ellipse(h=280,w=25,stroke="none",fill="#ff5900")|repeat(100,rotate(3.6))
def tridesign(x,y,colors):
    shape=circle(stroke='none')
    for i in range(3):
        p1=point(x=-x+i*5,y=0)
        p2=point(x=x-i*5,y=0)
        p3=point(x=0,y=y-i*5)
        t1=polygon([p1,p2,p3],fill=colors[i])
        shape+=t1
    return shape
t1=tridesign(40,65,['#eb3309','#e8860e','#f0ed35']) | repeat(10,rotate(36))
p1=point(x=0,y=0)
p2=point(x=0,y=90)
p3=point(x=25,y=87)
p4=point(x=25,y=0)
t2=rectangle(h=130,w=120,fill='#540332',stroke="none")|rotate(45)|repeat(10,rotate(36))
t3=rectangle(h=120,w=120,fill='#82285d',stroke="none")|rotate(45)|repeat(10,rotate(36))
t4=rectangle(h=110,w=120,fill='#b83e85',stroke="none")|rotate(45)|repeat(10,rotate(36))
t5=rectangle(h=100,w=120,fill='#ff5900',stroke="none")|rotate(45)|repeat(10,rotate(36))


show(c5,e5,e4,e3,cout,cin,t2,t3,t4,t5,t1,e2,c4,c3,e1,c2,c1)