bezier_curve 0.0.2 copy "bezier_curve: ^0.0.2" to clipboard
bezier_curve: ^0.0.2 copied to clipboard

Performant and customizable cubic Bezier curves, offering adjustable root-finding tolerance and maximum iterations.

Bezier Curve #

This package provides efficient computation and customization of cubic Bezier curves in Flutter, allowing developers to precisely control animation trajectories with adjustable root-finding tolerance and maximum iterations.

Features #

  1. Compute customizable cubic Bezier curves tailored for your exact needs via two control points.
  2. Optimize curve evaluation through adjustable root-finding tolerance and maximum iterations.

Usage #

Basic curve:

const curve = BezierCurve(P0, P1, P2, P3);

Curve with specified tolerance and max iterations:

const curve = BezierCurve(P0, P1, P2, P3, tolerance: 1e-10, maxIterations: 35);

Additional information #

Contributors are welcome! Feel free to open an issue if something is going wrong.

0
likes
140
pub points
16%
popularity

Publisher

verified publisherds797.com

Performant and customizable cubic Bezier curves, offering adjustable root-finding tolerance and maximum iterations.

Homepage

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

flutter

More

Packages that depend on bezier_curve