Demigiant / dotween

A Unity C# animation engine. HOTween v2
http://dotween.demigiant.com
Other
2.33k stars 348 forks source link

Exponential Interpolation for Tweeners #551

Open josefalanga opened 2 years ago

josefalanga commented 2 years ago

Hello there. Recently I was introduced to Exponential Interpolations as an alternative for Linear Interpolations for certain scenarios (like frequency, zoom level or scale) where linearity feels not exactly linear. More info in this great thread by Freya Holmer.

With the current state of DOTween this could be achieved writing a custom EaseFunction, right? But it would be awesome that DOTween could switch between Linear and Exponential interpolation modes for each tweener internally, so you could use all the existing easings in both linear and exponential interpolation spaces.

Demigiant commented 2 years ago

Ahoy! I watched Freya's thread and... I love this! I think I already know how to implement it. I'll need to find a free day to work on it and test it but I'm adding it to my todo list with high priority, thanks for the great suggestion (and thanks to Freya for being awesome as always)