Pookkalam by ADARSH R

Code

c = circle(r=150,fill='green')
show(c)
layer1=rectangle(w=210,h=210,fill='red')|repeat(20,rotate(50))
show(layer1)
layer2=rectangle(w=196,h=196,fill='orange')| rotate(15)| repeat(20,rotate(50))
show(layer2)
layer3=rectangle(w=182,h=182,fill='yellow')|repeat(20,rotate(50))
show(layer3)
layer4=rectangle(w=168,h=168,fill='white')| rotate(15)| repeat(20,rotate(50))
show(layer4)

c1= circle(r=105,fill='green')
show(c1)
r1=rectangle(w=140,h=140,fill='red')|repeat(3,rotate(30))
r2=rectangle(w=125,h=125,fill='pink')|repeat(3,rotate(30))
r3=rectangle(w=110,h=110,fill='blue')|repeat(3,rotate(30))
r4=rectangle(w=95,h=95,fill='pink')|repeat(3,rotate(30))
show(r1,r2,r3,r4)
r5=rectangle(w=68,h=68,fill='white')
e1=ellipse(w=28,h=14,x=17,y=0,fill='red')
petal=e1|repeat(30,rotate(45))
petal=e1|repeat(60,rotate(45))
show(petal)