Jump to content


Is there an alternative to ExpoScaleEase.getRatio() method in gsap3?

Moderator Tag
Go to solution Solved by GreenSock,

Recommended Posts

I copied the markup/css/scripts into my own pen using these 2 libraries



The getratio method doesn't seem to exist in gsap3. How would i get this demo to work... with the 3.7.1 library?

working tutorial demo.

See the Pen NyXBbV by GreenSock (@GreenSock) on CodePen

My pen with new library.

See the Pen GRmMqeo by kneepham (@kneepham) on CodePen

Link to comment
Share on other sites

  • Solution

Have you checked the docs? The v3-converted demo is embedded in the docs: 

See the Pen qBBBxaL by GreenSock (@GreenSock) on CodePen


There's no need for "getRatio()" anymore - the ease itself is the function. 


Does that answer your question? 

  • Like 1
Link to comment
Share on other sites

Yes it does. Thank you so much for your time. I didnt relize there was the same tutorial in the new docs. I'll have a look into it.

  • Like 1
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.