Common Spline Equations for Graphics

Here's a set of common splines for computer graphics and their formulas expressed in matrix form. Each has an interactive Flash clip that you can use to drag around the control points and get a feel for how the spline behaves. On the right of each spline is a plot of its basis functions.


cubic bezier


Learn more: wikipedia, mathworld

cubic b-spline


Learn more: wikipedia, mathworld

catmull-rom


Learn more: wikipedia

hermite


Learn more: wikipedia