To illustrate how to interpolate a Catmull-Rom spline and how the spline is useful in game development. It will also show how Bezier splines are not cardinal, and do not pass through their control points.
Cardinal splines can be used for paths for AI or sprites to move along.
After seeing how simple cubic bezier spline interpolation was, I finally understood the math behind Catmull-Rom.
I found the Catmull-Rom equation here.
- Draw Bezier splines to show that they don't pass through their control points.
- Interpolate a series of points for both splines