Pookkalam by Aswin R Nath

Code

c1 =circle(r=150,fill='green')

show (c1)

#outer layer

sublayer1 = rectangle (w=209,h=209,fill="brown", stroke="white  ") | repeat (50,rotate(50))

show(sublayer1)

sublayer2=rectangle(w=192,h=192, fill="red",stroke="black")|rotate(15)| repeat(80,rotate(50))

show(sublayer2)

sublayer3=rectangle(w=178,h=178,fill="blue",stroke="green")|repeat(20,rotate(50))

show(sublayer3)

sublayer4=rectangle(w=180,h=180,fill="orange",stroke="white")|rotate(15)|repeat(20,rotate(50))

show(sublayer4)

#middle layer

c2=circle(r=115,fill='black',stroke='yellow')

show(c2)

e1=ellipse(h=200,w=50,fill='white',stroke_width=0.2)|repeat(15,rotate(40)) 

c = circle(r=120,fill='#168D6D')
c0 = circle(r=50, fill='#fa3471')

m0=rectangle(h=184,w=184,fill="yellow")|repeat(100,rotate(20))

m2=rectangle(h=70,w=170,fill="blue")|repeat(100,rotate(20))

m5=rectangle(h=150,w=150,fill="orange")|repeat(100,rotate(20))

m4=rectangle(h=150,w=150,fill="blue")|repeat(100,rotate(20))

c2=circle(r=90,fill="yellow")

c3=ellipse(h=100,w=5,fill="orange")|repeat(200,rotate(200))

c4=ellipse(h=200,w=11,fill="blue")|repeat(200,rotate(200))

c5=ellipse(h=200,w=20,fill="red")|repeat(200,rotate(200))

c6=ellipse(h=200,w=35,fill="grey")|repeat(200,rotate(200))

c7=ellipse(h=200,w=35,fill="yellow")|repeat(200,rotate(200))

c8=ellipse(h=200,w=50,fill="black")|repeat(200,rotate(200))

c9=ellipse(h=200,w=70,fill="yellow")|repeat(200,rotate(200))

e1=circle(r=50,fill="grey")

e2=circle(r=48,fill="red") 

r0=rectangle ( h=69,w=69,fill="green")

r3=rectangle(h=69,w=69,fill="brown")|rotate(45)

r1=rectangle(h=65,w=65,fill="red",stroke="white")|repeat(2,rotate(45))

r5=rectangle(h=53,w=53,fill="black")

r4=rectangle(h=53,w=53,fill="grey")|rotate(45)

r2=rectangle(h=50,w=50,fill="yellow",stroke="green")|repeat(2,rotate(45))

c10=circle(r=30,fill="pink")

c11=circle(r=27,fill='blue') 

c12=ellipse(h=50,w=10,fill='#168D6D')|repeat(200,rotate(200))

c13=ellipse(h=40,w=8,fill='#21D4A4')|repeat(200,rotate(200))

c14=circle(r=10,fill="yellow")
c15=circle(r=1,fill="white")
show (c,m0,m2,m5,m4,c2,r2,c9,c8,c7,c6,c5,c4,c3,e1,e2,r0,r3,r1,r5,r4,r2,c10,c11,c12,c13,c14)