Pookkalam by xidhu

Code

center_circle = circle(fill='yellow',r=20,stroke='none')
color1 = ['red','orange']
color2 = ['green','#8c1a6a']
color3 = color1+color2
def shape_1(colors):
    center_around = rectangle(stroke='none')
    for i in range(10):
        shape = (rectangle(w = 10,h =30,fill=colors[i%2],stroke="none")) +(ellipse(w = 40,h =30,fill=colors[i%2],stroke="none")|translate(x=20))
        center_around = center_around + shape | rotate(45)
    return center_around
def shape_2(colors):
    rect = rectangle(stroke = 'none')
    for i in range(10):
        shape = (rectangle(w = 110, h = 110,stroke = 'none',fill = colors[(i%4)]))
        rect = rect + (shape | rotate(i * 36))
    return rect
show(circle(r=78,fill='yellow'),shape_2(color3),shape_1(color2)|scale(1.5),shape_1(color1),center_circle)