Experiments with Bezier curves - a number of segments of Bezier curves, defined by vertex and control point, is shown.
Vertices and control points are initialised with random positions and velocities, but contained with some forces (vertices are attracted to the center; control points are attracted to their vertex; all points are repelled by the edges).
The curve is marked in a way a broad ink pen might draw it.
You can change the number of segments and the width of the pen.
You can close and open the curve, show and hide the vertices and control points, stop the movement and re-randomize the points.