Friday, May 02, 2003

I know Colin Moock has mentioned the new easing equations already but...

I was looking at Robert Penner's easing equations today and wondering how I could use them. I looked over at Protoype to see if anyone had used these equations and found a funky little prototype from Zeh. Zeh's prototype means that you can simply use .tween(property, pEnd, seconds, animType, delay, callback) to tween objects, you insert a property or properties such as "_xscale" or "[_x,_y]" ,adjust the time in seconds you wish the tween to last for, insert a callback and a delay if desired and then select which of Robert Penner's fantastic equations to use (ie "linearInOut"). Check it out for yourself here

Jon 5:13 PM Permalink

Comments:

Post a Comment