IanniX can manage curves composed of line segments. But we can also manage bezier curves.

When you draw curve with the freehand tool, we sample the mouse and construct a curve with line segments. But we’re sure there is a mathematical tip to make a smooth curve (thanks to bezier curves).

**Input** : a set of 2D-points

**Output** : a set of 2D-points with cubic-bezier control (so one 2D-point for point position and two 2D-points for bezier control).

Does somebody have an idea?