This program interactively demonstrates a non-uniform rational B-spline curve (NURBS) and the Ni,m blending functions. This page accompanies the planned second edition of 3D Computer Graphics: A mathematical approach with OpenGL, by Sam Buss, Cambridge University Press, 2003. See that book for the mathematical background. The latest draft of the second edition is available online from the web page for the second edition.

Instructions:

Parameter settings:

Degree (k): Number of knots:
Order (m): Number of control points:

   

Knot Positions and Blending Functions

HTML5 canvas not supported by the browser!

Control Points and the NURBS Curve

             Show Labels          Show Control Polygon

HTML5 canvas not supported by the browser!