Pookkalam by Rehan

Code

c=circle (r=145,fill="brown", stroke="white",stroke_width=4)
show(c)
r1 = rectangle(w=200,h=200,fill="orange",stroke='white')|repeat(15,rotate(25))
show(r1)
c2=circle(x=0,y=0,r=130,fill="darkblue",stroke="white")
show(c2)
r2 = rectangle(w=180,h=180,fill="orange",stroke='white')|repeat(15,rotate(25))
c1 = circle(r=110,fill="brown",stroke='white')
show(r2,c1)
r3= rectangle(w=150,h=150,fill="darkblue",stroke='white')|repeat(15,rotate(25))
c3= circle(r=90,fill="brown",stroke='white')
c4=circle (r=70, fill="darkblue",stroke="white")
c5=circle(r=50,fill="brown",stroke="white")
c6=circle(r=40,fill="darkblue",stroke="white")
c7=circle(r=30,fill="brown", stroke="white")
c8=circle(r=20,fill="darkblue", stroke="white")
show(r3,c3,c4,c5,c6,c7,c8)
s1 = rectangle(w=150, h=150, stroke="white", stroke_width=2) | repeat(9, rotate(10))
s2 = rectangle(w=120, h=120, stroke="white", stroke_width=2) | repeat(9, rotate(10))
show(s1,s2)
s3=rectangle (w=75,h=75,stroke="maroon", stroke_width=2)|repeat(2,rotate(40))
s4=rectangle (w=50,h=50,stroke="maroon", stroke_width=2)|repeat (2,rotate(40))
s5=rectangle (w=25,h=25, stroke="maroon", stroke_width=2)|repeat (2,rotate(40))
s6=rectangle (w=12.5,h=12.5,stroke="maroon", stroke_width=2)|repeat (2,rotate(40))
show (s3,s4,s5,s6)