I wanted a simple tween behavior to return a tween value for easy use in events. I also wanted bezier curve easing for full control of the a tween curve. I also enjoy the challenge of learning javascript, so I combined Easing.js and this Bezier-Easing javascript library.
Feel free to use this in your projects: Tween on GitHub.
If you find any bugs etc then let me know here or on github. I hope you find this useful .
Actions:
One-stop set up easing tween
One-stop set up bezier tween
Set up bezier tween light (values 0 to 1 returned)
Pause / resume tween
Reset and restart tween
Reverse tween
Dynamically alter bezier control point values
Conditions:
On end trigger
Is tweening
Expressions:
Progress (0 to 1)
Current tween value
Get value at a specified time (time 0 to 1). Use this to loop through 0 to 1 and derive the tween values, to draw curves or predict movement etc.
NB the control point values are entered as decimal fractions (not real world coords), as shown here and detailed here.