Pookkalam by Aiswarya

Code

c1 = circle(r=150,fill="green")
show(c1)
c2=circle(r=100,fill="black")
show(c2)
s1 = rectangle (w=209,h=209,fill="red", stroke="black") | repeat (20,rotate(50))
s2= rectangle(w=192,h=192, fill="gold",stroke="gold")|rotate(15)| repeat(20,rotate(50))
s3= rectangle(w=178,h=178,fill="orange",stroke="yellow")|repeat(20,rotate(50))
s4= rectangle(w=166,h=166,fill="violet",stroke="white")|rotate(15)|repeat(20,rotate(50))
show(s1,s2,s3,s4)
c3=circle(r=108,fill="#ff636e",stroke="white")
show(c3)
e = ellipse(h=133,w=13,x=0,y=40,stroke="yellow",stroke_width=2,fill="#cf1b4e")
c = circle(r=30)+circle(r=36)+circle(r=56.5)+circle(r=84.6)
z=circle(x=100,y=0,r=5)
shape= e
show(shape | repeat(40,rotate(9)))
c4=circle(r=80,stroke_width=7,stroke="green",fill="yellow")
show(c4)
z=line(x1=-76,y1=0,x2=76,y2=0,stroke="black",stroke_width=3)
s=z|repeat(20,rotate(30))
show(s)
c6=circle(r=50,stroke_width=4,stroke="#96034d")
show(c6)
s5= rectangle(w=76,h=70,fill="red",stroke="white")|rotate(45)|repeat(32,rotate(60))
show(s5)
c5=circle(r=36,fill="yellow")
show(c5)
def dot(x,y):
    c=circle(x=x,y=y,r=20,fill="white")
    return c
d=dot(x=0,y=0)
show(d)
l=ellipse(w=30,h=17,x=20,y=0,stroke="black",stroke_width=3,fill="#f51111") | rotate(22.5)
e1=l | repeat(9, rotate(45))
show(e1)