A matlab package for handling n-dimentional bezier curves.
A bezier curve is parametrized by controlPts - which is [N x dim] for N control points of dimension dim. Note that we use matlab matrix ordering, so the first dimension will be treated as 'y' in the 2D case.
Current function support:
- bezier.eval evaluate the curve at many points
- bezier.draw draw the curve in a image or volume
- bezier.view visualize 2D or 3D bezier curves (even multiple curves in the same figure)
- bezier.explore explore 2D bezier curves interactively
See readme.md for getting started.
See beziertest.m for tests.
Adrian (2021). Bezier Curves (https://github.com/adalca/bezier), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!