Code
c4=circle(r=135,fill="#33201C",stroke="none")
show(c4)
def square(color, side):
return rectangle(w=side, h=side, fill=color, stroke='none')
br1=square(side=135,color='#F3F1E6 ') | repeat(15, rotate(15))
br2=square(side=151.5,color='#F3F1E6 ') | rotate(22.5)|repeat(3, rotate(15))
br3=square(side=151.5,color='yellow') | rotate(67.5)|repeat(3, rotate(15))
br4=square(side=170,color='yellow') | rotate(30)|repeat(2, rotate(15))
br5=square(side=170,color='#E77618') | rotate(30)|repeat(10, rotate(15))
br6=square(side=190,color='#E77618') | rotate(37.5)|repeat(1, rotate(15))
br7=square(side=190,color='#BF321D') | rotate(37.5)|repeat(10, rotate(15))
show(br7,br6,br5,br4,br3,br2,br1)
c3=circle(r=85,fill="black")
show(c3)
r1 = square(side=65,color='#3B3231') | repeat(10, rotate(30))
r2 = square(side=79,color='#F0D212') | rotate(15)| repeat(10, rotate(30))
r3= square(side=97,color='#E77618') | repeat(10, rotate(30))
r4=square(side=117,color='#AB2222') | rotate(15)| repeat(10, rotate(30))
show(r4,r3,r2,r1)
c2=circle(r=36,fill="#a1202b")
show(c2)
e1=ellipse(w=15,h=10,x=20,y=0,stroke='black',stroke_width=0,fill="#F3F1E6 ") | rotate(22.5)
petal=e1 | repeat(8, rotate(45))
show(petal)
c1=circle(r=5,fill="#F0D212",stroke="none")
show(c1)