ardaku / sprengui

Rust Native-ish GUI Toolkit - Designed for use with Cala, but not limited to Cala.
Apache License 2.0
2 stars 2 forks source link

Implement Tunable Bezier Curve For Animations #9

Open AldaronLau opened 2 years ago

AldaronLau commented 2 years ago

Add a free function that turns a linear animation into one that starts off slow, speeds up in the middle, then slows down at the end. It might be able to be a function that takes a single f32 and returns an f32.