Code
c1=circle(r=135,fill="#260205",stroke="none")
show(c1)
def square(color, side):
return rectangle(w=side, h=side, fill=color, stroke='none')
s1=square(side=180,color='#870813') | repeat(15, rotate(15))
s2=square(side=160,color='#E66D10') | rotate(67.5)|repeat(12, rotate(15))
s3=square(side=140,color='orange') | rotate(57.5)|repeat(12, rotate(15))
s4=square(side=120,color='#EBCD60') | rotate(47.5)|repeat(12, rotate(15))
show(s1, s2, s3, s4)
c2=circle(r=73,fill="#260205",stroke="none")
show(c2)
s5=square(side=100,color='#870813') | repeat(2, rotate(45))
s6=square(side=80,color='#f4ff59') | rotate(15)| repeat(25, rotate(18))
s7=square(side=66,color='#A3CF4C') | rotate(15)| repeat(20, rotate(15))
show(s5, s6, s7)
c3=circle(r=36,fill="green")
show(c3)
e1=ellipse(w=30,h=17,x=20,y=0,stroke='#9e0808',stroke_width=3,fill="#f4ff59") | rotate(22.5)
petal=e1 | repeat(9, rotate(45))
show(petal)
a1 = ellipse(x=20, y=0, w=20 ,h=12, fill= "red", stroke = '#d95471', stroke_width = 3) | repeat(9, rotate(45))
a2 = ellipse(x=12, y=0, w=20 ,h=15, fill= "#23A82A", stroke = "#fff315") | repeat(9, rotate(45))
show(a1, a2)