The cubicbezier package

[ Tags: 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 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), microlens (>=0.1.2), microlens-mtl (>=0.1.2), microlens-th (>=0.1.2), mtl (>=2.1.1), vector (>=0.10), vector-space (>=0.10.4) [details]
License BSD3
Copyright Kristof Bastiaensen (2017)
Author Kristof Bastiaensen
Maintainer Kristof Bastiaensen
Category Graphics, Geometry, Typography
Bug tracker
Source repository head: git clone
Uploaded Sun Aug 13 20:04:53 UTC 2017 by KristofBastiaensen
Distributions LTSHaskell:, NixOS:, Tumbleweed:
Downloads 2203 total (70 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-08-13 [all 1 reports]
Hackage Matrix CI





Enable debug messages


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


Maintainer's Corner

For package maintainers and hackage trustees