Pookkalam by Nikhil Ravi

Code

c3=circle(r=155,fill="black", stroke="none") 
c2=circle(r=151,fill="red",stroke="none")
c1=circle(r=147,fill="green",stroke="none")
show(c3,c2,c1)

rect1=rectangle(w=150,h=150,fill="#e705fc",stroke="none")|repeat(20,rotate(50))
rect2=rectangle(w=170,h=170,fill="#f0fc05",stroke="none")|rotate(15)|repeat(20,rotate(50))
rect3=rectangle(w=190,h=190,fill="#fc9802",stroke="none")|repeat(20,rotate(50))
rect4=rectangle(w=210,h=210,fill="#fceb02",stroke="none")|rotate(15)|repeat(20,rotate(50))|scale(0.98)
show(rect4,rect3,rect2,rect1)

c1=ellipse(w=190,h=30,fill="#fc9802",stroke="none")|repeat(8,rotate(50))
c2=ellipse(w=190,h=30,fill="#fc9802",stroke="none")|repeat(9,rotate(40))
c3=ellipse(w=190,h=30,fill="#fc9802",stroke="none")|repeat(100,rotate(10))
show(c3,c2,c1)


c4=circle(r=80,fill="yellow",stroke="none")
c3=circle(r=70,fill="#EDA63D",stroke="none")
c2=circle(r=65,fill="#f2b707",stroke="none")
c1=circle(r=60,fill="#fac528",stroke="none")
show(c4,c3,c2,c1)


c1=ellipse(w=190,h=30,fill="#fc9802",stroke="none")|repeat(8,rotate(50))
c2=ellipse(w=190,h=30,fill="#fc9802",stroke="none")|repeat(9,rotate(40))
c3=ellipse(w=190,h=30,fill="#fc9802",stroke="none")|repeat(100,rotate(10))
show(c3,c2,c1)





rect1=rectangle(w=150,h=150,fill="#820a0a",stroke="none")|repeat(20,rotate(50))
rect2=rectangle(w=170,h=170,fill="#ce0606",stroke="none")|rotate(15)|repeat(20,rotate(50))
rect3=rectangle(w=190,h=190,fill="#fc9802",stroke="none")|repeat(20,rotate(50))
rect4=rectangle(w=210,h=210,fill="#fceb02",stroke="none")|rotate(15)|repeat(20,rotate(50))|scale(0.98)
show(rect4,rect3,rect2,rect1)




t2=rectangle(h=130,w=120,fill='#54032',stroke="none")|rotate(45)|repeat(10,rotate(36))
t3=rectangle(h=120,w=120,fill='#85d',stroke="none")|rotate(45)|repeat(10,rotate(36))
t4=rectangle(h=110,w=120,fill='#b885',stroke="none")|rotate(45)|repeat(10,rotate(36))
t5=rectangle(h=100,w=120,fill='#f9a4',stroke="none")|rotate(45)|repeat(10,rotate(36))
show(t2,t3,t4,t5)


e1=ellipse(h=200,w=80,fill="#880627")|repeat(6,rotate(60))
e2=ellipse(h=250,w=80,fill="#aa0831",stroke="none")|repeat(6,rotate(60))|scale(0.75)
e3=ellipse(h=250,w=80,fill="#cc0a3b",stroke="none")|repeat(6,rotate(60))|scale(0.65)
e4=ellipse(h=250,w=80,fill="#ee0b45",stroke="none")|repeat(6,rotate(60))|scale(0.55)
e5=ellipse(h=250,w=80,fill="#f4295d",stroke="none")|repeat(6,rotate(60))|scale(0.45)
flower=combine([e1,e2,e3,e4,e5])
show(flower|scale(0.86))





pis = ellipse(w=80,h=10,fill="orange")
pis2 = pis | repeat(10,rotate(20))
show(pis2)
      
    
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="magenta")
show(c10,c11,c12,c13,c14)