Jump to content
Search Community

Linear.ease replacement

Octa test
Moderator Tag

Recommended Posts

Hey,

Thanks for the fast reply. I've looked over the eased but i could not find this one :) .

Linear.easeNone -> "linear"
Linear.easeInOut -> "linear.inOut"
Linear.easeOut -> "linear.out"
Linear.easeIn -> "linear.in"

"linear" (a.k.a. "none" or "power0")

Link to comment
Share on other sites

9 minutes ago, Octa said:

Hey,

Thanks for the fast reply. I've looked over the eased but i could not find this one :) .

Linear.easeNone -> "linear"
Linear.easeInOut -> "linear.inOut"
Linear.easeOut -> "linear.out"
Linear.easeIn -> "linear.in"

"linear" (a.k.a. "none" or "power0")

Just to be clear, those are all exactly the same ease. There's no difference between a linear.in, linear.inOut, or linear.out. Those are merely there for convention. A linear ease is linear no matter what :)

  • Like 2
Link to comment
Share on other sites

  • 3 years later...

Hi,

 

Indeed they return different functions when logged like that, but the end result is the same.

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

 

My guess is that this is there for legacy reasons, but I couldn't confirm that. Since it's working in the way it should the question would be if this is causing any issues in your setup?

 

Happy Tweening!

  • 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.
×
×
  • Create New...