#easing #equations #port #ease #quad #penner

pennereq

Port of the Penner easing equations to rust

4 releases (2 breaking)

Uses old Rust 2015

0.3.1 Mar 12, 2020
0.3.0 Jun 18, 2018
0.2.0 Feb 19, 2017
0.1.0 Feb 15, 2017

#1416 in Algorithms

Download history 526/week @ 2024-03-13 805/week @ 2024-03-20 696/week @ 2024-03-27 846/week @ 2024-04-03 1584/week @ 2024-04-10 1317/week @ 2024-04-17 718/week @ 2024-04-24 1205/week @ 2024-05-01 592/week @ 2024-05-08 636/week @ 2024-05-15 873/week @ 2024-05-22 936/week @ 2024-05-29 630/week @ 2024-06-05 572/week @ 2024-06-12 565/week @ 2024-06-19 540/week @ 2024-06-26

2,400 downloads per month
Used in 14 crates (via nannou)

BSD-2-Clause

15KB
423 lines

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

Dependencies

~155KB