Rustween

Easing functions specify the rate of change of a parameter over time. Objects in real life don’t just start and stop instantly, and almost never move at a constant speed.


These are reproductions of (some of the) visual easing functions found here.


Coded in Rust, compiled into wasm via wasm-bindgen, backed by the tween library, rendering in real time by leveraging the AnimationFrame API.


Source code is available here.