Generates points on a Vogel spiral - a sunflower-like arrangement of points.
Yields points distributed around a ring.
// 5 points evenly distributed
for (const point of ring(circle, { count: 5})) {
// { x, y }
Fibonacci sphere algorithm. Generates points distributed on a sphere.
Options for a Vogel spiral
Functions for producing points within a shape. Useful for creating patterns.
Overview: