Code
c = circle(r=150,fill="black")
show(c)
r1 = rectangle(w=210,h=210,fill = "white",stroke="none") | repeat(10,rotate(10))
show(r1)
r2 = rectangle(w=200,h=200,fill = "#301934",stroke="none") |rotate(5) | repeat(10,rotate(10))
show(r2)
r3 = rectangle(w=190,h=190,fill = "#ff0000",stroke="none") |rotate(10) | repeat(10,rotate(10))
show(r3)
r4 = rectangle(w=180,h=180,fill = "#ff6700",stroke="none") |rotate(15) | repeat(10,rotate(10))
show(r3)
r5 = rectangle(w=170,h=170,fill = "#ffbf00",stroke="none") |rotate(10) | repeat(10,rotate(10))
show(r4)
r6 = rectangle(w=160,h=160,fill = "#ffbf00",stroke="none") |rotate(25) | repeat(10,rotate(10))
show(r5)
c2 = circle(r=110,fill = "yellow",stroke = "none")
show(c2)
shape = circle(x=95, y=0, r=10,fill = "orange",stroke="none") | repeat(12, rotate(30))
show(shape)
s1 = circle(x=95,y=10,r=10,fill ="red",stroke="none") | repeat(12,rotate(30))
show(s1)
shape2 = rectangle(w=120, h=120,fill = "red",stroke_width = 2.5,stroke = "maroon") | repeat(9, rotate(10))
show(shape2)
c3 = circle(r=50,fill = "purple",stroke = "yellow")
show(c3)
ell1=ellipse(w=30,h=17,x=20,y=0,stroke='yellow',stroke_width=3,fill="#e75480") | rotate(22.5)
petal=ell1 | repeat(9, rotate(45))
show(petal)