Jump to content
Search Community

GreenSock releases new ease ExpoScaleEase for smooth scaling and zooming

Jonathan test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Good Day Fellow GreenSockers,

 

GreenSock has recently released a new video tut on a new ease called ExpoScaleEase for smooth scaling and zooming.

 

https://greensock.com/docs/Easing/ExpoScaleEase

 

This video tut was made by the Mighty @Carl, take it away Carl:

 


If you haven't already done so, please check out and subscribe to the GreenSock Learning YouTube channel for more video tutorials. This way you don't miss out on new features and great learning videos from GreenSock.

 

Happy Tweening :)

 

  • Like 9
Link to comment
Share on other sites

  • Jonathan unfeatured and pinned this topic
  • 2 weeks later...

So I had some free time on my hands (this is a lie but let's pretend) and made a small demo to highlight the differences between Expo, ExpoScale and Linear:

 

See the Pen XEWdmJ?editors=0011 by Acccent (@Acccent) on CodePen

 

It's interesting to see that while ExpoScaleEase is what produces the best feeling of linearity, Expo is what actually mimics the scaling of an object getting closer. (Linear is good for nothing at all.)

edit: actually this isn't quite right, I'm not sure what would be a better simulation!

new edit: I made a custom ease that gets close, not sure how mathematically accurate and contextual it is though!

 

(by the way, for some reason the code that is meant to update the tween of the side-view sphere when the window is resized doesn't work and I don't understand why... I'm not asking for help with this, but if someone spots what's wrong right away, please let me know :) )

 

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