curve2d

0.0.3 • Public • Published

Curve2D

A 2D curve system that computes intersections.

NOTE: The API is still very much in flux.

Supported Curves

  • Conics
    • Infinite lines
    • Circles
    • Ellipses
    • Generalized conics

Future Support

  • Bernstein Polynomials
  • Splines
    • Bezier curves
    • B-splines

Notes

  • Curve2D uses a _Math object that can be polyfilled if necessary. This object is exposed through the API.

Usage

Unit tests contain executable documentation on how each function should be used.

Authors

Library written by Tim Bright.

Portions of math code based on work done by authors of THREE.js. Attributions from specific authors done in files.

License

Any code presented here is licensed under the MIT License.

Readme

Keywords

Package Sidebar

Install

npm i curve2d

Weekly Downloads

1

Version

0.0.3

License

MIT

Last publish

Collaborators

  • tab58