FancyMenu icon indicating copy to clipboard operation
FancyMenu copied to clipboard

[FEATURE] Easing and Interpolation

Open mempler opened this issue 3 years ago • 0 comments

Easing and Interpolation

There should be a way to have an E.G Button ease in/out from a Coordinate.

Simple Example

Let's say you got an Button at coordinate X and you want to move it to coordinate X+10 in 0.2s, it would feel odd if it just pops onto the target coordinate. So, why not add interpolation, as an example Linear Interpolation linear.png

It would make it possible to have some really fancy menus.

Interpolation List

List that should be implemented: https://easings.net/

Might want to consider

The same goes for (A)Alpha Fading, Scaling, Positioning, (RGB)Color fading and Color mixing. Maybe also a way to declare custom mathematical formulas to create interpolations which can be later used for the things mentioned above.

mempler avatar Mar 10 '21 15:03 mempler