Code
c = circle(r=150,fill="black")
show(c)
maroon = rectangle(w=211,h=211,fill="maroon",stroke="maroon")|repeat(30,rotate(50))
red = rectangle(w=195,h=195,fill="red",stroke="red")|rotate(15)|repeat(30,rotate(50))
orange = rectangle(w=179,h=179,fill="orange",stroke="orange")|rotate(20)|repeat(30,rotate(50))
yellow = rectangle(w=165,h=165,fill="yellow",stroke="yellow")|rotate(15)|repeat(30,rotate(50))
white = rectangle(w=152,h=152,fill="white",stroke="white")|rotate(20)|repeat(30,rotate(50))
show(maroon,red,orange,yellow,white)
c1 = circle(r=99,fill="white", stroke="white")
show(c1)
shape = ellipse(stroke="red") | repeat(60, rotate(5))
show(shape)
c11=circle(r=50,fill='red',stroke="none")
show(c11)
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)
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)