sycamore::motion

Function create_tweened_signal

source
pub fn create_tweened_signal<T: Lerp + Clone>(
    initial: T,
    transition_duration: Duration,
    easing_fn: impl Fn(f32) -> f32 + 'static,
) -> Tweened<T>
Expand description

Create a new Tweened signal.