Pookkalam by Mirsana

Code

c = circle()
show(c)


l=ellipse(w=30,h=17,x=20,y=0,stroke="gray",stroke_width=1,fill="PeachPuff") | rotate(22.5)

flower=l | repeat(9, rotate(45))

show(flower)

c9 = ellipse(w=10, h=5, fill='white') | translate( x=90, y=10)

c10 = c9 | scale(0.47)

c11 = c10 | repeat(120, rotate(8))
sublayer1 = rectangle (w=209,h=209,fill="pink", stroke="black  ") | repeat (20,rotate(50))

show(sublayer1)

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

show(sublayer2)

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

show(sublayer3)

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

show(sublayer4)


circle
c2=circle(r=106,fill='grey',stroke='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=100,fill="yellow")

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")

c3=ellipse(h=200,w=5,fill="yellow")|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))
show(c5,c4,c2,m4,m5,m2,m0,c0,c3)
m9=circle(x=10,y=10,r=10)
e