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.

9 lines (5 loc) 128 B
type ObjOrArray<T> = | T | ObjOrArray<T>[] | { [key:string]: ObjOrArray<T> }; export { ObjOrArray }