Crate flo_curves

source ·
Expand description
flo_curves = "0.2"

flo_curves

flo_curves is a library providing routines for manipulating various types of curve, particularly Bezier curves. It provides a grab-bag of algorithms, from the basis functions for generating points on a curve to collisions, fitting to points and even path arithmetic. It is built around traits, which makes it easy to use the provided algorithms with any data structure, though some defaults are provided.

flo_curves is designed as a support library for flowbetween, an animation tool I’m working on, but is also designed to work stand-alone.

Re-exports

pub use self::coordinate::*;
pub use self::geo::*;

Modules

Describing circular arcs
Routines for describing, querying and manipulating Bezier curves
Describing coordinates
Traits for basic geometric definitions
Manipulating and describing lines

Traits

Trait implemented by things representing a cubic bezier curve
Trait implemented by bezier curves that can create new versions of themselves
Represents a straight line