B-splines are a type of curve algorithm. This is a very simple demo
of a B-spline with 11 knots:
(0, 0, 0, 0, 0.25, 0.5, 0.75, 1, 1, 1),
and 7 control points (degree 3), as explained here.
Click the screen to add control points for the curve to follow. Once you add 7 control points (P0 to P6), click Draw Curve to compute and render the curve. Click Reset to start over.