Pookkalam by Fathima Farsana.P

Code

c = circle(r=150,fill="#800000",stroke="none")
show(c)
s1 = rectangle(w=212,h=212,fill="#de2e21",stroke="none") | repeat(10,rotate(10))
s2 = rectangle(w=198,h=198,fill="#ffa500",stroke="none") | rotate(5) | repeat(10,rotate(10))
s3 = rectangle(w=182,h=182,fill="#fff000",stroke="none") | repeat(10,rotate(10))
s4 = rectangle(w=168,h=168,fill="#ffffff",stroke="none") | rotate(5) | repeat(10,rotate(10))
show(s1,s2,s3,s4)
c1 = circle(r=108,fill="#ffc0cb",stroke="none")
show(c1)

r1 = rectangle(w=152,h=152,fill="#800000",stroke="none") | repeat(2,rotate(45))
show(r1)
r2 = rectangle (w=135,h=152,fill="#de2e21",stroke="none") 
r3 = r2 | rotate(45)
r4 = r2 | rotate(90)
r5 = r4 | rotate(45)
show(r2,r3,r4,r5)
r6 = rectangle(w=120,h=152,fill="#ffa500",stroke="none") + rectangle(w=135,h=135,fill="#ffa500",stroke="none")
r7 = r6 | rotate(45)
r8 = r6 | rotate(90)
r9 = r8 | rotate(45)
show(r6,r7,r8,r9)
r10 = rectangle(w=105,h=152,fill="#fff000",stroke="none") + rectangle(w=120,h=135,fill="#fff000",stroke="none")
r11 = r10 | rotate(45)
r12 = r10 | rotate(90)
r13 = r12 | rotate(45)
show(r10,r11,r12,r13)
r14 = rectangle(w=90,h=152,fill="#ffffff",stroke="none") + rectangle(w=120,h=120,fill="#ffffff",stroke="none") + rectangle(w=105,h=135,fill="#ffffff",stroke="none")
r15 = r14 | rotate(45)
r16 = r14 | rotate(90)
r17 = r16 | rotate(45)
r18 = r16 | rotate(90)
show(r14,r15,r16,r17)

p1 = point(x=-28.53,y=75.53)
p2 = point(x=28.53,y=75.53)
p3 = point(x=75.53,y=28.53)
p4 = point(x=75.53,y=-28.53)
p5 = point(x=28.53,y=-75.53)
p6 = point(x=-28.53,y=-75.53)
p7 = point(x=-75.53,y=-28.53)
p8 = point(x=-75.53,y=28.53)
p = polygon([p1,p2,p3,p4,p5,p6,p7,p8],fill="#800000",stroke="none")
show(p)
e = ellipse(w=35,h=95,x=0,y=27,fill="#ffff00",stroke="none") | repeat(8,rotate(45))
show(e)
c2 = circle(r=60,fill="#ffa500",stroke="none")
show(c2)
e1 =ellipse(w=15,h=28,x=17,y=27,fill="#de2e21",stroke="none") + ellipse(w=14,h=26,x=16,y=21,fill="#ffa500",stroke="none")
e2 = ellipse(w=30,h=15,x=0,y=43,fill="#de2e21",stroke="none") + ellipse(w=30,h=15,x=0,y=31,fill="#de2e21",stroke="none")
e3 = ellipse(w=26,h=10,x=-8,y=43,fill="#ffa500",stroke="none") + ellipse(w=26,h=10,x=-8,y=31,fill="#ffa500",stroke="none")
show(e1,e2,e3)
dot = circle(r=3,x=18,y=45,fill="#de2e21",stroke="none")
show(dot)
r = rectangle(w=25,h=8,x=-40,y=10,fill="#ffffff",stroke="none") + rectangle(w=8,h=43,x=-40,y=-3,fill="#ffffff",stroke="none")
show(r)
c3 = circle(r=20,x=20,y=-25,fill="#fff000",stroke="none") + circle(r=23,x=14,y=-13,fill="#ffa500",stroke="none")
show(c3)
x1,y1 = 19,-20
x2,y2 = 23,-26
x3,y3 = 11,-23
x4,y4 = 25,-23
x5,y5 = 11,-26
z1 = line(x1,y1,x2,y2,fill="none",stroke="#fff000",stroke_width=1.5)
z2 = line(x2,y2,x3,y3,fill="none",stroke="#fff000",stroke_width=1.5)
z3 = line(x3,y3,x4,y4,fill="none",stroke="#fff000",stroke_width=1.5)
z4 = line(x4,y4,x5,y5,fill="none",stroke="#fff000",stroke_width=1.5)
z5 = line(x5,y5,x1,y1,fill="none",stroke="#fff000",strork_width=1.5)
show(z1,z2,z3,z4,z5)
c4 = circle(r=20,fill="#ffffff",stroke="none") + circle(r=12,fill="#800000",stroke="none")
show(c4)