Pookkalam by Gokul Krishna R

Code

green = color(r=22, g=161, b=158,a=0.5);
def dot(x,y,color):
    d = circle(x=x,y=y,r=3,fill=color,stroke="none")
    return d                                                                  
d1=dot(x=0,y=0,color="#69063A")
e1=ellipse(w=100,h=5,fill="#FEEEDF",stroke="none") | repeat(10,rotate(30))
c1=circle(r=90,fill="none",stroke="#F8C459",stroke_width=15)
c2=circle(r=80,fill="#E65C4A",stroke="white",stroke_width=5)
s3=rectangle(w=150,h=150,fill="#16A19E",stroke="none")| repeat(10,rotate(15))
s1=rectangle(w=160,h=160,fill="#69063A",stroke="none")| repeat(10,rotate(15))
s2=rectangle(w=170,h=170,fill="#E65C4A",stroke="none")| repeat(10,rotate(15))
s4=rectangle(w=190,h=190,fill=green,stroke="none")| repeat(10,rotate(30))
s5=rectangle(w=190,h=190,fill="#69063A",stroke="none")| rotate(15) |repeat(10,rotate(30))
c3=circle(r=140,fill="#F8C459",stroke="white",stroke_width=5)
c4=circle(r=20,fill="white",stroke="none",x=70,y=0)| repeat(12,rotate(30))
c5=circle(r=75,fill= green,stroke="none")
c8=circle(r=67,fill=green,stroke="none")
c6=circle(r=60,fill=green,stroke="none")
c7=circle(r=50,fill="#F8C459",stroke="none")

r1=rectangle(w=300,h=300,fill="#FEEEDF",stroke="none")
dr1=dot(x=90,y=0,color="#69063A") | repeat(36,rotate(10))
dr2=dot(x=25,y=0,color="#E65C4A") | rotate(15)| repeat(12,rotate(30))
dr3=dot(x=35,y=0,color="#E65C4A") | rotate(15)| repeat(12,rotate(30))
dr4=dot(x=45,y=0,color="#E65C4A") | rotate(15)| repeat(12,rotate(30))

l1=line(x1=130,y1=0,x2=150,y2=0,stroke="#69063A",stroke_width=5) | repeat(72,rotate(5))
l2=line(x1=130,y1=0,x2=150,y2=0,stroke="#16A19E",stroke_width=5) |rotate(2.5)| repeat(72,rotate(5))

show(r1,l1,l2,c3,s4,s5,s2,s1,s3,c2,c4,c1,c5,c8,c6,c7,e1,d1,dr1,dr2,dr3,dr4)