cubicbezier: Efficient manipulating of 2D cubic bezier curves.

[ bsd3, geometry, graphics, library, typography ] [ Propose Tags ]

This library supports efficient manipulating of 2D cubic bezier curves. The original goal is to support typography, but it is useful for general graphics. 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.

Versions [faq] 0.1.0, 0.2.0, 0.3.0,,,,,,,,,,
Dependencies base (>=3 && <5), containers (>0.4), deepseq (>=1.3.0), integration (>=0.1.1) [details]
License BSD-3-Clause
Copyright Kristof Bastiaensen (2013)
Author Kristof Bastiaensen
Maintainer Kristof Bastiaensen
Category Graphics, Geometry, Typography
Bug tracker
Source repo head: git clone
Uploaded by KristofBastiaensen at Sun Sep 29 17:52:16 UTC 2013
Distributions LTSHaskell:, NixOS:, Stackage:
Downloads 9220 total (476 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Successful builds reported [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees