Pookkalam by Edwin liby

Code

bg=rectangle(w=300,h=300,fill="white")
show(bg)

c1=circle(r=140,fill="#B31B1B",stroke="none")  #INNER CIRCLE
show(c1) 

z1 = circle(x=100,y=0,r=5,fill="#A50B89",stroke="white")   
z2 = circle(x=100,y=0,r=10,fill="#00B85C",stroke="white")  
z3 = circle(x=100,y=0,r=20,fill="#FF8C00",stroke="white")  
z4 = circle(x=100,y=0,r=30,fill="#FFDB49",stroke="white") 
z5 = circle(x=100,y=0,r=40,fill="violet",stroke="white")  
z6= circle(x=100,y=0,r=48,fill="#FF8C00",stroke="#E67E00")

shape = combine([z6,z5,z4,z3, z2, z1])|repeat(8,rotate(45))
shape1 = combine([z4,z3, z2, z1])|rotate(22.5)|repeat(8,rotate(45))
show(shape,shape1)

f=circle(r=100,fill="#C24949",stroke="#B31B1B",stroke_width=2)
show(f)

t1=point(x=60,y=25)
t2=point(x=99,y=0)
t3=point(x=60,y=-25)
v3=polygon([t1,t2,t3],fill="#FFDB49",stroke="white")|repeat(8,rotate(45))
v4=polygon([t1,t2,t3],fill="pink",stroke="#E13586",stroke_width=2)|rotate(22.5)|repeat(8,rotate(45))
show(v3,v4)

pre_c1=circle(r=65,fill="pink",stroke="none")
show(pre_c1)

cc=circle(r=20,fill="white")
cc1=circle(x=35,y=0,r=25,fill="#FF8C00",stroke="white")|rotate(28)|repeat(6,rotate(60))
cc2=circle(x=35,y=0,r=20,fill="#00B85C",stroke="none")|rotate(28)|repeat(6,rotate(60))
cc3=circle(x=35,y=0,r=15,fill="#FFDB49",stroke="none")|rotate(28)|repeat(6,rotate(60))
cc4=circle(x=37,y=0,r=30,fill="#C24949",stroke="none")|rotate(28)|repeat(6,rotate(60))
show(cc4,cc,cc1,cc2,cc3,)


e1=ellipse(w=10,h=5,x=25,fill=("#4E90B7"),stroke="white")|repeat(6,rotate(60))
e2=ellipse(w=19,h=5,x=0,y=0,fill=("#E4B6DC"),stroke="#A50B89")|repeat(6,rotate(30))
e3=ellipse(w=20,h=5,x=0,y=0,fill=("#D98D8D"),stroke="#B31B1B")|repeat(6,rotate(30))
show(e1,e2)
flower=e3|translate(x=35,y=0)|rotate(28)|repeat(6,rotate(60))
show(flower)
e4=ellipse(w=20,h=5,x=0,y=0,fill=("#F499A7"),stroke="#E30022")|repeat(6,rotate(30))
flower2=e4|translate(x=141,y=0)|rotate(22)|repeat(8,rotate(45))
show(flower2)
e5=ellipse(w=20,h=5,x=0,y=0,fill=("violet"),stroke="#A50B89")|repeat(6,rotate(30))
flower3=e5|translate(x=81,y=0)|rotate(45)|repeat(8,rotate(45))
show(flower3)