Pookkalam by Mridula V Madhu

Code

maincircle1=circle(r=150,fill="#003300",stroke="none")
maincircle2=circle(r=145,fill="#004d00",stroke="none")
maincircle3=circle(r=140,fill="#006600",stroke="none")
maincircle4=circle(r=135,fill="#008000",stroke="none")
show(maincircle1,maincircle2,maincircle3,maincircle4)

deep=circle(r=65,x=0,y=85,fill="#b30000",stroke="none")|rotate(30)
deep_0=deep|repeat(6,rotate(60))
deep1=circle(r=55,x=0,y=85,fill="#ff8566",stroke="none")|rotate(30)
deep_1=deep1|repeat(6,rotate(60))
deep2=circle(r=45,x=0,y=85,fill="#ffc2b3",stroke="none")|rotate(30)
deep_2=deep2|repeat(6,rotate(60))
deep3=circle(r=35,x=0,y=85,fill="#ffd6cc",stroke="none")|rotate(30)
deep_3=deep3|repeat(6,rotate(60))
show(deep_0,deep_1,deep_2,deep_3)

arc1= circle(r=75,fill="#006622",stroke="none")
arc2=ellipse(w=30,h=150,fill="#ffffcc",stroke="none")
arc3=ellipse(w=30,h=150,fill="#ffff66",stroke="none")|rotate(15)
arc31=ellipse(w=30,h=150,fill="#ffff66",stroke="none")|rotate(345)
arc4=ellipse(w=30,h=150,fill="#ffff33",stroke="none")|rotate(30)
arc41=ellipse(w=30,h=150,fill="#ffff33",stroke="none")|rotate(330)
arc5=ellipse(w=30,h=150,fill="#ffcc00",stroke="none")|rotate(45)
arc51=ellipse(w=30,h=150,fill="#ffcc00",stroke="none")|rotate(315)
arc6=ellipse(w=30,h=150,fill="#ff6600",stroke="none")|rotate(60)
arc61=ellipse(w=30,h=150,fill="#ff6600",stroke="none")|rotate(300)
arc7=ellipse(w=30,h=150,fill="#e60000",stroke="none")|rotate(75)
arc71=ellipse(w=30,h=150,fill="#e60000",stroke="none")|rotate(285)
arc8=ellipse(w=30,h=150,fill="#990000",stroke="none")|rotate(90)
arc81=ellipse(w=30,h=150,fill="#990000",stroke="none")|rotate(270)
arccircle=circle(r=25,x=0,y=15,fill="#ffffcc",stroke="none")
arc=combine([arc2,arc3,arc31,arc4,arc41,arc5,arc51,arc6,arc61,arc7,arc71,arc8,arc81,arccircle])|translate(x=0,y=75)|repeat(6,rotate(60))
arc_r1=arc|scale(.9)
show(arc_r1)

k0=circle(r=150,fill="#660000",stroke="none")
k1 = rectangle(w=212,h=212,fill="#990033",stroke="none") | repeat(10,  rotate(10))
k2 = rectangle(w=212,h=212,fill="#e6004c",stroke="none")  | repeat(5,  rotate(20))
k3 = rectangle(w=197,h=197,fill="#e65c00",stroke="none") | rotate(355) | repeat(10,  rotate(10))
k4 = rectangle(w=197,h=197,fill="#ff751a",stroke="none") | rotate(355) | repeat(5,  rotate(20))
k5 = rectangle(w=182,h=182,fill="#e6b800",stroke="none") | repeat(10,  rotate(10))
k6 = rectangle(w=182,h=182,fill="#ffd11a",stroke="none") | repeat(5,  rotate(20))
k7 = rectangle(w=167,h=167,fill="#ffff66",stroke="none") | rotate(355) | repeat(10,  rotate(10))
k8 = rectangle(w=167,h=167,fill="#ffff99",stroke="none") | rotate(355) | repeat(5,  rotate(20))
k=combine([k0,k1,k2,k3,k4,k5,k6,k7,k8])
outer=k|scale(.65)
show(outer)

