[Tweener] custom parameters documented?
Zeh Fernando
zeh at zehfernando.com
Wed Jan 7 16:26:10 PST 2009
You're right. That was... an oversight. It's missing.
Anyway, they use Robert Penner's original equations' parameters, but
the properties are renamed. The allowed parameters are as such:
ease*Back:
"overshoot": higher means greater overshoot (0 produces cubic easing
with no overshoot, and the default value of 1.70158 produces an
overshoot of 10 percent).
ease*Elastic:
"amplitude": amplitude of elastic movement. default is the difference
between starting value and target value.
"period": period of the elastic movement. default is 1/3 of the time.
Using the back parameters (overshoot) is usually easy. Using elastic
parameters can be a bit more complicated.
HTH,
Zeh
On Wed, Jan 7, 2009 at 8:35 PM, Jason F. Mortara <JFM at bluefang.com> wrote:
> Hi, is there a place where custom parameters are documented? For example on
> this page, an "overshoot" param is mentioned… but I can't find any others.
> I'd like to give an elastic tween a few more bounces, for example.
>
>
>
> http://hosted.zeh.com.br/tweener/docs/en-us/
>
>
>
> thanks!
>
>
>
> jfm
>
> _______________________________________________
> Tweener mailing list
> Tweener at lists.caurinauebi.com
> http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com
>
>
More information about the Tweener
mailing list