Code
c=circle(r=120,fill=color(r=255,g=255,b=0),stroke="blue",stroke_width=3)
2
show(c)
3
c = circle(x=0,y=122,r=5,fill=color(r=55,g=150,b=50),stroke="none")|repeat(36*2,rotate(5))
4
show(c)
5
p1=point(x=25,y=70)
6
p2=point(x=-25,y=70)
7
p3=point(x=0,y=110)
8
p4=point(x=0,y=30)
9
s = polygon([p1,p4,p2,p3],fill=color(r=55,g=55,b=55),stroke="purple",stroke_width=3) | repeat(19,rotate(95))
10
show(s)
11
c=circle(r=60,fill=color(r=255,g=255,b=0),stroke="none")
12
show(c)
13
c = circle(x=0,y=59,r=5,fill=color(r=255,g=0,b=0),stroke="none")|repeat(36*2,rotate(10))
14
show(c)
15
c = circle(x=0,y=59,r=2,fill=color(r=255,g=215,b=0),stroke="none")|repeat(36*2,rotate(10))
16
show(c)
17
shape = ellipse(w=100,h=50,fill=color(r=255,g=145,b=0),stroke="green",stroke_width=2)| repeat(6, rotate(60))
18
show(shape)
19
c=circle(r=35,fill=color(r=255,g=255,b=0),stroke="green",stroke_width=2)
20
show(c)
21
c=circle(x=0,y=30,r=2,fill=color(r=255,g=20,b=147),stroke="none")|repeat(36,rotate(10))
22
show(c)
23
c=circle(x=0,y=15,r=2,fill=color(r=255,g=20,b=147),stroke="none")|repeat(18,rotate(20))
24
show(c)
25
c = circle(r=10,fill="red",stroke="none")
26
show(c)
27
c = circle(r=5,fill="white",stroke="none")
28
show(c)
29