Code
def square(color, side):
return rectangle(w=side, h=side, fill=color, stroke='none')
def layer(side,color):
return square(color=color,side=side)| repeat(10,rotate(10))
#outer_Layer
bg= circle(r=150,fill="black",stroke="none")
l6 = layer(side=200,color="#ce0606")
l1 = layer(side=182,color="gold")
l2 = layer(side=164,color="yellow")|rotate(5)
l3 = layer(side=150,color="#FCFAFA")
l4 = layer(side=138,color="black")| rotate (5)
l5 = layer(side=133,color="purple")| rotate (5)
show(bg,l6,l1,l2,l3,l4,l5)
colors =["violet","yellow","#FFA500","#DC143C","maroon"]
for i in reversed(range(len(colors))):
c= circle(r=15+i*10,fill=colors[i],stroke="none")
show(c)