interpolated 0.1.2

Generic, smooth value interpolation and easing functions for Rust.
Documentation
//! # interpolated
//!
//! Generic, smooth value interpolation and easing functions for Rust.
//!
//! This crate provides the `Interpolated<T>` type for animating values of any
//! arithmetic type over time using customizable easing functions.
//!
//! ## Usage
//!
//! Add to your `Cargo.toml`:
//!
//! ```toml
//! [dependencies]
//! interpolated = "0.1.0"
//! ```
//!
//! Import and use in code:
//!
//! ```rust
//! use interpolated::{Interpolated, linear};
//! use std::time::Duration;
//!
//! let mut value = Interpolated::new(0.0f32);
//! value.set_duration(Duration::from_secs_f32(1.0));
//! value.transition = linear;
//! value.set(10.0);
//! // In an update loop:
//! let current = value.value();
//! println!("Current: {}", current);
//! ```

mod functions;
mod interpolated;

pub use functions::{
    ease_in_back,
    ease_in_out_expo,
    ease_out_back,
    ease_out_elastic,
    linear,
    none,
    EasingFn,
};
pub use interpolated::Interpolated;