pixi-viewport
pixi-viewport copied to clipboard
How to add different easing?
I am doing some animation(), and it works nicely, except that I need to change the easing type.
As far as I have seen in the docs, I have found ease: 'linear' and ease: 'easeInOutSine'.
Are there more ease-types that are built-in (is there a liste somewhere?), or do we make our own? If so, how do we make our own?
You can provide your own function or use any of the names listed here: https://easings.net/ (eg, "easeInCubic")
Great, thank you!