Pookkalam by Govardh G

Code

bg = rectangle(w=300,h=300,fill='white')
show(bg)
c=circle(r=150,fill='green')
show(c)
for i in range(10):
        # shape1 = rectangle(w=180, h=180,fill='white',stroke='none')  | repeat(10, rotate(10))
        shape2 = rectangle(w=190, h=190,fill='green',stroke='none')  | repeat(10, rotate(10))
        shape3 = rectangle(w=200, h=200,fill='yellow',stroke='none')  | repeat(10, rotate(10))
        shape4 = rectangle(w=210, h=210,fill='red')  | repeat(10, rotate(10))
show(shape4+shape3+shape2)
c = circle(r=130,fill='green')
c1 = circle(r=125,fill='pink')
show(c+c1)

el = ellipse(w=240,h=100,fill='red') | repeat(6, rotate(30))
show(el)
for i in range(2):
    r1 = rectangle(w=140,h=140,fill='white')
    r2 = rectangle(w=150,h=150,fill='yellow')
    r3 = rectangle(w=160,h=160,fill='green')
    r4 = rectangle(w=170,h=170,fill='brown')
    

rec_copy = r4+r3+r2+r1 | repeat(4,rotate(30))
show(rec_copy+r4+r3+r2+r1)
# # picture
# r5 = rectangle(x=0,y=52,w=140,h=38,fill='#fae6af')
c = circle(r=23,stroke="#000080")
d = circle(r=26,stroke_width=3,stroke="#000080")
e = circle(r=6,stroke="#000080")
a1 = line(x1=-23, y1=0, x2=23, y2=0 ,stroke="#000080")
a2 = line(x1=-23, y1=0, x2=23, y2=0 ,stroke="#000080") | rotate(15) 
a3 = line(x1=-23, y1=0, x2=23, y2=0 ,stroke="#000080") | rotate(30)
a4 = line(x1=-23, y1=0, x2=23, y2=0 ,stroke="#000080") | rotate(45)
a5 = line(x1=-23, y1=0, x2=23, y2=0 ,stroke="#000080") | rotate(60)
a6 = line(x1=-23, y1=0, x2=23, y2=0 ,stroke="#000080") | rotate(75)
a7 = line(x1=-23, y1=0, x2=23, y2=0 ,stroke="#000080") | rotate(90)
a8 = line(x1=-23, y1=0, x2=23, y2=0 ,stroke="#000080") | rotate(105)
a9 = line(x1=-23, y1=0, x2=23, y2=0 ,stroke="#000080") | rotate(120)
a10 = line(x1=-23, y1=0, x2=23, y2=0 ,stroke="#000080") | rotate(135)
a11 = line(x1=-23, y1=0, x2=23, y2=0 ,stroke="#000080") | rotate(150)
a12 = line(x1=-23, y1=0, x2=23, y2=0 ,stroke="#000080") | rotate(165)
a13 = line(x1=-23, y1=0, x2=23, y2=0 ,stroke="#000080") | rotate(180)
show(c,d,e,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13)