chenglou / react-tween-state

React animation.
Other
1.74k stars 70 forks source link

Could I set a new Bezier curve to 'easing' prop instead of using the methods in tween-functions? How? #36

Closed PokimLee closed 9 years ago

chenglou commented 9 years ago

You can pass your custom interpolation function, as written in the readme. Here are the ones I provide out of the box: https://github.com/chenglou/tween-functions/blob/10f6bf89298155454bb4c120bbafe954aaba55d7/index.js

You can simply follow that signature.