Code
s1 = rectangle (w=209,h=209,fill="red", stroke="red") | repeat (20,rotate(50))
show(s1)
s2=rectangle(w=192,h=192, fill="orange",stroke="orange")|rotate(15)| repeat(20,rotate(50))
show(s2)
s3=rectangle(w=178,h=178,fill="yellow",stroke="yellow")|repeat(20,rotate(50))
show(s3)
s4=rectangle(w=166,h=166,fill="white",stroke="white")|rotate(15)|repeat(20,rotate(50))
show(s4)
r4 = rectangle(w=128,h=128,fill="orange",stroke='orange')
r5 = rectangle(w=128,h=128,fill="orange",stroke='orange',)| rotate(45)
r6 = rectangle(w=110,h=110,fill="yellow",stroke='yellow')
r7 = rectangle(w=110,h=110,fill="yellow",stroke='yellow',)| rotate(45)
r8 = rectangle(w=90,h=90,fill="white",stroke='white')
r9 = rectangle(w=90,h=90,fill="white",stroke='white',)| rotate(45)
r10 = rectangle(w=70,h=70,fill="violet",stroke='violet')
r11 = rectangle(w=70,h=70,fill="violet",stroke='violet',)| rotate(45)
s1 = rectangle (w=209,h=209,fill="red", stroke="red") | repeat (20,rotate(50))
show(s1)
s2=rectangle(w=192,h=192, fill="orange",stroke="orange")|rotate(15)| repeat(20,rotate(50))
show(s2)
s3=rectangle(w=178,h=178,fill="yellow",stroke="yellow")|repeat(20,rotate(50))
show(s3)
s4=rectangle(w=166,h=166,fill="white",stroke="white")|rotate(15)|repeat(20,rotate(50))
show(s4)
c1 = circle(r=100,stroke="#cc0000",fill="white",stroke_width=15)
show(c1)
c2 = circle(r=89.5,fill="green",stroke="none")
show(c2)
r4 = rectangle(w=128,h=128,fill="#660000",stroke="none")
r5 = rectangle(w=128,h=128,fill="#660000",stroke="none")| rotate(45)
r6 = rectangle(w=110,h=110,fill="red",stroke="none")
r7 = rectangle(w=110,h=110,fill="red",stroke="none")| rotate(45)
r8 = rectangle(w=90,h=90,fill="orange",stroke="none")
r9 = rectangle(w=90,h=90,fill="orange",stroke="none")| rotate(45)
r10 = rectangle(w=70,h=70,fill="#ffe6e6",stroke='none')
r11 = rectangle(w=70,h=70,fill="#ffe6e6",stroke='none',)| rotate(45)
show(r4,r5,r6,r7,r8,r9,r10)
e1 = ellipse(w=10,h=59,fill="red",stroke='none')|translate(y=10)|repeat(10,rotate(45))
show(e1)