Code
def cir(r,fill,stroke):
c= circle(r=r,fill=fill,stroke=stroke)
return c
def rect(l,fill,stroke,rep,rot1,rot2):
r=rectangle(h=l,w=l,fill=fill,stroke=stroke)
re=r | rotate(rot1)|repeat(rep,rotate(rot2))
return re
def ell(h,w,stroke,fill,stroke_width,rep,rot,x):
e=ellipse(w=w,h=h,x=x,y=0,stroke=stroke,stroke_width=stroke_width,fill=fill)
el= e | repeat(rep,rotate(rot))
return el
c1=cir(r=144,fill='#004225',stroke='none')
r1=rect(l=198,fill='#355e3b',stroke='none',rep=10,rot1=0,rot2=10)
r2=rect(l=185,fill='#fff44f',stroke='none',rep=10,rot1=5,rot2=10)
r3=rect(l=172,fill='#ffa500',stroke='none',rep=10,rot1=0,rot2=10)
r4=rect(l=159,fill='#800000',stroke='none',rep=10,rot1=5,rot2=10)
r5=rect(l=146,fill='#000000',stroke='none',rep=10,rot1=0,rot2=10)
c2=cir(r=88,fill='#ffffff',stroke='none')
r6=rect(l=123,fill='#Ecdd9a',stroke='none',rep=4,rot1=0,rot2=22.5)
r7=rect(l=106,fill='#e4d00a',stroke='none',rep=4,rot1=11.25,rot2=22.5)
r8=rect(l=89,fill='#F08300',stroke='none',rep=4,rot1=0,rot2=22.5)
r9=rect(l=72,fill='#a94c4c',stroke='none',rep=4,rot1=11.25,rot2=22.5)
r10=rect(l=55,fill='#562424',stroke='none',rep=4,rot1=0,rot2=22.5)
e1=ell(w=24.5,h=12.25,x=15.25,stroke='#F08300',stroke_width=3,fill='#fff44f',rep=8,rot=45)
c3=cir(r=4,fill='#562424',stroke='none')
show(c1,r1,r2,r3,r4,r5,c2,r6,r7,r8,r9,r10,e1,c3)