cubicbezier

Efficient manipulating of 2D cubic bezier curves.

Version on this page:0.6.0.5
LTS Haskell 22.41:0.6.0.7
Stackage Nightly 2024-11-12:0.6.0.7
Latest on Hackage:0.6.0.7

See all snapshots cubicbezier appears in

BSD-3-Clause licensed and maintained by Kristof Bastiaensen
This version can be pinned in stack with:cubicbezier-0.6.0.5@sha256:c45d2c6e0419bb41a2ddc11d7a21292539eba88df65a192e90e49b6df9472f19,2243

This library supports efficient manipulating of 2D cubic bezier curves, for use in graphics or typography. Supported features are:

Evaluating bezier curves and derivatives, affine transformations on bezier curves, arclength and inverse arclength, intersections between two curves, intersection between a curve and a line, curvature and radius of curvature, finding tangents parallel to a vector, finding inflection points and cusps.

It also supports polynomial root finding with Bernstein polynomials.

The module Geom2D.CubicBezier exports all the cubic bezier functions. The module Geom2D contains general 2D geometry functions and transformations.