zng_var::animation::easing

Function ease_in_out

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

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