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, 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.

Versions [faq] 0.1.0, 0.2.0, 0.3.0,,,,,,,,,,
Dependencies base (>=4.8 && <5), containers (>=0.5.3), fast-math (>=1.0.0), integration (>=0.1.1), matrices (>=0.4.1 && <0.5), microlens (>=0.1.2), microlens-mtl (>=0.1.2), microlens-th (>=0.1.2), mtl (>=2.1.1), semigroups (>=0.16), vector (>=0.10), vector-space (>=0.10.4) [details]
License BSD-3-Clause
Copyright Kristof Bastiaensen (2017)
Author Kristof Bastiaensen
Maintainer Kristof Bastiaensen
Revised Revision 1 made by HerbertValerioRiedel at Tue Feb 12 15:26:22 UTC 2019
Category Graphics, Geometry, Typography
Bug tracker
Source repo head: git clone
Uploaded by KristofBastiaensen at Thu Jan 25 18:31:12 UTC 2018
Distributions LTSHaskell:, NixOS:, Stackage:
Downloads 6399 total (301 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2018-01-25 [all 1 reports]





Enable debug messages


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees