Code
dark_green = fill = color(r=26, g=124, b=39)
dark_pink = color(r=233, g=36, b=89)
orange = color(r=255, g=153, b=51)
yellow = color(r=255, g=255, b=0)
white = fill1 = color(r=255, g=255, b=255)
p1 = point(x=104, y=7)
p2 = point(x=104, y=-7)
p3 = point(x=111, y=-12)
p4 = point(x=111, y=12)
rect1=rectangle(w=150,h=150,fill="#820a0a",stroke="none")|repeat(20,rotate(50))
rect2=rectangle(w=170,h=170,fill="#ce0606",stroke="none")|rotate(15)|repeat(20,rotate(50))
rect3=rectangle(w=190,h=190,fill="#fc9802",stroke="none")|repeat(20,rotate(50))
rect4=rectangle(w=210,h=210,fill="#fceb02",stroke="none")|rotate(15)|repeat(20,rotate(50))|scale(0.98)
show(rect4,rect3,rect2,rect1)
c4=circle(r=80,fill="#fceb02",stroke="none")
c3=circle(r=70,fill="#fc9802",stroke="none")
c2=circle(r=60,fill="#ce0606",stroke="none")
c1=circle(r=55,fill="#fceb02",stroke="none")
show(c4,c3,c2,c1)
inner_circle = circle(r=50, fill=dark_green, stroke=dark_pink, stroke_width=10)
show(inner_circle)
inner_sqr_rot_a = rectangle(w=35.36, h=35.36, x=18,
y=18, fill=orange, stroke='none')
inner_sqr_rot_b = rectangle(w=35.36, h=35.36, x=18, y=18,
fill=yellow, stroke='none') | rotate(45)
inner_sqr_rot = combine(
[inner_sqr_rot_a, inner_sqr_rot_b]) | repeat(4, rotate(90))
show(inner_sqr_rot)
p1 = point(x=0, y=0)
p2 = point(x=35.36, y=35.36)
p3 = point(x=35.36, y=0)
inner_sqr_rot_cover = polygon([p1, p2, p3], fill=orange, stroke='none')
show(inner_sqr_rot_cover)