Pookkalam by Afreen Poly

Code

c1=circle(r=148.5,stroke = "black",stroke_width=2)
c2=circle(r=145,fill="black")
c3=circle(r=90,fill="white",stroke="black",stroke_width=3)
e1=ellipse(h=287,w=64,fill="red",stroke="none")|repeat(20,rotate(20))
e2=ellipse(h=250,w=35,fill="Yellow",stroke="none")|rotate(25)
e3=e2|repeat(20,rotate(20))
e4=ellipse(h=250,w=35,fill="orange",stroke="none")|rotate(15)
e5=e4|repeat(20,rotate(20))

show(c1,c2,c3,e1,e2,e3,e4,e5)


s6=circle(r=110,fill="yellow ")
show(s6)
s1=circle(r=100,fill="orange")
show(s1)
c2=circle(r=90,fill='yellow',stroke='none')
show(c2)
s5=rectangle(w=200,h=44,fill="#ab9f1a ",stroke="none")|rotate(45)|scale(x=0.5)|repeat(8,rotate(45))
show(s5)
dot= circle(r=3,x=28.5,y=71,fill="red")|repeat(8,rotate(45))
show(dot)
c3=circle(r=70,fill='#FF4500')
show(c3)
c4=circle(r=60,fill='#D1B000')
show(c4)
c5=circle(r=50,fill='#FFCD58')
show(c5)


c1=circle(r=50,fill='#ef1122',stroke='none')
c2=circle(r=45,fill='#d21a28',stroke='#fee331',stroke_width=2)
c3=circle(x=37,r=4,stroke_width=2,stroke='#e29f4c')
c4= c3 | repeat(20,rotate(18))
c5=circle(r=30,stroke='#08fb1d',stroke_width=2)
c6=circle(r=28,stroke='#fc7e11',stroke_width=3)
c7=circle(x=22,r=2,stroke='none',fill='#f8f5f2')
c8= c7 | repeat(20,rotate(18))
c9=circle(r=12,stroke='#fdc211',stroke_width=10)
kathakali=combine([c1,c2,c4,c5,c6,c8,c9])
k= kathakali | translate(y=22)
show(k)
s1=rectangle(w=40,h=40,stroke='white')
s2=s1|rotate(45)|translate(y=25)
s3=s1|translate(y=25)
c1=circle(y=-30,r=25,fill='#19bd36',stroke='none')
e1=ellipse(y=-40,w=90,h=45,fill='white',stroke='none')
e2=ellipse(y=-43,w=70,h=30,fill='#d6d0cd',stroke='none')
c2=circle(r=27,fill='#fd5d18',stroke='none')
c3=circle(r=27,stroke='#eafe24')
c4=c3| repeat(5,translate(y=-5))
r1=rectangle(y=-20,w=50,h=15,fill='#19bd36',stroke='none')
l1=line(x1=-30,y1=0,x2=30,y2=0,stroke_width=5,stroke='#972402')
l2=line(x1=-30,y1=-5,x2=30,y2=-5,stroke_width=5,stroke='red')
l3=line(x1=-30,y1=-10,x2=30,y2=-10,stroke_width=5,stroke='#972402')
l4=line(x1=-30,y1=-15,x2=30,y2=-15,stroke_width=5,stroke='red')
s4=rectangle(y=30,w=20,h=15,fill='#fd5d18',stroke='none')
l5=line(x1=-13,y1=30,x2=13,y2=30,stroke_width=5,stroke='#cb3205')
c5=circle(r=9,fill='#fee331',stroke='none')
c6=circle(r=3,fill='#b72918',stroke='none')
c7=circle(x=5,r=1,fill='#b72918',stroke='none')
c8=c7|repeat(8,rotate(45))
c9=combine([c5,c6,c8])
c10=c9|translate(x=-29,y=-24)
c11=c9|translate(x=29,y=-24)
r2=rectangle(y=-23,w=20,h=10,fill='#fee331',stroke='none')
l6=line(x1=3,y1=-30,x2=15,y2=-25,stroke_width=2,stroke='black')
l7=line(x1=-3,y1=-30,x2=-15,y2=-25,stroke_width=2,stroke='black')
l8=line(x1=3,y1=-34,x2=15,y2=-34,stroke_width=2,stroke='black')
l9=line(x1=-3,y1=-34,x2=-15,y2=-34,stroke_width=2,stroke='black')
l10=line(x1=-4,y1=-48,x2=4,y2=-48,stroke_width=2,stroke='red')
l11=line(x1=-8,y1=-45,x2=-4,y2=-48,stroke_width=2,stroke='red')
l12=line(x1=8,y1=-45,x2=4,y2=-48,stroke_width=2,stroke='red')
c12=circle(x=-8,y=-45,r=2,fill='red',stroke='none')
c13=circle(x=8,y=-45,r=2,fill='red',stroke='none')
c14=circle(x=0,y=-25,r=2,fill='red',stroke='none')
c15=circle(x=0,y=-20,r=2,fill='black',stroke='none')
show(s2,s3,s3,e1,e2,c2,c4,c1,r1,l1,l2,l3,l4,s4,l5,c10,c11,r2,l6,l7,l8,l9,l10,l11,l12,c12,c13,c14,c15)

#mask
e1=ellipse(h=35,w=18,fill='black')|rotate(90)|translate(y=-45)
show(e1)
l1=line(x1=0,y1=0,x2=20,y2=28)|rotate(16)|translate(x=11,y=-50)
show (l1)
l2=line(x1=0,y1=0,x2=-20,y2=28)|rotate(-16)|translate(x=-11,y=-50)
show (l2)
l3=line(x1=0,y1=0,x2=-11,y2=15)|rotate(-3)|translate(x=-15,y=-50)
show (l3)
l4=line(x1=0,y1=0,x2=0,y2=3)|translate(x=-25,y=-35)
show(l4)
l5=line(x1=0,y1=0,x2=11,y2=15)|rotate(3)|translate(x=15,y=-50)
show (l5)
l6=line(x1=0,y1=0,x2=0,y2=3)|translate(x=25,y=-35)
show(l6)