Jump to content
GreenSock

erikb

bell curve easing?

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

I would love to use greensock to ease through a bell-curve function.

 

9hvfG.png

 

I looked at your build-your-own-ease-easily tool, but it really wants to get me from zero to one (instead of from zero to zero).

 

I suppose I could hack this together with a timeline and two sine-like tweens (one for ramp-up, one for ramp-down). However, I am wondering if that approach is better than building a custom easing function.

 

I really want to control the resultant tween like a normal tween with the full API at my disposal.  Thanks for any feedback.

Link to comment
Share on other sites

Hi erikb  :)

 

How about something like this :

TweenMax.to(".red",1,{y:200,ease:Sine.easeInOut,repeat:1,yoyo:true})
  • Like 2
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.
×