HTML Application to draw and modify a NURBS Curve in 3D
NURBS Curve = Non Uniform Rational B-Spline Curve
Requirements:
- Should enable the user to modify the x, y, z and h coordinates (homogeneous coordinates) of upto 20 control points constituting a NURBS Curve. The range for coordinates of the control points should be [-1,1]. The user should be able to modify these through sliders.
- Should display the NURBS Curve on the screen in 3D, and this curve should change dynamically as the user modifies any of the values using sliders. Perspective View.
- Should display the bounding box of dimension 2 units, centred at the origin.
- Should enable the user to modify the camera angle (degrees), from which viewing is done.
- Should enable the user to modify the u values of a chosen point, and should display a moving point on the curve as the user modifies this value using the sliders.
- Should enable the user to view the Knot Vector.
- All user input should be via sliders.
- Should use WebGL, in the form of three.js.
Please report issues to [email protected]
Open the file index.html in your browser.
Screenshot