Pookkalam by Anna Bobby

Code

#outer 1st layer
r0 = rectangle(w=300,h=300,fill= "black")
c1 = circle(r=145, fill="#314a0d", stroke="#f24227", stroke_width=5) 
r1 = rectangle(x=125, y=20, w=20,h=30, fill="#ebca49") | repeat(36, rotate(10))
c2 = circle(r=136, stroke="#277d65", stroke_width=5) 
show(r0,c1,r1,c2)

#outer second layer
r2 = rectangle(w=170, h=170,fill="#eb8846") | repeat(9, rotate(10))
c3 = circle(x=120, y=0, r=5, fill="#7864b0") | repeat(36, rotate(10))
c4 = rectangle(w=168, h=168, fill="yellow", stroke='none') | rotate(5) | repeat(10,  rotate(10)) 
show(r2,c3,c4)

#3rd layer- flower
c5 = circle(r=100, fill="#8043e8", stroke="#f24227", stroke_width=5) 
c6 = circle(x=50,r=50,fill="green")|repeat(6,rotate(60))
c7 =ellipse(w=200,h=10,fill="white",stroke="black")|repeat(60,rotate(6))
show(c5,c6,c7)
#layer4
c8 = circle(r=80, fill="orange", stroke="none") 
r3=rectangle(w=50,h=140,stroke="white",stroke_width=(1.3))|repeat(50,rotate(9))
show(c8,r3)
# inner
e1=ellipse(h=15,w=30,x=15,y=0,fill='#fcaa05',stroke="none") | repeat(10,rotate(35))
e2=ellipse(h=50,w=.5,fill="#ff5900",stroke="none")|repeat(60,rotate(100))
show(e1,e2)
#text
print("               Happy Onam!")
print("Wishing you a life as colourful as pookalam")