Pookkalam by Abhishek

Code

c1= circle(r=145, fill= "red", stroke="none")


c20= circle(r=150, fill="green",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="red",stroke="none")|repeat(3,rotate(120))
c2= circle(r=75, fill= "purple", stroke="none")

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

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


show(c20,c1,r1,r2,r3,r4,r5,c2,c11,c12,c13)