1. NodeBox 1
    1. Homepage
    2. NodeBox 3Node-based app for generative design and data visualization
    3. NodeBox OpenGLHardware-accelerated cross-platform graphics library
    4. NodeBox 1Generate 2D visuals using Python code (Mac OS X only)
  2. Gallery
  3. Documentation
  4. Forum
  5. Blog

Bezier

Description

The Bezier library (nicknamed PathMatics) provides powerful mathematical functionality for Bezier paths, from simple things like evaluating the length of a path to complicated things like inserting points on a path or constructing a smooth path from a list of on-curve points. Bezier math is not the easiest thing to grasp, but all the commands in this library are simple and straightforward, and they work magic on a textpath().

Note that the Bezier library is always in development, so you might experience occasional errors while working with it. Please report any errors (tom-at-organisms-dot-be).

A special thanks goes to professor F. De Smedt at the Free University of Brussels for his integration and interpolation algorithms.

If you have NodeBox 1.8.4 or up, the library is integrated by default. See the tutorial.

Download

downloadbezier.zip (5KB)
Last updated for NodeBox 1.8.2
Author: Tom De Smedt

Commands in the Bezier library

Example

A basic example of path math: the point() command tells us where to put circles on the textpath, playing around with curves and their control handles constructs the whirly background.