Share Posted November 29, 2022 Hi, We have a ease from our designers defined as: M0,0,C0.898,0,0.1,1,1,1 We would like to globally register this. The docs though are not to clear on this: gsap.registerEase("myEaseName", function(progress) { return progress; //linear }); Is there a clean way to do this? Could not find much online. Thanks, intothebreach Link to comment Share on other sites More sharing options...
Solution Solution Share Posted November 29, 2022 Hey there! Yay, Club GreenSock! Thanks for your support. You can register SVG path data as eases with customEase - here you go. See the Pen jOKvELb?editors=1010 by GreenSock (@GreenSock) on CodePen https://greensock.com/docs/v3/Eases/CustomEase 2 Link to comment Share on other sites More sharing options...
Author Share Posted November 30, 2022 Hiya, Thanks for the reply! Managed to put this in a plugin and seems to be working well. Thanks! I 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