Curves

Here we have demos regarding curves in the plane.

De Castlejau

Visualization of the De Castlejau algorithm for generating Bézier curves.

The code can be seen here in the function demoDeCasteljau.

Curve tangents and normals

Showcase of generating tangents and normals for supported curve types.

The code can be seen here in the function demoCurveTangentNormals.

Bézier curve segment

Showcase generating a new Bézier curve that corresponds to a subinterval of the parameter space of another Bézier curve.

The code can be seen here in the function bezierSegment.