#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

#1318 in Algorithms

Download history 548/week @ 2024-07-21 624/week @ 2024-07-28 466/week @ 2024-08-04 1155/week @ 2024-08-11 595/week @ 2024-08-18 768/week @ 2024-08-25 737/week @ 2024-09-01 820/week @ 2024-09-08 628/week @ 2024-09-15 891/week @ 2024-09-22 616/week @ 2024-09-29 181/week @ 2024-10-06 568/week @ 2024-10-13 486/week @ 2024-10-20 639/week @ 2024-10-27 559/week @ 2024-11-03

2,268 downloads per month
Used in 15 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

~150KB