Pookkalam by Sana Thampi

Code

r=rectangle(w=300,h=300,stroke_width=5,fill="#32cd32")
show(r)
shape=circle(x=129.5,y=0,r=9.5,fill="#ff00ff")|repeat(36,rotate(10))
show(shape)
shape1=circle(x=85,y=0,r=7,fill="#ffa500")|repeat(36,rotate(10))
show(shape1)
c1=color(r=255,g=255,b=0,a=1)
s3=circle(x=35,y=0,r=40,fill=c1,stroke_width=0.8)+circle(x=50,y=0,r=15,fill="#ffffff")+circle(x=50,y=0,r=9.5,fill="#0000cd")+circle (x=50,y=0,r=4.5,fill="#ffd700")
s4=s3|rotate(90)
s5=s3|rotate(180)
s6=s3|rotate(270)
show(s3,s4,s5,s6)
s=rectangle(x=108,y=0,w=25,h=25,fill="#ffd700")
s1=s|repeat(18,scale(0.2))
s2=s1|repeat(36,rotate(10))
show(s2)
def dot(x,y):
    c=circle(x=x,y=y,r=11.5,fill="red")
    return c
d=dot(x=0,y=0)
show(d)
ct1=circle(x=-120,y=120,r=13,fill="#ff00ff")+circle(x=-120,y=120,r=6,fill="#ffd700")
show(ct1)
ct2=circle(x=120,y=120,r=13,fill="#ff00ff")+circle(x=120,y=120,r=6,fill="#ffd700")
show(ct2)
cb1=circle(x=120,y=-120,r=13,fill="#ff00ff")+circle(x=120,y=-120,r=6,fill="#ffd700")
show(cb1)
cb2=circle(x=-120,y=-120,r=13,fill="#ff00ff")
show(cb2)
in1=circle(x=-120,y=-120,r=6,fill="#ffd700")
show(in1)
innl1=circle(x=-48.5,y=48.5,r=7.5,fill="#ff0000")
show(innl1)
innr2=circle(x=48.5,y=48.5,r=7.5,fill="#ff0000")
show(innr2)
innl3=circle(x=-48.5,y=-48.5,r=7.5,fill="#ff0000")
show(innl3)
innr4=circle(x=48.5,y=-48.5,r=7.5,fill="#ff0000")
show(innr4)