Code
x, y = 0, 0
r = 50
for i in range(5):
c = circle(x, y, r) | repeat(20,rotate(30))
show(c)
x = x + 20
x, y = 50, 0
r = 50
x, y = 0, 0
r = 50
for i in range(5):
c = rectangle(x, y, r) | repeat(20,rotate(30))
show(c)
x = x + 20
x, y = 50, 0
r = 150
for i in range(5):
c = rectangle(x, y, r,stroke="green",fill="green") | repeat(20,rotate(30))
show(c)
x = x + 20
x, y = 50, 0
r = 50
for i in range(1):
c = circle(x, y, r,stroke="red",fill="red") | repeat(100,rotate(10))
show(c)
x = x + 50
x, y = 0, 0
r = 50
x, y = 0, 0
w, h = 20, 20
r = 50
for i in range(5):
c = rectangle(w, h, r) | repeat(20,rotate(30))
show(c)
x = x + 20
x, y = 50, 0
r = 100
for i in range(1):
c = circle(x, y, r,stroke="black") | repeat(100,rotate(10))
show(c)
x = x + 50
show(circle(r=10,fill="yellow",stroke="none"))