Pookkalam by Gayathri Sivakumar Menon

Code

c = circle(r=150, fill="#ff4c67")
c1 = circle(r=145, fill="#700024")
cdot = circle(x=0,y=137,r=4, fill="#fea981",stroke="none")| repeat(80, rotate(8))
cdot1 = circle(x=0,y=88,r=3, fill="#56012a",stroke="none")| repeat(50, rotate(10))
centredot = circle(x=0,y=0,r=3, fill="#ffb703")
rad=85
c2 = circle(r=rad,fill="white")
width=14
cs = ellipse(x=0,y=rad,w=width,h=width+4, fill="white", stroke="none")
p1=point(x=-(0.52*width),y=rad)
p2=point(x=0,y=rad+1.2*width)
p3=point(x=(0.52*width),y=rad)
ts = polygon([p1,p2,p3], fill="white", stroke="none")
petal=combine([ts,cs])| repeat(50, rotate(10))
cwp=combine([c2,petal])


rad=100
c3 = circle(r=rad,fill="red", stroke="none")
width=18
cs3 = ellipse(x=9,y=rad-5,w=width,h=width+4, fill="red", stroke="none")
p31=point(x=(-0.52*width)+9,y=rad-5)
p32=point(x=9,y=rad+1.0*width-5)
p33=point(x=(0.52*width)+9,y=rad-5)
ts3 = polygon([p31,p32,p33], fill="red", stroke="none")
petal3=combine([ts3,cs3])| repeat(50, rotate(8))
cwp1=combine([c3,petal3]) 

rad=110
c4 = circle(r=rad,fill="#ff4d00", stroke="none")
width=14
cs4 = ellipse(x=0,y=rad,w=width,h=width+4, fill="#ff4d00", stroke="none")
p41=point(x=-(0.52*width),y=rad)
p42=point(x=0,y=rad+1.0*width)
p43=point(x=(0.52*width),y=rad)
ts4 = polygon([p41,p42,p43], fill="#ff4d00", stroke="none")
petal4=combine([ts4,cs4])| repeat(70, rotate(8))
cwp2=combine([c4,petal4])

rad=120
c5 = circle(r=rad,fill="#ffc100", stroke="none")
width=14
cs5 = ellipse(x=8,y=rad,w=width,h=width+4, fill="#ffc100", stroke="none")
p51=point(x=-(0.52*width)+8,y=rad)
p52=point(x=8,y=rad+1.0*width)
p53=point(x=(0.52*width)+8,y=rad)
ts5 = polygon([p51,p52,p53], fill="#ffc100", stroke="none")
petal5=combine([ts5,cs5])| repeat(80, rotate(8))
cwp3=combine([c5,petal5])

circle1=circle(x=0,y=50,r=5,fill="#5b1647", stroke="none")
circle2=circle(x=0,y=50,r=13,fill="#93063e", stroke="none")
circle3=circle(x=0,y=50,r=22,fill="#ca0035", stroke="none")
circle4=circle(x=0,y=50,r=30,fill="#ff5627", stroke="none")
circle5=circle(x=0,y=50,r=35,fill="#ffc400", stroke="none")
babycircle=combine([circle5,circle4,circle3,circle2,circle1])| repeat(11, rotate(45))

e= ellipse(x=0,y=10,w=7,h=14,fill="#023047",stroke="white")| repeat(20, rotate(30))
e1= ellipse(x=0,y=10,w=2,h=5,fill="#fffd8d",stroke="#fffd8d")| repeat(20, rotate(30))
show(c,c1,cdot,cwp3,cwp2,cwp1,cwp,cdot1,centredot,e,e1,babycircle)