pub fn ease(curve: u32, t: i32) -> i32
ease(curve, t) -> the eased progress: t and the result in 0..256 (EASE_OUT_BACK overshoots above 256 on the way)