# Format - curve

A curve definition consists of:

- 8 bits for the curve type.
- a variable length integer for the number of points in this curve.
- a warp.
- 2 streams of floating point values representing the curve.

Next, the data ends.

The points are interpreted differently for each curve type. Segments interpret these points as segment end points, while splines interpret them as control points.