Pookkalam by Alaka A J

Code

def racket():
    l1 = line(0,25,0,-100, stroke_width=2)
    l2 = line(0,-100,0,-125, stroke_width=7)
    e = ellipse(x=0, y=75, h=100, w=75, stroke_width=3, fill="white")
    s = combine([l1,l2,e]) | rotate(-45)
    shape = s | repeat(2, rotate(90))
    show(shape)
    ball()

def ball():
    c = circle(r=20, x=0, y=-75, stroke="#dfff4f", fill='#dfff4f')
    show(c)
    e = ellipse(x=0, y=-85, w=50, h=25, stroke_width=5, stroke = '#ffffff')
    show(e)
    
def lines():
    l1 = line(12.5,12.5,89.5,89.5)
    l2 = line(14,14,86,86) | translate(x=7)
    l3 = line(15,15,84,84) | translate(x=14)
    l4 = line(20,20,89,89) | translate(x=-7)
    l5 = line(23,23,92,92) | translate(x=-14)
    l=combine([l1,l2,l3,l4,l5])|repeat(2, rotate(90))
    show(l)
    
racket()