Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Flying Kid

motionPath - bezier

Recommended Posts

Hello all,

 

i don't understand

 

 - how are the control points coordinates calculated, and what exactly are the control points ?

-  what is the unit of x, y ( pixels ? )

 

// cubic bezier coordinates (anchor, two control points, anchor, two control points, etc.):
motionPath: {
  path: [{x:0, y:0}, {x:20, y:0}, {x:30, y:50}, {x:50, y:50}],
  type: "cubic"
}

Thanks !

 

Steve

Share this post


Link to post
Share on other sites
6 hours ago, OSUblake said:

thanks!

 

 

 

Share this post


Link to post
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.

×