New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more easing functions #81
Comments
I'm having a go at this. Some of the easing functions will look ugly as one-line lambdas. I'll use short |
Sounds good! Agree re not always using lambda. |
Can you assign yourself to this? Want to avoid more than one person jumping on a task. |
I can't, probably don't have permission to do that? I think you have to assign me? |
Ah, I guess I do. |
oh well, I was already done with this one :p should've messaged first |
@tusharsadhwani Really? That was quick. Do you want to compare notes with @RojerGS ? |
sure, submitting a patch in 5 |
Go ahead and open a PR, I'm currently AFK. |
Did I solve your problem? Consider sponsoring my work on Textual with a monthly donation. Or buy me a coffee to say thanks. |
No need for a donation! ;-) |
Did I solve your problem? Consider buying me a coffee 🤣 That GH action is a nice addition! To prevent you from adding too many "no donation needed" replies, maybe you'll want to have it not trigger when the issue was opened by you? Just a random thought. Maybe leave it be... |
I owe you a ☕ |
@RojerGS if you don't already have one, you should set up a ko-fi account, it's free and they take no commission. |
I have a Buy Me a Coffee account (associated with my blog) where people can buy me a slice of pizza, maybe I'll move it to ko-fi... But I do not want Will's coffee for this contribution, and I will refund it if needed 🤣 |
There are a number of 'easing functions' used by the animation system. At the top of _animator.py you will see the following:
These function have been copied from https://easings.net/ and translated from Javascript to Python. I would like to add the remaining functions to the EASING dict above.
See the animation.py example as a way of testing the above functions.
The text was updated successfully, but these errors were encountered: