Tweened
Tweened states update their values over a period of time. For example, the following code snippet
interpolates a value from 0
to 100
over a period of 250ms
:
use Duration;
use easing;
use create_tweened_signal;
let tweened = create_tweened_signal;
tweened.set;
Different easing functions are provided in the sycamore::easing
module.