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
- Host: GitHub
- URL: https://github.com/nahkd123/bezier
- Owner: nahkd123
- Created: 2024-03-14T15:32:07.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-15T09:37:29.000Z (over 2 years ago)
- Last Synced: 2025-01-21T14:11:44.491Z (over 1 year ago)
- Topics: bezier, bezier-curve, java, library
- Language: Java
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.