three_js_curves library

Classes

ArcCurve
Alias for EllipseCurve.
CatmullRomCurve3
Create a smooth 3d spline curve from a series of points using the Catmull-Rom algorithm.
CinquefoilKnot
CubicBezierCurve
Create a smooth 2d cubic bezier curve, defined by a start point, endpoint and two control points.
CubicBezierCurve3
Create a smooth 3d cubic bezier curve, defined by a start point, endpoint and two control points.
CubicPoly
Curve
Extensible curve object.
CurvePath
An abstract base class extending Curve. A CurvePath is simply an array of connected curves, but retains the api of a curve.
DecoratedTorusKnot4a
DecoratedTorusKnot4b
DecoratedTorusKnot5a
DecoratedTorusKnot5c
EllipseCurve
Creates a 2d curve in the shape of an ellipse. Setting the xRadius equal to the yRadius will result in a circle.
FigureEightPolynomialKnot
FrenetFrames
GrannyKnot
HeartCurve
HelixCurve
KnotCurve
LineCurve
A curve representing a 2d line segment.
LineCurve3
A curve representing a 3d line segment.
NURBSCurve
  • NURBS curve object
  • Derives from Curve, overriding getPoint and getTangent.
  • Implementation is based on (x, y [, z=0 , w=1]) control points with w=weight.
  • NURBSSurface
    NURBS surface object
    NURBSutils
    Path
    A 2D path representation. The class provides methods for creating paths and contours of 2D shapes similar to the 2D Canvas API.
    PathInterpolations
    PathInterpolations contains spline and Bézier functions internally used by concrete curve classes.
    QuadraticBezierCurve
    Create a smooth 2d quadratic bezier curvehttp://en.wikipedia.org/wiki/B%C3%A9zier_curve#mediaviewer/File:B%C3%A9zier_2_big.gif), defined by a startpoint, endpoint and a single control point.
    QuadraticBezierCurve3
    Create a smooth 3d quadratic bezier curvehttp://en.wikipedia.org/wiki/B%C3%A9zier_curve#mediaviewer/File:B%C3%A9zier_2_big.gif), defined by a startpoint, endpoint and a single control point.
    Shape
    Defines an arbitrary 2d shape plane using paths with optional holes. It can be used with ExtrudeGeometry, ShapeGeometry, to get points, or to get triangulated faces.
    ShapePath
    This class is used to convert a series of shapes to an array of Paths, for example an SVG shape to a path.
    ShapeUtils
    A class containing utility functions for shapes.
    SplineCurve
    Create a smooth 2d spline curve from a series of points. Internally this uses page:Interpolations.CatmullRom to create the curve.
    TorusKnot
    TrefoilKnot
    TrefoilPolynomialKnot
    VivianiCurve

    Properties

    px CubicPoly
    final
    py CubicPoly
    final
    pz CubicPoly
    final
    tmp → Vector3
    final

    Functions

    curves(String type, dynamic a, dynamic b, dynamic c, dynamic d, dynamic e, dynamic f) Curve?
    scaleTo(double x, double y, double t) double