I finally had the time to finish this post by whipping up a small JavaScript canvas example to show forward differencing in action. Not much to see there, actually, other than that the regularly drawn spline and the one drawn with forward differencing look the same. Here’s the part of the code that does theContinue reading “Calculate Catmull-Rom splines using forward differencing – UPDATE”
Tag Archives: splines
Calculate Catmull-Rom splines using forward differencing
Update: Here’s a little JavaScript canvas example to give you some sourcecode… Splines are a nice for interpolation of all kinds of stuff. A very nice, thorough (Bezier) spline documentation with lots of examples can be found here.Catmull-Rom splines are handy, because they always pass through their control points. No fiddling with tangents and stuff.Continue reading “Calculate Catmull-Rom splines using forward differencing”