Pookkalam by Devika S G

Code

c1=circle(r=10,fill="white",stroke="none")
c2=circle(r=20,fill="yellow",stroke="none")
c3=circle(r=30,fill="orange",stroke="none")
c4=circle(r=40,fill="brown",stroke="black",stroke_width=5)
s1=rectangle(w=80,h=80,fill="brown",stroke_width=2)
s2=rectangle(w=80,h=80,fill="#186F36",stroke_width=2) | rotate(45)
s3=rectangle(w=90,h=90,fill="#22C259",stroke_width=2) | rotate(68)
s4=rectangle(w=90,h=90,fill="#EF60D5",stroke_width=2) | rotate(110)
s5=rectangle(w=100,h=100,fill="#333CB0",stroke_width=2) | rotate(223)
s6=rectangle(w=100,h=100,fill="#5D91EE",stroke_width=2) | rotate(268)
s7=rectangle(w=110,h=110,fill="#D4AF37",stroke_width=2) | rotate(111)
s8=rectangle(w=110,h=110,fill="#7828A4",stroke_width=2) | rotate(249)
c5=circle(r=80,fill="black",stroke_width=5)
z=circle(x=70,y=0,r=45,fill="yellow",stroke="none")|repeat(12,rotate(30))
z3=circle(x=75,y=0,r=45,fill="orange",stroke="none")|repeat(12,rotate(30))
z4=circle(x=85,y=0,r=45,fill="brown",stroke_width=3)|repeat(12,rotate(30))
z5=circle(x=80,y=0,r=45,fill="red",stroke="none")|repeat(12,rotate(30))
z1=line(x1=2,y1=0,x2=7,y2=0)
z2= z1 | repeat(7, rotate(30))
show(z4,z5,z3,z,c5,s8,s7,s6,s5,s4,s3,s2,s1,c4,c3,c2,c1,z2)

w,h=300,300
pw=circle(x=w/2,y=h/2,r=10,fill="white",stroke="none")
p0=circle(x=w/2,y=h/2,r=15,fill="yellow",stroke="none")
p1=circle(x=w/2,y=h/2,r=20,fill="#39aae3",stroke="none")
p2=circle(x=w/2,y=h/2,r=25,fill="#0d84bf",stroke="none")
p3=circle(x=w/2,y=h/2,r=30,fill="#1658ba",stroke="none")
p4=circle(x=w/2,y=h/2,r=35,fill="#0d3573",stroke_width=3)

pw1=circle(x=w/2,y=-h/2,r=10,fill="white",stroke="none")
p01=circle(x=w/2,y=-h/2,r=15,fill="yellow",stroke="none")
p5=circle(x=w/2,y=-h/2,r=20,fill="#39aae3",stroke="none")
p6=circle(x=w/2,y=-h/2,r=25,fill="#0d84bf",stroke="none")
p7=circle(x=w/2,y=-h/2,r=30,fill="#1658ba",stroke="none")
p8=circle(x=w/2,y=-h/2,r=35,fill="#0d3573",stroke_width=3)

pw2=circle(x=-w/2,y=-h/2,r=10,fill="white",stroke="none")
p02=circle(x=-w/2,y=-h/2,r=15,fill="yellow",stroke="none")
p9=circle(x=-w/2,y=-h/2,r=20,fill="#39aae3",stroke="none")
p10=circle(x=-w/2,y=-h/2,r=25,fill="#0d84bf",stroke="none")
p11=circle(x=-w/2,y=-h/2,r=30,fill="#1658ba",stroke="none")
p12=circle(x=-w/2,y=-h/2,r=35,fill="#0d3573",stroke_width=3)

pw3=circle(x=-w/2,y=h/2,r=10,fill="white",stroke="none")
p03=circle(x=-w/2,y=h/2,r=15,fill="yellow",stroke="none")
p13=circle(x=-w/2,y=h/2,r=20,fill="#39aae3",stroke="none")
p14=circle(x=-w/2,y=h/2,r=25,fill="#0d84bf",stroke="none")
p15=circle(x=-w/2,y=h/2,r=30,fill="#1658ba",stroke="none")
p16=circle(x=-w/2,y=h/2,r=35,fill="#0d3573",stroke_width=3)



shape = ellipse(h=100,w=10,x=w/4,y=h/4,stroke="none",fill="#3933b0")|repeat(30,rotate(20))
shape1 = ellipse(h=100,w=10,x=w/4,y=h/4,stroke="none",fill="#2591cc")|rotate(30)|repeat(30,rotate(20))

show(shape,shape1,p4,p3,p2,p1,p0,pw,p8,p7,p6,p5,p01,pw1,p12,p11,p10,p9,p02,pw2,p16,p15,p14,p13,p03,pw3)