Code
r1=rectangle (w=300,h=300,fill="white ")
r2= rectangle(w=200, h=200, fill="red",stroke="violet" ) | repeat(9, rotate(10))
show(r1, r2)
C=circle(r=100, fill="yellow" )
C1=circle(r=75, fill ="blue" )
C2=circle(r=50, fill="green")
C3=circle(r=25,fill="violet")
show (C,C1, C2,C3)
r1 = rectangle (w=209,h=209,fill="brown", stroke="brown") | repeat (15,rotate(50))
r2 = rectangle (w=193,h=193,fill="red", stroke="red")|rotate(15) | repeat (15,rotate(50))
r3 = rectangle (w=178,h=178,fill="yellow", stroke="yellow")|rotate(0) | repeat (15,rotate(50))
r4 = rectangle (w=165,h=165,fill="pink", stroke="pink")|rotate(15) | repeat (15,rotate(50))
show(r1,r2,r3,r4)
F=circle (r=100,fill="green", stroke="green" )
F1=circle(r=95,fill="yellow ", stroke ="yellow")
F2=circle (r=90,fill="red", stroke ="red")
F3=circle (r=85,fill="green", stroke ="green" )
F4=circle(r=80,fill="yellow ", stroke ="yellow" )
F5=circle(r=75,fill="red", stroke ="red" )
F6=circle(r=70,fill="green ", stroke ="green" )
F7=circle(r=65,fill="yellow ", stroke ="yellow" )
F8=circle(r=60,fill="red", stroke ="red" )
show(F,F1,F2, F3,F4,F5,F6,F7,F8)
e1=ellipse(x=20, y=0,w=10,fill='yellow') | repeat(36, rotate(10))
e2=ellipse(x=20, y=0,w=10,stroke='red') | repeat(36, rotate(10))
c=circle (r=54, stroke ="red", stroke_width=2)
show(e1, e2,c)
circle()
rc1 = rectangle(w=55,h=55,fill="red",stroke="darken")
rc2 = rectangle(w=53,h=53,fill="blue",stroke="none")
rc3 = rectangle(w=50,h=50,fill="yellow",stroke="none")
rc4 = rectangle(w=48,h=48,fill="green",stroke="none")
rc5 = rectangle(w=46,h=46,fill="lightblue",stroke="none")
r1= rc1| repeat (15,rotate(50))
r2= rc2| repeat (15,rotate(50))
r3= rc3|repeat (15,rotate(50))
r4= rc4|repeat (15,rotate(50))
r5= rc5|repeat (15,rotate(50))
show(r1,r2,r3,r4,r5)