Jump to content
GreenSock

intothebreach

Registering a custom ease from an SVG Path

Moderator Tag
Go to solution Solved by Cassie,

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×