Jump to content
Search Community

throw (flick) examples?

knalle 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

Sorry, I haven't created anything like this with JS.

Our ThrowPropsPlugin will be available sometime soon which would help quite a bit.

 

Also, its important to note that Lee isn't creating a tween. He is running a loop that is constantly capturing the velocity of the drag. When the drag stops his loop is just diminishing that velocity each frame with vx *= 0.95;

 

 

With ThrowProps, you will be able to create a tween that will have a predetermined duration and end values. This tween can be paused, restarted, reversed, inserted into a sequence (timeline) and have callbacks applied among other things.

 

You can read more about ThrowPropsPlugin here: http://www.greensock.com/throwprops/

 

Stay tuned (facebook / twitter) for more info on the release of this plugin for Javascript.

 

As for touch libraries, sorry I really don't know enough about them to recommend one.

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...