Nurbs

A Library by Arnoud van der Leer for the Processing programming environment.
Last update, 03/17/2022.

The nurbs library is an implementation for Processing of Non-uniform Rational B-Splines. It implements regular nurbs curves, and nurbs surfaces.
It allows evaluating these curves and surfaces in a point and drawing them. In the future, it will have support for obtaining the direction of a curve in a point, the normal vector of a surface in a point and the curvature of a curve or surface in a point.

How to install Nurbs

Install with the Contribution Manager

Add contributed libraries by selecting the menu item SketchImport Library...Add Library... This will open the Contribution Manager, where you can browse for Nurbs, or any other library you want to install.

After the library has been successfully installed, restart the Processing application.

Download

You can also download a zipped version of the library here.

Troubleshooting

If you are having trouble, have a look at the Processing Wiki for more information, or open an issue in the Nurbs GitHub repository.

Keywords. nurbs, curve, surface

Reference. Have a look at the javadoc reference here. A copy of the reference is included in the .zip as well.

Source. The source code of the library is available on GitHub.

Examples

Find a list of examples in the current distribution of the Nurbs library, or have a look at them here.

Tested

Platform Ubuntu 20.04 LTS, but should work on all platforms
Processing 4.0 beta 7
Dependencies None