Helper for Bézier Curves, Triangles, and Higher Order Objects. Pure Python and compiled backend for computing with Bézier curves, triangles, surfaces, and volumes. Current version 2024.6.20, requires Python >=3.10. Released approximately yearly since 2017.
pip install bezierNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create and evaluate a quadratic Bézier curve defined by three control points.
Replace `Surface` with `Triangle` in imports and usage.
Always pass nodes as Fortran-contiguous arrays: `nodes = np.asfortranarray(...)`
Upgrade Python to 3.10 or later.
Run `pip install bezier` in the correct Python environment.
Ensure nodes is 2D with shape (dims, points) and convert to Fortran order using `np.asfortranarray(nodes)`.