Skip to content

Release 3.0.0

Compare
Choose a tag to compare
@kjerandp kjerandp released this 07 Jan 22:05
· 25 commits to master since this release
69e7a9d

What's Changed

  • Update core to use Barry and Goldman's pyramidal formulation to allow for non-uniform knot sequences. This introduces the new parameter alpha (0-1) to control the distribution of t where 0 = uniform, 0.5 = centripetal and 1 = chordal. The alpha parameter is particular useful if the control points are irregular to avoid loops and cusps. This introduce breaking changes to the exported core functions, where the chord sequence now is a required parameter. The chord sequence can be obtained by calling calcChordSequence, which accepts the four control points for a spline and an alpha value. The main CurveInterpolator class does not have any breaking changes, but now accepts a value for alpha in the options. (https://en.wikipedia.org/wiki/Centripetal_Catmull%E2%80%93Rom_spline)
  • Change to how control points are extrapolated at beginning and end segments of curves.