Code
#outer circle
c = circle(r=145,stroke="none",stroke_width=5,fill="#264d59")
show(c)
#outer 2
def square(col,sid):
return rectangle(w=sid,h=sid,fill=col ,stroke="none")
s1 = square(sid=135,col="white")|repeat(15,rotate(15))
#s2 = square(sid=135,col="#F8E63D")|rotate(-3)|repeat(4,rotate(10))
s3 = square(sid=153,col="#ea4492")|repeat(15,rotate(77))
s4 = square(sid=180,col="#fe7a15")|repeat(15,rotate(77))
s5 = square(sid=207,col="#F8E63D")|repeat(15,rotate(67.5))
show(s5,s4,s3,s1)
#inner circle2
c1 = circle(r=85,stroke="none",fill="#51087E")
show(c1)
#outer one
s5 = square(sid=115,col="white")|repeat(10,rotate(10))
s6 = square(sid=95,col="#F8E63D")|repeat(10,rotate(10))
s7 = square(sid=75,col="#bb1447")|repeat(10,rotate(10))
s8 = square(sid=55,col="brown")|repeat(10,rotate(10))
show(s5,s6,s7,s8)
#inner circle 1
c2 = circle(r=45,stroke="none",fill="white")
show(c2)
s9=rectangle(x=16.5,y=16.5,w=27,h=27,fill="#a455ff",stroke="none")
s10=s9 | rotate(90)
s12= rectangle(x=16.5,y=16.5,w=27,h=27,fill="#d43acc",stroke="none")
s13=s12 | rotate(45)
show(s9)
show(s13)
show(s10)
show(s13 | rotate(90))
show(s10 | rotate(90))
show(s13 | rotate(180))
show(s10 | rotate(180))
show(s13 | rotate(270))
c1 = circle(r=8,stroke="none",fill="wjite")
show(c1)