Code
c = circle(r=150, fill='darkgreen')
def square(color, side):
return rectangle(w=side, h=side, fill=color, stroke='none')
green_layer = square(side=212.5,color='#99cc00') | repeat(10, rotate(10))
yellow_layer = square(side=198, color='#F8E63D') | rotate(5) | repeat(10, rotate(10))
dark_yellow_layer = square(side=182, color='#a92822') | repeat(10, rotate(10))
orange_layer = square(side=168, color='#F36636') | rotate(5) | repeat(10, rotate(10))
red_layer = square(side=155, color='#73264d') | repeat(10, rotate(10))
border=circle(r=150,stroke_width=2)
white=circle(r=98,fill='white')
cir=circle(r=50,fill='yellow')
rec=rectangle(w=50,h=50,fill='black')
shapeRect = rectangle(h=100,w=100,fill="#a92822",stroke="#000000") | repeat(9,rotate(10))
outerCircle = circle(r=72,fill="#f56eee",stroke="none")#ff99cc#392585
in_layer = square(side=136,color='#ffd480') | repeat(10, rotate(10))
in_layer1 = square(side=0,color='#ff4d4d') | rotate(5) | repeat(10, rotate(10))
h=circle(r=3,fill='#a92822',y=129,stroke='none')|repeat(25, rotate(20))
z=circle(r=3,fill='#a92822',x=25,y=25,stroke='none')|repeat(10, rotate(40))
sc1 = circle(r=45,y=57,fill="#392585",stroke="none")
sc2 = circle(r=35,y=57,fill="#99cc00",stroke="none")
sc3 = circle(r=25,y=57,fill="darkgreen",stroke="none")
subCircle = sc1+sc2+sc3
subCircle2 = subCircle | translate(y=-114)
Combine = subCircle+subCircle2
Combine2 = Combine | rotate(90)
ad = Combine+Combine2
ad2 = ad |rotate(45)
show(ad,ad2)
centre=circle(r=24,fill='#73264d')+circle(r=10,fill='#5a077d',stroke_width=1)
s=circle(r=5,fill='yellow')
s1=rectangle(w=15,h=15,x=18,y=18,fill='#ff3300',stroke='none')|repeat(10,rotate(40))
shape = ellipse(w=4,h=5,fill='#73264d',x=0,y=0,stroke='black')|repeat(20,rotate(40))
show(c,green_layer,yellow_layer,dark_yellow_layer,orange_layer,border,red_layer,ad,ad2,in_layer1,outerCircle,shapeRect,cir,centre,s,s1,h,z,shape)