Share Posted July 3, 2020 Quick question, Is it possible to use a gsap ease outside of a tween or timeline? For example having gsap do all the heavy lifting and just state the ease in a vanilla request animation frame animation. Link to comment Share on other sites More sharing options...
Share Posted July 3, 2020 Sure, you can get the function like: const ease = gsap.parseEase("power3.in"); // then feed in a number between 0 and 1 that's the progress, and it'll spit back the eased value (typically between 0 and 1, but not always, like Elastic or Back) let num = ease(0.5); Is that what you're looking for? 4 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now