This repository has been archived by the owner on Jun 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Add new easings #5
Labels
Comments
Hey! Thanks for the handy lib. Perhaps have the option of passing in a function to the easing prop? One could then import default easing functions (say an easeInOut / spring fn exported by animate-value) and apply it as needed, or be able to pass in a user defined fn. |
I like this idea, not a difficult thing to implement I guess. It would have to be an easing functions that returns a value between 0 - 1 |
For sure. I guess it would just receive current time as an argument? |
value between 0-1 which recalculates it via easing to 0-1 |
PR always welcome btw :) |
Of course, pull request opened 😄 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Feature:
The text was updated successfully, but these errors were encountered: