Code
def outer(side,color):
return rectangle(w=side,h=side,fill=color,stroke ="none")
firstCircle = circle(r=145,fill="black",stroke="none")
show(firstCircle)
maroon=outer(side=203,color="#8b0000")|repeat(10,rotate(10))
show(maroon)
red=outer(side=189,color="#ff0000")|rotate(5)|repeat(10,rotate(10))
show(red)
orange=outer(side=174,color="#ff6700")|rotate(10)|repeat(10,rotate(10))
show(orange)
amber=outer(side=160,color="#ffbf00")|rotate(15)|repeat(10,rotate(10))
show(amber)
c3=circle(r=100,fill="#006600")
show(c3)
r1=rectangle(w=139,h=140,stroke="none",fill="white")|rotate(11)|repeat(11,rotate(30))
r2=rectangle(w=119,h=120,stroke="none", fill="#ff0073")|rotate(10)|repeat(10,rotate(30))
r3=rectangle(w=99,h=100,stroke="none", fill="#5a0c5a")|rotate(10)|repeat(10,rotate(30))
show(r1,r2,r3)
e1=ellipse(x=15, y=0,w=10,fill='yellow') | repeat(36, rotate(10))
e2= ellipse(x=10, y=0,w=10,stroke='red') | repeat(36, rotate(10))
e3= ellipse(x=5, y=0,w=10,stroke='pink') | repeat(36, rotate(10))
show(e1,e2,e3)