Home > Flex, Math > Catmull-Rom Spline Animation

Catmull-Rom Spline Animation

July 27, 2007

A new online demo is now available, illustrating the animation of a Catmull-Rom spline from beginning to end.  The curve is drawn from t=0 to t=1 in an ENTER_FRAME handler.  This emulates how the spline might look if it were drawn by hand.

This demo provides a good introduction to working with C-R splines.  Studying how the drawing speed varies with knot placement is a subtle introduction to spline parameterization.

Thanks, by the way, to Mario Klingemann for helping test some of the C-R spline methods.

Check out the demo here (includes a link to download the full Singularity package).

Advertisements
Categories: Flex, Math
%d bloggers like this: