Code
c1 = circle(r=150)
show(c1)
c2= circle(r=128)
show(c2)
c3 = circle(r=105)
show(c3)
c4 = circle(r=70)
show(c4)
c5 = circle(r=50)
show(c5)
c6 = circle(r=20)
show(c6)
c7 = circle(r=10)
show(c7)
c1= circle(r=150,fill="red", stroke="black", stroke_width="1")
show(c1)
flower=ellipse(w=180, h=300, fill="gold", stroke="none") | repeat(6,rotate(30))
show(flower)
c2= circle(r=128,fill="red", stroke="white", stroke_width=7)
show(c2)
flower2=ellipse(w=150, h=250, fill="OrangeRed", stroke="none") | repeat(6,rotate(30))
flower3=ellipse(w=140, h=250, fill="green", stroke="none") | repeat(6,rotate(30))
show(flower2,flower3)
c3= circle(r=105,fill="Maroon",stroke="black", stroke_width=2)
show(c3)
shape = rectangle(w=150, h=150, fill="OrangeRed", stroke="none")
show(shape)
shape = shape | repeat(10, rotate(30))
show(shape)
c4 = circle(r=70,fill="red", stroke="DarkGreen", stroke_width=10)
show(c4)
shape = rectangle(w=100, h=100, fill="blue", stroke="none")
show(shape)
shape = shape | repeat(10,rotate(30))
show(shape)
c5 = circle(r=50,fill="RosyBrown", stroke="black")
show(c5)
c6= circle(r=20,fill="blue",stroke="black")
show(c6)
c7= circle(r=10,fill="blue",stroke="black")
show(c7)
s1 = ellipse(h=100,w=50,fill="Gold",stroke="none")
s2 = s1 | rotate(90)
show(s1, s2)
pistil = circle(r=10, fill="white", stroke="black", stroke_width=2)
inner_petals= ellipse(w=80, h=10, fill="red") | repeat(6, rotate(30))
show(inner_petals, pistil)