local easing = require'easing'
Robert Penner's easing functions.
easing[formula_name](t, b, c, d) -> value in b..c
The formulas map input d
to output r
, where d
is in 0 .. t
and r
is in b + 0 .. c
.
easing[formula_name](t1 - t0, d0, d1, T) -> d
Some formulas take additional parameters (see code).