Pookkalam by Vijay Biju

Code

c = circle()
show(c)
def rect(l,b,col,r):

    r = rectangle(x=50, y=50, w=l, h=b,fill=col,stroke="white") | rotate(r)

    return r

angle=60

c=circle(r=140,fill="pink")

show(c)

for i in range(6):

    re = rect(l=100,b=100,col="green",r=angle)

    show(re)

    angle = angle +60

c1=circle(r=100,fill="yellow")

show(c1)

angle = 30

for i in range(6):

    re = rect(l=40,b=40,col="red",r=angle)

    show(re)

    angle = angle +60

c1=circle(r=75,fill="violet")

show(c1)