Jump to content
Search Community

How to transpose Css cubicBezier ?

peacepostman 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

Hello !

 

I'm trying to convert a css animation to a tweenMax one, I really need to convert the following cubicBezier value to tweenMax Bezier plugin but i'm far from the desired output :D

 

cubic-bezier(.87,.01,.8,1.04)

 

If any convertor hero is in da place I will be really glad !

 

Thanks,

Link to comment
Share on other sites

 

Glad you got it sorted.

 

Just to make sure you got all the details, you can use CustomEase to create an ease from those bezier values.

 

See the Pen vdYJWb?editors=0010 by GreenSock (@GreenSock) on CodePen

 

 

 

 

Since you are already a member of these forums, you have access to CustomEase. Learn more about it here:

https://greensock.com/customease

 

On that page there is a video that shows exactly what is happening in the demo above with the custom cubic-bezier values.

 

Watch at 9:47

 

 

 

 

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