14 releases (9 breaking)

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

#69 in Visualization

Download history 3/week @ 2024-10-30 2/week @ 2024-11-06 3/week @ 2024-12-04 4/week @ 2024-12-11 125/week @ 2025-01-01 829/week @ 2025-01-08

954 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