Pookkalam by Sreelakshmi Atholi

Code

rect1=rectangle(w=150,h=150,fill="#820a0a",stroke="none")|repeat(20,rotate(50))
rect2=rectangle(w=170,h=170,fill="#ce0606",stroke="none")|rotate(15)|repeat(20,rotate(50))
rect3=rectangle(w=190,h=190,fill="#fc9802",stroke="none")|repeat(20,rotate(50))
rect4=rectangle(w=210,h=210,fill="#fceb02",stroke="none")|rotate(15)|repeat(20,rotate(50))|scale(0.98)
show(rect4,rect3,rect2,rect1)
def make_row(y, n):
    width = 300
    d = 300/n
    r = d/2

    xstart = -width/2 + r
    shapes = []

    for i in range(n):
        x = xstart + i * d
        c = circle(x=x, y=y, r=r)
        shapes.append(c)
        
    return combine(shapes)
        
shape = make_row(y=0, n=2)
shape2 = shape | repeat(98, rotate(30) | scale(0.98)) | scale(1)|translate(1)
show(shape2)