Yields points distributed around a ring.
// 5 points evenly distributedfor (const point of ring(circle, { count: 5})) { // { x, y }}// Get a list of points, spaced by 10 degreesconst points = [...ring(circle, { degrees: 0.1 })] Copy
// 5 points evenly distributedfor (const point of ring(circle, { count: 5})) { // { x, y }}// Get a list of points, spaced by 10 degreesconst points = [...ring(circle, { degrees: 0.1 })]
Yields points distributed around a ring.