Code
def circles(x, y, r, fill):
c = circle(x, y, r, fill=fill , stroke="none")
show(c)
circles(0, 0, 149 , "black")
circles(0, 0, 145 , "red")
circles(0, 0, 141, "yellow")
circles(0, 0, 137, "white")
circles(0, 0, 133, "red")
circles(0, 0, 117, "yellow")
p1 = point(x=138, y=0)
p2 = point(x=131, y=7)
p3 = point(x=124, y=0)
p4 = point(x=131, y=-7)
shape = polygon([p1, p2, p3, p4], fill="black", stroke="none") | repeat(60, rotate(6))
show(shape)
p1 = point(x=124, y=0)
p2 = point(x=117, y=7)
p3 = point(x=110, y=0)
p4 = point(x=117, y=-7)
shape = polygon([p1, p2, p3, p4], fill="orange", stroke="none") | repeat(60, rotate(6))
show(shape)
circles(0, 0, 103, "#32CD32")
p5 = point(x=110, y=0)
p6 = point(x=103, y=7)
p7 = point(x=96, y=0)
p8 = point(x=103, y=-7)
shape2 = polygon([p5, p6, p7, p8], fill="white", stroke="none") | repeat(60, rotate(6))
show(shape2)
circles(0, 0, 90, "#FFFFFF")
shape = circle(x=83, y=0, r=3 , fill="#0000ff", stroke="none") | repeat(60, rotate(6))
show(shape)
circles(0, 0, 77, "black")
circles(0, 0, 72, "#ff00ff")
circles(0, 0, 67, "#FFF0F5")
p1 = point(x=50, y=10)
p2 = point(x=50, y=-10)
p3 = point(x=76, y=0)
shape = polygon([p1, p2, p3],fill="black", stroke="none") | repeat(12, rotate(30))
show(shape)
c= circle(48, 0, 10, fill="black", stroke="none") | repeat(12, rotate(30))
show(c)
p1 = point(x=50, y=7)
p2 = point(x=50, y=-7)
p3 = point(x=76, y=0)
shape = polygon([p1, p2, p3],fill="red", stroke="none") | repeat(12, rotate(30))
show(shape)
c= circle(48, 0, 7, fill="red", stroke="none") | repeat(12, rotate(30))
show(c)
p1 = point(x=50, y=4)
p2 = point(x=50, y=-4)
p3 = point(x=76, y=0)
shape = polygon([p1, p2, p3],fill="yellow", stroke="none") | repeat(12, rotate(30))
show(shape)
c= circle(48, 0, 4, fill="yellow", stroke="none") | repeat(12, rotate(30))
show(c)
circles(0, 0, 38, "red")
circles(0, 0, 34, "orange")
circles(0, 0, 30, "yellow")
circles(0, 0, 26, "white")
p1 = point(x=0, y=0)
p2 = point(x=22, y=0)
shape = polygon([p1, p2],stroke="yellow", stroke_width="2") | repeat(24, rotate(15))
show(shape)