Pookkalam by Abhishek kumar

Code

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

show (c1)

#outer layer

sublayer1 = rectangle (w=209,h=209,fill="yellow", stroke="black ") | repeat (20,rotate(80))

show(sublayer1)

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

show(sublayer2)

sublayer3=rectangle(w=178,h=178,fill="yellow",stroke="orange")|repeat(20,rotate(40))

show(sublayer3)

sublayer4=rectangle(w=166,h=166,fill="pink",stroke="white")|rotate(15)|repeat(20,rotate(20))

show(sublayer4)

#middle layer

c2=circle(r=106,fill='white',stroke='black') + circle(r=95,fill='purple') + circle(r=89,fill='green') 


show(c2)

e1=ellipse(h=165,w=30,fill='sky blue',stroke_width=0.2)|repeat(15,rotate(40)) 

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

c0=circle(r=130,fill="red")

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

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

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

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

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