Returns points across one or more hypotrochoids
Returns points across one or more
hypotrochoids for varying values
npm install hypotrochoid
hypotrochoid(distance, radii, t, [result])
distanceis the distance of each point from the interior circle(s).
radiiis an array of circle radii - use two elements for a simple hypotrochoid. Three or more will sum the results for each adjacent pair of elements.
tthe point across the curve.
resultis an array you can use to output the X/Y position to - otherwise, a new array will be created and returned.