UNPKG

cubic-beziers-through-points

Version:

A function to fit fair (bending energy minimizing) cubic bezier curves through a set of given ordered points in the plane.

4 lines (3 loc) 366 B
import { cubicBeziersThroughPoints, cubicsAndEnergyThroughPoints, energyThroughPoints } from './cubic-beziers-through-points.js'; import { cubicBeziersThroughPoints_C2 } from './cubic-beziers-through-points-c2/cubic-beziers-through-points-c2.js'; export { cubicBeziersThroughPoints, cubicBeziersThroughPoints_C2, cubicsAndEnergyThroughPoints, energyThroughPoints };