Skip to content
This repository has been archived by the owner on Oct 1, 2023. It is now read-only.

Add new easing #51

Open
alexanderbrodko opened this issue Feb 25, 2023 · 1 comment
Open

Add new easing #51

alexanderbrodko opened this issue Feb 25, 2023 · 1 comment

Comments

@alexanderbrodko
Copy link

I made a special easing for you. It starts like Sine easing (green) and ends very softly like Quint (purple). The formula is

x < 0.575 ? 2.375*x*x : 1-Math.pow(-2*x+2,5)/2;

image

@alexanderbrodko
Copy link
Author

alexanderbrodko commented Feb 25, 2023

I think this will be better, more smooth

x < 0.525 ? 2.7*x*x : 1-Math.pow(-2*x+2,5)/3

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant