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.

Libraries

bezier_curve