C++ code to compute spline curves of arbitrary dimensions 3D curves or 2D splines anything is possible. The class can be instanciated with any point type (1d (float), 2d, 3d etc.) as long as the appropriate operator overload are implemented.
This class use the efficient blossom algorithm to compute a position on the curve.
(MIT-license)You can buy me a coffee o(^◇^)o if you use my code in a commercial project or just want to support.