Crates.io | pennereq |
lib.rs | pennereq |
version | 0.3.1 |
source | src |
created_at | 2017-02-15 20:14:11.241507 |
updated_at | 2020-03-12 11:29:32.918834 |
description | Port of the Penner easing equations to rust |
homepage | |
repository | https://github.com/arturoc/pennereq-rs |
max_upload_size | |
id | 8531 |
size | 15,487 |
A port of Robert Penner's easing equations to rust
Usage:
extern crate pennereq;
use pennereq::*;
fn main(){
quad::ease_in(t, from, distance, duration);
}
The easing functions can work with f32 or f64 resolution depending on the passed parameters