Pookkalam by Arsha shaji

Code

c1=circle(r=149, fill="black")

r1=rectangle(w=200,h=200, fill="#800000", stroke="none") | repeat (15, rotate (20))

r2 = rectangle(w=180, h=180, fill="red", stroke="none") | rotate (5)| repeat (15, rotate (20))

r3 = rectangle(w=160, h=160, fill="#ff6700", stroke="none") |repeat (15, rotate(20)) 
r4 = rectangle(w=140, h=140, fill="#fcd12a", stroke="none") | rotate (5)| repeat (15, rotate (20))

r5 = rectangle(w=120, h=120, fill="#faf3c0", stroke="none") |repeat (15, rotate (20))

show(c1,r1,r2,r3,r4,r5)
c2=circle(r=70,fill="orange",stroke="none")
show(c2)
s1 = ellipse(w=140,h=50,stroke="none",fill="purple")+ellipse(w=130,h=50,stroke="none",fill="#a32cc4")+ellipse(w=120,h=50,stroke="none",fill="#af69ef")+ellipse(w=110,h=50,stroke="none",fill="#e39ff6")
                                                                                                             
s2 = s1 | rotate(45)
s3 = s1 | rotate(90)
s4 = s1 | rotate(135)
show(s1,s2,s3,s4)

r6=rectangle(w=75,h=75, fill="white", stroke="none") | repeat (10, rotate (20))
show(r6)
c3=circle(r=45,fill="#e39ff6",stroke="none")
show(c3)

s5 = ellipse(w=110,h=40,stroke="#e11584",fill="#e11584")+ellipse(w=100,h=40,stroke="none",fill="#fc46aa")+ellipse(w=90,h=40,fill="#fd5da8",stroke="none")+ellipse(w=80,h=40,fill="#fa86c4",stroke="none")
s6 = s5 | rotate(45)
s7 = s5 | rotate(90)
s8 = s5 | rotate(135)
show(s5,s6,s7,s8)
r7=rectangle(w=50,h=50, fill="white", stroke="none") | repeat (10, rotate (20))
show(r7)
c4=circle(r=32,fill="white",stroke="none")
show(c4)

s9 = ellipse(w=71,h=30,stroke="none",fill="#fc4c4e")+ellipse(w=65,h=30,stroke="none",fill="#fe7d6a")+ellipse(w=60,h=30,fill="#fc9483",stroke="none")+ellipse(w=53,h=30,fill="#fdab9f",stroke="none")
s10 = s9 | rotate(45)
s11 = s9| rotate(90)
s12 = s9 | rotate(135)
show(s9,s10,s11,s12)
c5=circle(r=22,fill="#241571",stroke="none")+circle(r=20,stroke="#1520a6",stroke_width=2,fill="white")+circle(r=19,stroke_width=2,stroke="#3944bc")+circle(r=17,stroke="#0492c2",stroke_width="3")+circle(r=15,stroke="#63c5da",stroke_width="3")+circle(r=13,stroke="#82eefd",stroke_width="3")+circle(r=11,stroke="#c2e0f9",stroke_width="3")+circle(r=9,stroke="#dff7fa",stroke_width="4")+circle(r=2,stroke="#d9dddc",stroke_width="3")+circle(r=1,stroke="white",stroke_width="2")
show(c5)

s9 = ellipse(x=10,y=0,w=22,h=10,stroke="yellow",stroke_width=2,fill="#b80f0a")
s10 = s9 | rotate(90)
s11 = s9| rotate(180)
s12 = s9 | rotate(270)
show(s9,s10,s11,s12) 
c6=circle(r=9,fill="gray",stroke="black",stroke_width="2")+circle(r=8,stroke="#48494b",stroke_width="2")+circle(r=6,stroke="#777b7e",stroke_width="3")+circle(r=4,stroke="#999da0",stroke_width="3")

show(c6)
c7=circle(x=0,y=0,r=1,fill="white",a=0.5)

s9 = ellipse(x=5,y=0,w=10,h=6,stroke="yellow",stroke_width=1,fill="#b80f0a")
s10 = s9 | rotate(90)
s11 = s9| rotate(180)
s12 = s9 | rotate(270)
show(s9,s10,s11,s12) 
def dot(x,y,r):
    circle(x=x,y=y,r=r,fill="white")
    return
dot=circle(x=0,y=0,r=3,fill="green")
show(dot)