Code
c = circle(x=0,y=0,r=150,fill="green",stroke="green")
show(c)
c1=circle(x=0,y=0,r=100,fill="none",stroke="none")
show(c1)
c2=circle(x=100,y=0,r=50,fill="maroon",stroke="maroon")
show(c2)
c3=circle(x=96,y=25,r=50,fill="yellow",stroke="yellow")
show(c3)
c4=circle(x=88,y=50,r=50,fill="orange",stroke="orange")
show(c4)
c5=circle(x=70,y=70,r=50,fill="red",stroke="red")
show(c5)
c6=circle(x=46,y=88,r=50,fill="maroon",stroke="maroon")
show(c6)
c7=circle(x=20,y=99,r=50,fill="yellow",stroke="yellow")
show(c7)
c8=circle(x=-14,y=100,r=50,fill="orange",stroke="orange")
show(c8)
c9=circle(x=-40,y=93,r=50,fill="red",stokr="red")
show(c9)
c10=circle(x=-58,y=82,r=50,fill="maroon",stroke="maroon")
show(c10)
c11=circle(x=-74,y=66,r=50,fill="yellow",stroke="yellow")
show(c11)
c19=circle(x=-89,y=44,r=50,fill="orange",stroke="orange")
show(c19)
c20=circle(x=-94,y=22,r=50,fill="red",stroke="red")
show(c20)
c12=circle(x=-100,y=0,r=50,fill="maroon",stroke="maroon")
show(c12)
c13=circle(x=-96,y=-30,r=50,fill="yellow",stroke="yellow")
show(c13)
c14=circle(x=-83,y=-54,r=50,fill="orange",stroke="orange")
show(c14)
c17=circle(x=-68,y=-74,r=50,fill="red",stroke="red")
show(c17)
c16=circle(x=-40,y=-92,r=50,fill="maroon",stroke="maroon")
show(c16)
c21=circle(x=0,y=-100,r=50,fill="yellow",stroke="yellow")
show(c21)
c22=circle(x=25,y=-98,r=50,fill="orange",stroke="orange")
show(c22)
c23=circle(x=50,y=-88,r=50,fill="red",stroke="red")
show(c23)
c24=circle(x=68,y=-72,r=50,fill="maroon",stroke="maroon")
show(c24)
c18=circle(x=86,y=-50,r=50,fill="yellow",stroke="yellow")
show(c18)
c15=circle(x=100,y=-25,r=50,fill="orange",stroke="orange")
show(c15)
c25=circle(x=100,y=0,r=50,fill="red",stroke="red")
c26=circle(x=110,y=0,r=40,fill="maroon",stroke="maroon")
c27=circle(x=120,y=5,r=30,fill="yellow",stroke="yellow")
c28=circle(x=130,y=8,r=20,fill="orange",stroke="orange")
show(c25,c26,c27,c28)
c29=circle(x=0,y=0,r=110,fill="white",stroke="none")
c30=circle(x=0,y=0,r=103,fill="green",stroke="none")
show(c29,c30)
for i in range(10):
shape1 = rectangle(w=160, h=160,fill='green',stroke='green') | repeat(10, rotate(10))
shape2 = rectangle(w=135, h=135,fill='yellow',stroke='none') | repeat(10, rotate(10))
shape3 = rectangle(w=140, h=140,fill='orange',stroke='none') | repeat(10, rotate(10))
shape4 = rectangle(w=155, h=155,fill='red') | repeat(10, rotate(10))
show(shape1,shape2,shape3,shape4)
shape1 =circle(x=74, y=0, r=10,fill="green",stroke="green")| repeat(36, rotate(10))
show(shape1)
r1=color(r=100,b=50,g=90)
s1 =circle(x=30,y=0,r=30,fill="none",stroke=r1,stroke_width="10")+circle(x=40,y=0,r=15,fill="orange",stroke="green",stroke_width="5")
s2 =circle(x=30,y=0,r=30,fill="none",stroke=r1,stroke_width="10")+circle(x=40,y=0,r=15,fill="orange",stroke="green",stroke_width="5") |rotate(90)
s3 =circle(x=30,y=0,r=30,fill="none",stroke=r1,stroke_width="10")+circle(x=40,y=0,r=15,fill="orange",stroke="green",stroke_width="5") | rotate(180)
s4 = circle(x=30,y=0,r=30,fill="none",stroke=r1,stroke_width="10")+circle(x=40,y=0,r=15,fill="orange",stroke="green",stroke_width="5")| rotate(270)
show(s1,s2,s3,s4)
c31=circle(x=0,y=0,r=152,stroke="yellow",stroke_width="10")
show(c31)
r1=color(r=70,b=80,g=100)
c32=circle(x=0,y=0,r=110,fill="none",stroke="maroon",stroke_width="5")
show(c32)