Code
def rect(w,h,f,s,trans):
r = rectangle(w=w, h=h, fill=f, stroke=s) | translate(trans)
return(r)
c1 = circle(r=145, fill='black', stroke_width=11)
r1 = rect(10,10,'#047E12','none',144)
r11 = rect(10,10,'#EB1919','none',144) | translate(y=10)
r111 = (r1+r11) | repeat(36, rotate(10)) ##outer green,white
r2 = rect(10,10,'#80FF00','none',134)
r22 = rect(10,10,'#D8E510','none',134) | translate(y=10)
r222 = (r2+r22) | repeat(36, rotate(10))
r3 = rect(10,10,'red','none',124)
r33 = rect(10,10,'blue','none',124) | translate(y=10)
r333 = (r3+r33) | repeat(36, rotate(10))
r4 = rect(10,10,'black','none',114)
r44 = rect(10,10,'cyan','none',114) | translate(y=10)
r444 = (r4+r44) | repeat(36, rotate(10))
r5 = rect(10,10,'#9237E7','none',104)
r55 = rect(10,10,'blue','none',104) | translate(y=10)
r555 = (r5+r55) | repeat(36, rotate(10))
show(c1, r111, r222, r333, r444, r555)
r6 = rect(150,150,'#2080DD','white',0)
r66 = r6 | repeat(36, rotate(10))
r666 = r66 | scale(0.97)
c2 = ellipse(h=280, w= 70, stroke='white', stroke_width='2')
c22 = c2 | repeat(36, rotate(10))
c222 = c22 | scale(0.97)
c3 = ellipse(h=50, w= 25, fill='#FF7700', stroke='#FF7700', stroke_width='4')
c33 = c3 | repeat(3, rotate(60))
c333 = c33 | scale(1.2)
show(r666, c222, c333)
c4 = circle(r=14, fill='#FF7700', stroke='none')
show(c4)
c5 = ellipse(h=50, w= 25, fill='red', stroke='red', stroke_width='1')
c55 = c5 | repeat(3, rotate(60))
c555 = c55 | scale(0.95)
show(c555)
c6 = ellipse(h=50, w= 25, fill='white', stroke='white', stroke_width='1')
c66 = c6 | repeat(3, rotate(60))
c666 = c66 | scale(0.55)
show(c666)