Classdesc

Compute a natural cubic Bézier spline path from a given sequence of points/vertices.

Inspired by http://weitz.de/hobby/

Requires

CubicBezierCurve

Requires

HobbyPath

Requires

Vertex

Constructors

Properties

Methods

Constructors

Properties

vertices: Vertex[]

Member

vertices

Memberof

CatmullRomPath

Instance

utils: {
    naturalControlsClosed: ((coords) => IControlCoords);
    naturalControlsOpen: ((coords) => IControlCoords);
} = ...

Type declaration

  • naturalControlsClosed: ((coords) => IControlCoords)
      • (coords): IControlCoords
      • Parameters

        • coords: number[]

        Returns IControlCoords

  • naturalControlsOpen: ((coords) => IControlCoords)
      • (coords): IControlCoords
      • Parameters

        • coords: number[]

        Returns IControlCoords

Methods