Pookkalam by Parvathi Vinod

Code

#outer part
c= circle(r=150, fill="black")
r1 = rectangle (w=210,h=210,fill="maroon", stroke="maroon") | repeat (15,rotate(50))
r2 = rectangle (w=195,h=195,fill="red", stroke="red")|rotate(15) | repeat (15,rotate(50))
r3 = rectangle (w=179,h=179,fill="orange", stroke="orange")|rotate(0) | repeat (15,rotate(50))
r4 = rectangle (w=162,h=162,fill="yellow", stroke="yellow")|rotate(15) | repeat (15,rotate(50))
r5 = rectangle (w=146,h=146,fill="snow", stroke="snow")|rotate(0) | repeat (15,rotate(50))
show(c,r1,r2,r3,r4,r5)

#middle part
col = color(r=0, g=97, b=0, a=1)
c1 = circle(r=92, fill=col, stroke=col)
r6 = rectangle(w=128,h=128,fill="maroon", stroke="maroon") | repeat (2,rotate(45))
r7 = rectangle(w=115,h=115,fill="red", stroke="red")|rotate(-7.5) | repeat (2,rotate(15))
r8 = rectangle(w=115,h=115,fill="red", stroke="red")|rotate(37) | repeat (2,rotate(15))
r9 = rectangle(w=104,h=104,fill="orange",stroke="orange")|rotate(-15) | repeat (3,rotate(15))
r10 = rectangle(w=104,h=104,fill="orange",stroke="orange")|rotate(30) | repeat (3,rotate(15))
r11 = rectangle(w=93,h=93,fill="yellow",stroke="yellow")|rotate(22) | repeat (4,rotate(15))
r12 = rectangle(w=93,h=93,fill="yellow",stroke="yellow")|rotate(-21) | repeat (4,rotate(15))
r13 = rectangle(w=82,h=82,fill="snow",stroke="snow")|rotate(16) | repeat (15,rotate(15))
show(c1,r6,r7,r8,r9,r10,r11,r12,r13)

#inner part
c2 = circle(r=50, fill="black")
shape = circle(x=25, y=0, r=25, stroke="snow") | repeat(18, rotate(60))
show(c2,shape)