Tweening between two values is done with keyframe::ease(function, from, to, time). from and to can be any type that implements CanTween, such as f64 or mint::Vector2, while time needs to be a floating ...
See examples/encode_animation.rs for source code of encoding the above image - example converted to gif for all-browser support, see the example.webp file Underlying WebP format processing is handled ...