Pookkalam by Surya Sushad

Code

blackbrown = color(r=51,g=0,b=0)
maroon  = color(r=153, g=0, b=0)
darkred  = color(r=255, g=128, b=0)
lyellow = color(r=255, g=255, b=204)
purple = color(r=178, g=102, b=255)

r=rectangle(h=300, w=300, fill="white", stroke="none")


c1=circle(r=150, fill=blackbrown, stroke="none")


shape1 = rectangle(w=210, h=210, fill=maroon, stroke="none") | repeat(9, rotate(10))
shape2 = rectangle(w=195, h=195, fill=darkred, stroke="none")|rotate(5) | repeat(9, rotate(10))
shape3 = rectangle(w=180, h=180, fill="yellow", stroke="none") | repeat(9, rotate(10))
shape4 = rectangle(w=165, h=165, fill=lyellow, stroke="none")|rotate(5) | repeat(9, rotate(10))

c2 = circle(r=105, fill=blackbrown, stroke="none")
c3 = circle(r=100, fill=lyellow, stroke="none")
e1 = ellipse(h=20,w=200, fill="darkred") |repeat (20 , rotate(10))
c4 = circle(r=75,fill="yellow")
r1= rectangle(w=105,h=105, fill="red") | repeat (20 , rotate(30))
r2= rectangle(w=95,h=95, fill="orange") | repeat (20 , rotate(60))
r3= rectangle(w=85,h=85, fill="yellow") | repeat (20 , rotate(30))
c5 = circle(r=43,fill=lyellow)
e2 = ellipse(h=20,w=86, fill="darkred") |repeat (20 , rotate(30))
c6 = circle(r=22,fill="orange")
r4 = rectangle(w=30,h=30, fill=darkred)
c6 = circle(r=14,fill="yellow")
c7 = circle(r=8,fill="maroon")
show(r,c1,shape1,shape2,shape3,shape4,c2,c3,e1,c4,r1,r2,r3,c5,e2,c6,r4,c6,c7)