Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Haskell library for manipulating cubic bezier curves
Haskell
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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 bezier curves. The original goal is to support typography, but it may be useful for general graphics.

Features implemented:

  • least squares approximation of a curve through some points
  • finding tangents parallel to a vector
  • evaluating bezier curves and derivatives
  • 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:

  • self intersections
  • creating an approximate outline for a curve
  • adding and subtracting closed paths
  • removing overlap from paths
Something went wrong with that request. Please try again.