Code
c = circle(r=150, fill='#0a0603')
show(c)
c = circle(r=150, fill='#0a0603')
def c(color, radius):
return circle(r=radius, fill=color, stroke='none')
def square(color, side):
return rectangle(w=side, h=side, fill=color, stroke='none')
maroon_layer = square(side=212.5,color='#972402') | repeat(10, rotate(10))
dmaroon_layer = square(side=212.5,color='#cb3205') | repeat(4, rotate(20))
orange_layer = square(side=196, color='#fd6002') | rotate(5) | repeat(10, rotate(10))
yellow_layer = square(side=182, color='#eafe24') | repeat(10, rotate(10))
lyellow_layer = square(side=182, color='#edbb0a') | repeat(4, rotate(20))
light_yellow_layer = square(side=168, color='#f1fd7f') | rotate(5) | repeat(10, rotate(10))
show(maroon_layer,dmaroon_layer,orange_layer,yellow_layer,lyellow_layer, light_yellow_layer)
l=line(x1=0,y1=0,x2=150,y2=0,stroke='#ffed4a') | repeat(5, rotate(2))
l1=l | repeat(8,rotate(45))
#show(l,l1)
c1=c(radius=107,color='#089e00')
show(c1)
e1= ellipse(x=52,w=104,h=70,fill='#fcfc12',stroke='none')
e2= e1 | repeat(8, rotate(45))
show(e2)
f = color(r=255, g=0, b=0)
c1 = ellipse(w=150, h=10, fill=f, stroke="yellow",stroke_width=2) | repeat(62, rotate(8))
c2 = circle(r=80, fill="green")
c3 = circle(r=30, fill="yellow",stroke="none")
c4 = rectangle(w=45, h=45, fill="green") | repeat(20, rotate(20) | scale(0.9))
c5 = rectangle(w=100,h=100, fill="#fafbff", stroke="yellow",stroke_width=30)|repeat(200, rotate(100))
c6 = circle(r=200, fill = "#34d5eb",stroke="none")
show(c2 , c1 ,c3 ,c4)