An open API service indexing awesome lists of open source software.

https://github.com/nahkd123/bezier

Tiny Bézier curve library
https://github.com/nahkd123/bezier

bezier bezier-curve java library

Last synced: over 1 year ago
JSON representation

Tiny Bézier curve library

Awesome Lists containing this project

README

          

# nahkd's Bézier curve library
Tiny little Bézier curve library implemented in Java.

There are 2 classes so I just call em' tiny. The `Bezier` class is for creating parametric Bézier curve, and the `BezierFunction` is for converting that parametric into `f(x)` function (put x to get y).

`BezierFunction` implements `DoubleUnaryOperator`, so you can plug your Bézier function inside whatever is accepting `DoubleUnaryOperator`.

## License
MIT license.