Pookkalam by Irfan S

Code

main = circle(r=150, fill="black")

white_square = rectangle (w=209,h=209,fill="white", stroke="white") | repeat (15,rotate(50))
yellow_square = rectangle (w=193,h=193,fill="yellow", stroke="yellow")|rotate(15) | repeat (15,rotate(50))
orange_square = rectangle (w=178,h=178,fill="orange", stroke="orange")|rotate(0) | repeat (15,rotate(50))
red_square = rectangle (w=165,h=165,fill="red", stroke="red")|rotate(15) | repeat (15,rotate(50))
darkred_square = rectangle (w=153,h=153,fill="darkred", stroke="darkred")|rotate(0) | repeat (15,rotate(50))

s=combine([main,white_square,yellow_square,orange_square,red_square,darkred_square])
show(s)

c1 = circle(r=150,fill="purple")
c2 = circle(r=140,fill="white", stroke="white")
c3 = circle(r=130,fill="green")

sq1 = rectangle(w=180,h=180,fill="orange", stroke="orange") | repeat(20,rotate(100))

e1 = ellipse(w=260,h=80,fill="white")
e2 = ellipse(w=200,h=30,fill="purple")

e = e1+e2 | repeat(3,rotate(120))

s1= ellipse(w=230,h=50,fill="darkviolet", stroke="darkviolet") | repeat(15,rotate(100))
c4 = circle(r=70,fill="green")
c5 = circle(r=60,fill="yellow")
c6 = circle(r=40,fill="green")
c7 = circle(r=30,fill="orange")
e3 = ellipse(w=40,h=10,fill="darkviolet", stroke="darkviolet") | repeat(6,rotate(30))
c8= circle(r=5,fill="white", stroke="white")
shape=combine([c1,c2,c3,sq1,s1,e,c4,c5,c6,c7,e3,c8]) | scale(0.65)
show(shape)