Pookkalam by Annet Maria

Code

c1 =circle(r=150,fill='darkred',stroke='black',stroke_width=(1.5))

show (c1)
#outer layer

sublayer1 = rectangle (w=209,h=209,fill='firebrick', stroke='black',stroke_width=(1.5)) | repeat (30,rotate(20))

show(sublayer1)
sublayer2=rectangle(w=192,h=192, fill='DarkOrange',stroke='black',stroke_width=(1.5))|rotate(15)| repeat(30,rotate(20))
show(sublayer2)
sublayer3=rectangle(w=178,h=178,fill='Orange',stroke='black',stroke_width=(1.5))|repeat(30,rotate(20))

show(sublayer3)
sublayer4=rectangle(w=166,h=166,fill='yellow',stroke='black',stroke_width=(1.5))|rotate(15)|repeat(30,rotate(20))

show(sublayer4)
sublayer5=rectangle(w=155,h=155,fill='#f2e7b6',stroke='black',stroke_width=(1.5))|repeat(30,rotate(20))

show(sublayer5)
#middle layer

c2=circle(r=97,fill='LightYellow',stroke='black',stroke_width=(1.5))

show(c2)
e1=ellipse(h=190,w=30,fill='#2a4018',stroke='black',stroke_width=1.5)|repeat(20,rotate(40))
show(e1)
c = circle(r=88,fill='#415929', stroke='#415929')
show(c)

a=ellipse(w=80,h=160,stroke="white",stroke_width=(2))|repeat(20,rotate(9))
show(a)

#elipse
e4=ellipse(w=50,h=160,fill="darkred",stroke="black",stroke_width=(1.5))|repeat(6,rotate(60))
show(e4)
c14=circle(r=42,fill='white',stroke='white')
show(c14)
e5=ellipse(w=40,h=140,fill="firebrick",stroke="black",stroke_width=(1.5))|repeat(6,rotate(60))
show(e5)
c13=circle(r=35,fill='white',stroke='white')
show(c13)
e6=ellipse(w=30,h=120,fill="darkorange",stroke="black",stroke_width=(1.5))|repeat(6,rotate(60))
show(e6)
c12=circle(r=25,fill='white',stroke='white')
show(c12)
e7=ellipse(w=20,h=100,fill="orange",stroke="black",stroke_width=(1.5))|repeat(6,rotate(60))
show(e7)
c15=circle(r=17,fill='white',stroke='white')
show(c15)
e8=ellipse(w=10,h=80,fill="yellow",stroke="black",stroke_width=(1.5))|repeat(6,rotate(60))
show(e8)
e9=ellipse(w=5,h=60,fill="white",stroke="#f2e7b6")|repeat(6,rotate(60))
show(e9)

c11=circle(r=8,fill='white',stroke='white')
show(c11)
#hashtag
x1, y1 = -145, -149
x2, y2 = -145, -140
x3, y3 = -140, -149
x4, y4 = -140, -140

z1 = line(x1, y1, x2, y2)
z2 = line(x4, y4, x3, y3)

x5, y5 = -150, -146
x6, y6 = -135, -146
x7, y7 = -150, -143
x8, y8 = -135, -143

z3 = line(x5, y5, x6, y6)
z4 = line(x7, y7, x8, y8)

show(z1,z2,z3,z4)

#V
x8, y8 = -134, -140
x9, y9 = -128, -140
x10, y10 = -131, -149

z5=line(x8, y8,x10, y10)
z6=line(x9, y9,x10, y10)
show(z5, z6)

#A
x11, y11 = -126, -140
x12, y12 = -129, -149
x13, y13 = -123, -149

z7=line(x11, y11,x12, y12)
z8=line(x11, y11,x13, y13)
show(z7, z8)

#C
x14, y14 = -122, -140
x15, y15 = -122, -149
x16, y16 = -118, -149
x17, y17 = -118, -140

z9=line(x14, y14,x15, y15)
z10=line(x14, y14,x17, y17)
z11=line(x15, y15,x16, y16)
show(z9, z10, z11)

