14 releases (9 breaking)

new 0.10.1 Jan 9, 2025
0.9.2 Jan 8, 2025
0.6.1 Oct 28, 2016
0.6.0 Jul 22, 2016
0.2.0 Aug 30, 2015

#6 in #approximation

Download history 3/week @ 2024-11-01 2/week @ 2024-11-08 6/week @ 2024-12-06 1/week @ 2024-12-13 607/week @ 2025-01-03

615 downloads per month

Apache-2.0 OR MIT

22KB
592 lines

Curve Package Documentation Build

The package provides curves.

Example

let x = curve::bezier::Linear::new(1.0, 5.0);
let y = curve::bezier::Linear::new(2.0, 3.0);
let points = x.trace(3).zip(y.trace(3)).collect::<Vec<_>>();
assert_eq!(points, vec![(1.0, 2.0), (3.0, 2.5), (5.0, 3.0)]);

Contribution

Your contribution is highly appreciated. Do not hesitate to open an issue or a pull request. Note that any contribution submitted for inclusion in the project will be licensed according to the terms given in LICENSE.md.

Dependencies

~150KB