a1= circle(r=100,x=0,y=50,fill="red",stroke="none")
a2= circle(r=90,x=0,y=45,fill="yellow",stroke="none")
a3= circle(r=75,x=0,y=40,fill="white",stroke="none")
a31=circle(r=4,x=0,y=84,fill="green",stroke="none")|repeat(36,rotate(10))|translate(x=0,y=40)
a4= circle(r=65,x=0,y=35,fill="darkred",stroke="none")
part1=combine([a1,a2,a3,a31,a4])

j1=ellipse(h=50,w=115,x=0,y=35,fill= "orange",stroke="none")
j2=ellipse(h=55,w=90,x=0,y=55,fill= "yellow",stroke="none")
j3=ellipse(h=70,w=60,x=0,y=75,fill= "red",stroke_width=5,stroke="#b30000")
part2=combine([j3,j2,j1])

below1 = ellipse(h=50,w=150,x=0,y=-50,fill= "#e6e6e6",stroke="none")
below2 = ellipse(h=55,w=180,x=0,y=-50,fill= "#f2f2f2",stroke="none")
below3 = ellipse(h=60,w=195,x=0,y=-50,fill= "#e6e6e6",stroke="none")
b1=ellipse(h=65,w=60,x=15,y=-5,fill= "#00b300",stroke="none")
b2 = ellipse(h=65,w=60,x=-15,y=-5,fill= "#00b300",stroke="none")
b3 = ellipse(h=60,w=75,x=5,y=-50,fill= "#00b300",stroke="none")|rotate(25)
b4 = ellipse(h=60,w=75,x=-5,y=-50,fill= "#00b300",stroke="none")|rotate(335)
part3=combine([below3,below2,below1,b1,b2,b3,b4])

lip1 = ellipse(h=10,w=40,x=0,y=-50,fill= "red",stroke="none")
lip2= circle(r=8,x=-25,y=-50,fill= "red")
lip3= circle(r=8,x=25,y=-50,fill= "red")
part4=combine([lip3,lip2,lip1])

k1=ellipse(h=17,w=7,x=0,y=-30,fill= "#00802b",stroke="none")|rotate(5)
k2=ellipse(h=17,w=7,x=0,y=-30,fill= "#00802b",stroke="none")|rotate(355)
part5=combine([k1,k2])

i1=ellipse(h=10,w=25,x=-20,y=-5,fill= "white")
i2=ellipse(h=10,w=25,x=20,y=-5,fill= "white")
i3=circle(r=4,x=-20,y=-5,fill= "black")
i4=circle(r=4,x=20,y=-5,fill= "black")
part6=combine([i1,i2,i3,i4])

e1=circle(r=8,x=-55,y=-15,fill= "yellow")
e2=circle(r=8,x=55,y=-15,fill= "yellow")
e3=circle(r=13,x=-55,y=-15,fill= "red")
e4=circle(r=13,x=55,y=-15,fill= "red")
part7=combine([e3,e4,e1,e2])

d1=point(x=-22,y=40)
d2=point(x=22,y=40)
d3=point(x=-22,y=15)
d4=point(x=22,y=15)
d5=point(x=0,y=5)
part8=polygon([d1,d2,d4,d5,d3],fill= "yellow")

g1=point(x=-16,y=36)
g2=point(x=16,y=36)
g3=point(x=-16,y=19)
g4=point(x=16,y=19)
g5=point(x=0,y=9)
part9=polygon([g1,g2,g4,g5,g3],fill= "red")

kadakali=combine([part1,part2,part3,part4,part5,part6,part7,part8,part9])|translate(y=-35)
kadakali1=kadakali|scale(.5)
show(kadakali1)

tink1=rectangle(h=12.5,w=35.4,x=18.2,y=43.75,fill="#66ffff",stroke="none")
tink2=rectangle(h=12.5,w=9.6,x=44.2,y=43.75,fill="#00cccc",stroke="none")
tink3=rectangle(h=12.5,w=48,x=25,y=25,fill="#ffcc00",stroke="none")
tink4=rectangle(h=12.5,w=23,x=11.5,y=6.25,fill="#ff3300",stroke="none")
tink5=rectangle(h=12.5,w=10.4,x=32.2,y=6.25,fill="#66ff66",stroke="none")
tink6=rectangle(h=12.5,w=8.6,x=44.7,y=6.25,fill="#b37700",stroke="none")
tink=combine([tink1,tink2,tink3,tink4,tink5,tink6])|scale(.8)|translate(x=108,y=-150)
show(tink)