#C
x18, y18 = -116, -140
x19, y19 = -116, -149
x20, y20 = -112, -149
x21, y21 = -112, -140

z12=line(x18, y18,x19, y19)
z13=line(x18, y18,x21, y21)
z14=line(x19, y19,x20, y20)
show(z12, z13, z14)

#I
x18, y18 = -110, -140
x19, y19 = -110, -149

z13=line(x18, y18,x19, y19)
show(z13)

#N
x18, y18 = -107, -140
x19, y19 = -107, -149
x20, y20 = -103, -149
x21, y21 = -103, -140

z15=line(x18, y18,x19, y19)
z16=line(x18, y18,x20, y20)
z17=line(x21, y21,x20, y20)
show(z15, z16, z17)

#E
x21, y21 = -95, -140
x22, y22 = -100, -140
x23, y23 = -95, -149
x24, y24 = -100, -145
x25, y25 = -95, -145
x26, y26 = -100, -149

z18=line(x21, y21,x22, y22)
z19=line(x22, y22,x26, y26)
z20=line(x24, y24,x25, y25)
z21=line(x23, y23,x26, y26)
show(z18, z19, z20, z21)

#M
x26, y26 = 145, -146
x27, y27 = 148, -149
x28, y28 = 143, -149
x29, y29 = 148, -140
x30, y30 = 143, -140

z22=line(x28, y28,x30, y30)
z23=line(x30, y30,x26, y26)
z24=line(x27, y27,x29, y29)
z25=line(x29, y29,x26, y26)
show(z22, z23, z24, z25)

#A
x31, y31 = 136, -149
x33, y33 = 140, -149
x32, y32 = 138, -140

z26=line(x31, y31,x32, y32)
z27=line(x32, y32,x33, y33)
show(z26, z27)

#N
x33, y33 = 129, -140
x34, y34 = 129, -149
x35, y35 = 133, -149
x36, y36 = 133, -140

z28=line(x33, y33,x34, y34)
z29=line(x33, y33,x35, y35)
z30=line(x35, y35,x36, y36)
show(z28, z29, z30)

#O
x37, y37 = 123, -140
x38, y38 = 123, -149
x39, y39 = 126, -149
x40, y40 = 126, -140

z31=line(x37, y37,x38, y38)
z32=line(x38, y38,x39, y39)
z33=line(x39, y39,x40, y40)
z34=line(x37, y37,x40, y40)
show(z31, z32, z33, z34)

#H
x41, y41 = 117, -140
x42, y42 = 117, -145
x43, y43 = 117, -149
x44, y44 = 120, -140
x45, y45 = 120, -145
x46, y46 = 120, -149

z35=line(x41, y41,x43, y43)
z36=line(x44, y44,x46, y46)
z37=line(x42, y42,x45, y45)
show(z35, z36, z37)

#T
x47, y47 = 110, -140
x48, y48 = 112, -140
x49, y49 = 114, -140
x50, y50 = 112, -149

z38=line(x47, y47,x49, y49)
z39=line(x48, y48,x50, y50)
show(z38, z39)

#U
x51, y51 = 104, -140
x52, y52 = 104, -149
x53, y53 = 107, -140
x54, y54 = 107, -149

z40=line(x51, y51,x52, y52)
z41=line(x52, y52,x54, y54)
z42=line(x54, y54,x53, y53)
show(z40, z41, z42)

#D
x55, y55 = 97, -140
x56, y56 = 101, -145
x57, y57 = 97, -149

z43=line(x55, y55,x56, y56)
z44=line(x56, y56,x57, y57)
z45=line(x55, y55,x57, y57)
show(z43, z44, z45)

#E
x58, y58 = 94, -140
x59, y59 = 94, -145
x60, y60 = 94, -149
x61, y61 = 90, -140
x62, y62 = 90, -145
x63, y63 = 90, -149

z46=line(x61, y61,x58, y58)
z47=line(x62, y62,x59, y59)
z48=line(x63, y63,x60, y60)
z49=line(x61, y61,x63, y63)
show(z46, z47, z48, z49)