Returns a random point within a circle.
By default creates a uniform distribution.
const pt = randomPoint({radius: 5});const pt = randomPoint({radius: 5, x: 10, y: 20});```'Generate points with a gaussian distribution```jsconst pt = randomPoint(circle, { randomSource: Random.gaussian}) Copy
const pt = randomPoint({radius: 5});const pt = randomPoint({radius: 5, x: 10, y: 20});```'Generate points with a gaussian distribution```jsconst pt = randomPoint(circle, { randomSource: Random.gaussian})
Circle to generate a point within
Options
Returns a random point within a circle.
By default creates a uniform distribution.