Haskell library for manipulating cubic bezier curves
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Geom2D
Math
tests
.travis.yml
Geom2D.hs
LICENSE
README.md
Setup.hs
cubicbezier.cabal

README.md

cubicbezier

Haskell library for manipulating cubic and quadratic bezier curves. It is meant as a low level library to support 2D graphics and typography applications.

Features implemented:

  • evaluating bezier curves and derivatives
  • approximation of a curve through some points
  • removing overlap and boolean operations on paths
  • finding tangents parallel to a vector
  • curvature and radius of curvature
  • intersections between two curves
  • intersections between a curve and a line
  • finding inflection points and cusps
  • affine transformations on bezier curves
  • creating paths from meta paths (as in D.E.Knuth's metafont)

Features todo:

  • calligraphic strokes