orbtk
orbtk copied to clipboard
Animations
Context
At the moment visual appearance is very static. Visual elements could also be in motion by user input e.g. move the scroll bar. What is needed is the possibility to move visual elements from code. This would make the appearance of an OrbTk more attractive and give us the possibility to direct the view of an user to important elements on a view.
Problem description & Solution
It should be possible to animate numeric values of widgets like position, size, rotation and colors. It should be possible to define a duration in ms and an easing curve for each animation.
I found this last night, I think it might help?
https://crates.io/crates/vect
I will start researching tweening libraries
@FloVanGH
This seems to be a quite nice tweening library, and it wraps easer.rs. I will try and check it out today if I get a chance!
https://crates.io/crates/pareen
@millscale thank you :-). The crate looks promising. If you need some input let me know.