Code
c = circle(r=150,fill="#cc0066",stroke='none')
show(c)
def s(color, side):
return rectangle(w=side, h=side, fill=color, stroke='none')
a=s(side=211,color="#ffcc00") | repeat(10, rotate(10))
b=s(side=199, color="#ffeecc") | rotate(5) | repeat(10, rotate(10))
c= s(side=185, color="#800000") | repeat(10, rotate(10))
d= s(side=175, color="white") | rotate(5) | repeat(10, rotate(10))
e= s(side=165, color="#cc0052") | repeat(10, rotate(10))
f=s(side=155,color="red")|repeat(10,rotate(10))
g=s(side=140,color='white')|repeat(10,rotate(10))
show(a,b,c,d,e,f,g)
#boundary
h=circle(r=105,fill="#ffccb3",stroke_width=3,stroke="#800000")
i=circle(r=85,fill="red",stroke="green",stroke_width=3)
j=circle(r=75,fill="yellow",stroke="none")
i1=circle(r=50,fill="#ffeecc",stroke="green",stroke_width=3)
j1=circle(r=75,fill="red",stroke="none")
l=circle(r=7,x=0,y=90,fill="#ff3385",stroke_width=3,stroke="yellow")|repeat(15,rotate(40))
show(h,i,j,l,j1,i1)
#SMALL ROUNDS
z = circle(x=0,y=122,r=3,fill="#ffff33",stroke="none")|repeat(36*2,rotate(5))
z3 = circle(x=0,y=100,r=3,fill="yellow",stroke="#880000")|repeat(36*2,rotate(5))
show(z,z3)
z1 = circle(x=0,y=70,r=3,fill="#ffff33",stroke="none")|repeat(36*2,rotate(5))
show(z1)
e1=ellipse(w=30,h=15,x=17,y=0,stroke='brown',stroke_width=3,fill="red") | rotate(25)
petal=e1 | repeat(30, rotate(45))
show(petal)
c5=circle(r=15,fill='yellow',stroke='yellow')
show(c5)
c6=circle(r=9,fill='orange',stroke='orange')
show(c6)
s5=rectangle(w=90,h=90,fill='yellow',stroke='yellow')|repeat(20,rotate(50))
show(s5)
s6=rectangle(w=82,h=82,fill='#ffcc00',stroke='red')|rotate(15)|repeat(20,rotate(50))
show(s6)
s7=rectangle(w=75,h=75,fill='orange',stroke='orange')|rotate(0)|repeat(20,rotate(50))
show(s7)
s8=rectangle(w=69,h=69,fill='white',stroke='white')|rotate(15)|repeat(20,rotate(50))
show(s8)
s9=rectangle(w=63,h=63,fill='yellow',stroke='yellow')|rotate(0)|repeat(20,rotate(50))
show(s9)
s100=rectangle(w=57,h=57,fill='yellow',stroke='green')|rotate(15)|repeat(20,rotate(50))
show(s100)
e1=ellipse(w=30,h=15,x=17,y=0,stroke='none',stroke_width=3,fill="red") | rotate(25)
petal=e1 | repeat(30, rotate(45))
show(petal)
c5=circle(r=15,fill='#ffcc00',stroke='none')
show(c5)
c6=circle(r=9,fill='#cc0066',stroke='none')
show(c6)