The Brayden Software TWiki webThe brayden.Software web - notes on Ruby, workflow, statecharts, and more.SplineFunctions- January 10, 2006 ---+ B-Splines This is a description of a class of cubic spline functions that have the property that the endpoints of the curve will pass through the first and last control points, and will pass the interior control points. I've provided an implementation in ruby (see bottom of this page). ... elided ... The B are defined as: ... elided ... In practice you select a set of u and draw straight lines between them. By selecting the number of such points to be large enough (10 is more...http://www.brayden.org/twiki/bin/view/Software/SplineFunctions |