Pookkalam by Swalih Mp

Code

c1= circle(r=145, fill= "black", stroke="none")
c20= circle(r=150, fill="red",stroke="none")
r1 = rectangle(w=200,h=200,fill="orange",stroke="none")|repeat(3,rotate(120))
r2 = rectangle(w=180,h=180,fill="yellow",stroke="none")|repeat(3,rotate(120))
r3 = rectangle(w=160,h=160,fill="green",stroke="none")|repeat(3,rotate(120))
r4 = rectangle(w=140,h=140,fill="white",stroke="none")|repeat(3,rotate(120))
r5 = rectangle(w=130,h=130,fill="purple",stroke="none")|repeat(3,rotate(120))
c2= circle(r=75, fill= "darkgreen", stroke="none")

c3 = circle(r=19, x=0, y=50, fill="violet", stroke="none")
c4 = circle(r=19, x=0, y=50, fill="violet", stroke="none")|rotate(45)
c5 = circle(r=19, x=0, y=50, fill="violet", stroke="none")|rotate(90)
c6 = circle(r=19, x=0, y=50, fill="violet", stroke="none")|rotate(135)
c7 = circle(r=19, x=0, y=50, fill="violet", stroke="none")|rotate(180)
c8 = circle(r=19, x=0, y=50, fill="violet", stroke="none")|rotate(225)
c9 = circle(r=19, x=0, y=50, fill="violet", stroke="none")|rotate(270)
c10 = circle(r=19, x=0, y=50, fill="violet", stroke="none")|rotate(315)
c11 = combine([c3,c4,c5,c6,c7,c8,c9,c10])

c3 = circle(r=15, x=0, y=38, fill="blue", stroke="none")
c4 = circle(r=15, x=0, y=38, fill="blue", stroke="none")|rotate(45)
c5 = circle(r=15, x=0, y=38, fill="blue", stroke="none")|rotate(90)
c6 = circle(r=15, x=0, y=38, fill="blue", stroke="none")|rotate(135)
c7 = circle(r=15, x=0, y=38, fill="blue", stroke="none")|rotate(180)
c8 = circle(r=15, x=0, y=38, fill="blue", stroke="none")|rotate(225)
c9 = circle(r=15, x=0, y=38, fill="blue", stroke="none")|rotate(270)
c10 = circle(r=15, x=0, y=38, fill="blue", stroke="none")|rotate(315)
c12 = combine([c3,c4,c5,c6,c7,c8,c9,c10])


c13 = circle(r=14, x=0, y=30, fill="yellow", stroke="none")|repeat(16, rotate(45))
c14 = circle(r=37, fill="white", stroke="none")
c15 = circle(r=32,fill="orange", stroke="none")
l1 = line(x1=-50,y1=0,x2=0,y2=0) | (rotate(22))
l2 = l1 | repeat(8, rotate(45))

c16 = circle(r=32,fill="red", stroke="none")

c17 = circle(r=7, x=0, y=20, fill="brown", stroke="none")|repeat(10, rotate(36))
c18 = circle(r=20,fill="red", stroke="green", stroke_width=5)
c19 = circle(r=10,fill="red", stroke="white", stroke_width=2)

show(c20,c1,r1,r2,r3,r4,r5,c2,c11,c12,c13,c14,c15,l1,l2,c16,c17,c18,c19)