zng::var::animation::easing

Function ease_out_in

source
pub fn ease_out_in(
    ease_fn: impl Fn(EasingTime) -> Factor,
    time: EasingTime,
) -> Factor
Expand description

Applies ease_out for the first half then ease_in scaled to fit a single duration (1.0).