https://github.com/elbeno/curve.git

```
git clone 'https://github.com/elbeno/curve.git'
```

(ql:quickload :curve)

★0

This is com.elbeno.curve, a library for modulating various kinds of curves.

This library depends on com.elbeno.vector and vecto.

The following curves are supported:

- Circles
- Ellipses
- Cubic Bézier curves
- Cubic Bézier splines
- Line segments
- “Polylines” i.e. sequences of line segments

Each curve type may be modulated onto each other curve type (e.g. modulate a “wave” Bézier curve onto a circle to produce a circle with a wavy edge). C1 continuity is preserved.

Arbitrary elliptical arcs are approximated with cubic Bézier curves using the method in Luc Maisonobe's paper “Drawing an elliptical arc using polylines, quadratic or cubic Bézier curves” (which can be found at http:// www.spaceroots.org/documents/ellipse/elliptical-arc.pdf).

Sample usage/output can be seen from the file test.lisp or by invoking (runtests).