-
Notifications
You must be signed in to change notification settings - Fork 16
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
Use request animation Frame instead of gsap #3
Comments
Hi, I'm interested in contributing to this issue. Do you have any insights on this task before jumping on it? |
Cool! I played around with different easings but decided to use linear for now. I did some others tests now, and maybe it could still be interesting to use some of gsaps fancy easings. SlowMo for example gives a nice effect. Maybe the best way would be to keep both. To use plain animationFrame as default, and switch to gsap Easing if an easing is passed via the options. Basically we need to rewrite this: Lines 93 to 96 in b89da6e
What do you think? |
As you suggested, I believe using Regarding the easing, there must be a way of implementing them via I'll look into rewriting the animation with rAF and provide fps/perf comparisons between the old and the new. |
Cool! |
No description provided.
The text was updated successfully, but these errors were encountered: