Code
c = circle()
show(c)
s=rectangle(x=0,y=0,w=200,h=200,z=0,fill="black")
show(s)
r1=rectangle(w=10,h=10,fill="navy")
c1=circle(r=100,fill="lightcoral",stroke="none")
petal=ellipse(x=0,y=10,w=10,h=10,fill="navy")
flower=petal|repeat(45,rotate(10))
flower_link=flower|translate(x=30,y=30)|repeat(8,rotate(45))
e1=flower_link|repeat(3,scale(1.8))
show(c1,e1)
r1=rectangle(w=10,h=10,fill="darkolivegreen")
c1=circle(r=100,fill="lightcoral",stroke="none")
petal=ellipse(x=0,y=10,w=10,h=10,fill="darkolivegreen")
flower=petal|repeat(45,rotate(12))
flower_link=flower|translate(x=30,y=30)|repeat(8,rotate(45))
e1=flower_link|repeat(3,scale(1.7))
show(c1,e1)
r1=rectangle(w=100,h=50,fill="none")
c1=circle(r=125,fill="none",stroke="none")
petal=ellipse(x=0,y=10,w=30,h=20,fill="firebrick")
flower=petal|repeat(12,rotate(40))
flower_link=flower|translate(x=30,y=30)|repeat(8,rotate(35))
e1=flower_link|repeat(3,scale(1.5))
show(c1,e1)
r1=rectangle(w=20,h=50,fill="none")
c1=circle(r=10,fill="goldenrod",stroke="none")
petal=ellipse(x=0,y=10,w=30,h=20,fill="goldenrod")
flower=petal|repeat(12,rotate(12))
flower_link=flower|translate(x=30,y=30)|repeat(8,rotate(65))
e1=flower_link|repeat(3,scale(1.5))
show(c1,e1)
r1=rectangle(w=50,h=25,fill="darkred")
petal=ellipse(x=0,y=10,w=10,h=20,fill="darkred")
flower=petal|repeat(12,rotate(20))
flower_link=flower|translate(x=30,y=30)|repeat(8,rotate(45))
e1=flower_link|repeat(3,scale(1.5))
show(c1,e1)
r1=rectangle(w=25,h=20,fill="brown")
c1=circle(r=125,fill="none",stroke="none")
petal=ellipse(x=0,y=10,w=10,h=20,fill="brown")
flower=petal|repeat(12,rotate(20))
flower_link=flower|translate(x=30,y=30)|repeat(8,rotate(45))
e1=flower_link|repeat(3,scale(1.1))
show(c1,e1)
r1=rectangle(w=50,h=25,fill="red")
petal=ellipse(x=0,y=10,w=10,h=20,fill="saffron")
flower=petal|repeat(12,rotate(20))
flower_link=flower|translate(x=30,y=30)|repeat(8,rotate(45))
e1=flower_link|repeat(3,scale(0.5))
show(c1,e1)
c1=ellipse(r=10,fill="none",stroke="none")
petal=ellipse(x=0,y=10,w=10,h=10,fill="darkgoldenrod")
flower=petal|repeat(45,rotate(10))
flower_link=flower|translate(x=30,y=30)|repeat(8,rotate(45))
e1=flower_link|repeat(5,scale(1))
show(c1,e1)