Pookkalam by Aleena Carolin

Code

c59=rectangle(w=300,h=300,fill="#F5F5F5")
show(c59)

c = circle(x=125,y=0,r=20,fill="red",stroke_width=3)+circle(x=125,y=0,r=15,fill="yellow",stroke="none")+circle(x=125,y=0,r=10,fill="white",stroke="none")
c1=c|repeat(36,rotate(10))

c2=circle(r=130,fill="white",stroke_width=3)
show(c1,c2)

c60=ellipse(w=250,h=40,fill="chocolate",stroke_width=3)|rotate(11)
c61=c60|repeat(2,rotate(24))
c62=ellipse(w=250,h=40,fill="brown",stroke_width=3)|rotate(55)
c63=c62|repeat(2,rotate(24))
c64=c63|scale(y=-1)
c65=c61|scale(y=-1)
show(c61,c63,c64,c65)

c53=((rectangle(w=179,h=179,stroke="#191970",stroke_width=5))|rotate(67.5))+((rectangle(w=172,h=172,fill="yellow",stroke_width=3))|rotate(67.5))+((rectangle(w=160,h=160,fill="white",stroke_width=3))|rotate(67.5))
c54=c53|repeat(2,rotate(45))
show(c54)


c3=((rectangle(w=179,h=179,stroke="#191970",stroke_width=5))|rotate(45))+((rectangle(w=172,h=172,fill="yellow",stroke_width=3))|rotate(45))
c25=c3|repeat(2,rotate(45))
show(c25)


c47=rectangle(w=160,h=160,fill="white",stroke=5)+rectangle(w=145,h=145,fill="white",stroke="yellow",stroke_width=5)+rectangle(w=125,h=125,fill="white",stroke="yellow",stroke_width=5)+rectangle(w=105,h=105,fill="white",stroke="yellow",stroke_width=5)
show(c47)


c41=circle(x=0,y=15,r=40,stroke_width=2,fill="white")+circle(x=0,y=13,r=35,stroke_width=1.5,fill="gold")+circle(x=0,y=13,r=24,stroke_width=1.5,fill="white")+circle(x=0,y=13,r=20,stroke_width=1.5,fill="gold")
c42=c41|scale(x=1,y=0.8)
c5=circle(x=0,y=35,r=62,stroke_width=3,fill="#ff4500")+circle(x=0,y=15,r=45,stroke_width=2,fill="#ff8c00")

c6=c5|scale(x=1,y=0.8)
show(c6,c42)
c14=circle(x=0,y=65,r=9,stroke_width=2,fill="red")+circle(x=-25,y=60,r=7,stroke_width=2,fill="blue")+circle(x=25,y=60,r=7,stroke_width=2,fill="blue")+circle(x=-43,y=43,r=5,stroke_width=1.5,fill="red")+circle(x=43,y=43,r=5,stroke_width=1.5,fill="red")
show(c14)

c68=circle(x=0,y=65,r=5,fill="white")+circle(x=0,y=65,r=2,fill="green")+circle(x=-25,y=60,r=3,fill="white")+circle(x=25,y=60,r=3,fill="white")+circle(x=-43,y=43,r=1.5,fill="white")+circle(x=43,y=43,r=1.5,fill="white")
show(c68)
c39=ellipse(x=0,y=17,w=7,h=13,fill="red",stroke_width=1)
c40=ellipse(x=0,y=15,w=5,h=9,fill="pale green")
show(c39,c40)
c14=circle(x=0,y=60,r=3,stroke_width=2,fill="white")+circle(x=45,y=40,r=2,stroke_width=1.5,fill="white")

c10=circle(x=0,y=-90,r=45,stroke_width=3,fill="#EEE8AA")
c11=c10|scale(x=1,y=0.5)
show(c11)

c12=circle(x=30,y=-20,r=10,stroke_width=2,fill="yellow")+circle(x=30,y=-20,r=7,fill="red")
c13=circle(x=-30,y=-20,r=10,stroke_width=2,fill="yellow")+circle(x=-30,y=-20,r=7,fill="red")
show(c12,c13)

c33=circle(x=-12,y=-10,r=20,fill="green",stroke_width=3)+circle(x=12,y=-10,r=20,fill="green",stroke_width=3)
c34=rectangle(x=0,y=-17,w=55,h=40,fill="green",stroke_width=3)
c35=circle(x=0,y=-75,r=27,fill="green",stroke_width=4)|scale(x=1,y=0.5)
show(c33,c34,c35)

           
c7=circle(x=-12,y=-10,r=20,fill="green",stroke="none")+circle(x=12,y=-10,r=20,fill="green",stroke="none")
c8=rectangle(x=0,y=-17,w=55,h=40,fill="green",stroke="none")
c9=circle(x=0,y=-75,r=27,fill="green",stroke="none")|scale(x=1,y=0.5)
show(c7,c8,c9)

#eye
c15=rectangle(x=-10,y=-28,w=15,h=15,fill="white",stroke_width=3)|rotate(45) 
c16=rectangle(x=-29,y=-10,w=15,h=15,fill="white",stroke_width=3)|rotate(45)
c17=c15+c16
c18=c17|scale(x=1,y=0.5)
show(c18)
c19=circle(x=-13,y=-13.5,r=4,fill="black")+circle(x=13,y=-13.5,r=4,fill="black")
show(c19)

#nose
c20=(rectangle(x=-16,y=-17,w=5,h=5,fill="black",stroke_width=3)|rotate(45))|scale(x=0.5,y=1)
show(c20)

#mouth
c21=rectangle(x=-85,y=-75,w=10,h=10,fill="red",stroke_width=2)|rotate(45) 
c22=rectangle(x=-75,y=-85,w=10,h=10,fill="red",stroke_width=2)|rotate(45)
c50=rectangle(x=-87,y=-87,w=10,h=10,fill="red")|rotate(45)
c23=c21+c22+c50
c24=c23|scale(x=1,y=0.3)
c26=(circle(x=17,y=-43,r=6,fill="red")+circle(x=-17,y=-43,r=6,fill="red"))|scale(x=1,y=0.8)
show(c24,c26)

p1=point(x=0,y=3)
p2=point(x=-7,y=8)
p3=point(x=-7,y=-4)
c27=polygon([p1,p2,p3],fill="red")
c28=c27|scale(x=-1)
c51=circle(x=0,y=-1,r=3,fill="yellow")
show(c27,c28,c51)

c29=circle(x=-65,y=65,r=7,stroke_width=2,fill="purple")+circle(x=-65,y=65,r=3,fill="pink")
c30=c29|rotate(90)
c31=c29|rotate(180)
c32=c29|rotate(270)
show(c29,c30,c31,c32)

c55=circle(x=0,y=100,r=7,stroke_width=2,fill="purple")+circle(x=0,y=100,r=3,fill="pink")
c56=c55|rotate(90)
c57=c55|rotate(180)
c58=c55|rotate(270)
show(c55,c56,c57,c58)