smoothie 0.1.1 copy "smoothie: ^0.1.1" to clipboard
smoothie: ^0.1.1 copied to clipboard

outdated

Create and sample a cmooth bezier curve going through a given set of points

pub package

smoothie #

Create and sample a smooth bezier curve going through a given set of points

Usage #

Let's say you have some arbitrary data (a list of points):

var _originalDataSeries = <Point>[
    Point(0, 5),
    Point(3, 15),
    Point(5, 10),
    Point(6, 6),
    Point(9, 13),
  ];

Define a number of sampling points per original point:

int _samplesPerPoint = 10;

Create a smooth curve:

var _sampledCurve = Smoothie().getSampledCurve(_samplesPerPoint, _originalDataSeries);
14
likes
0
pub points
69%
popularity

Publisher

verified publisherkreitai.com

Create and sample a cmooth bezier curve going through a given set of points

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

bezier, flutter, vector_math

More

Packages that depend on smoothie