RE: [Flashcoders] bounce easing function for tweener
Greensock's TweenMax and TweenLite include source code you can modify and they include Penner's easing equations which include Bounce easing. You could try that. Jason Merrill Bank of America Global Learning Shared Services Solutions Development Monthly meetings on the Adobe Flash platform for rich media experiences - join the Bank of America Flash Platform Community -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of allandt bik-elliott (thefieldcomic.com) Sent: Thursday, August 13, 2009 12:09 PM To: Flash Coders List Subject: [Flashcoders] bounce easing function for tweener hi guys I've been looking around for a way of modifying the bounce easing function for Tweener but I'm not having much joy (I've taken to doing a series of tweens in the onComplete function to fudge it). I've seen http://timotheegroleau.com/Flash/experiments/easing_function_generator.h tm which is astounding but it doesn't include a bounce. I've also seen http://www.uize.com/tools/curve-explorer.html which is a javascript modifier but it only works with Uize (which i guess is a javascript tweening library - who knows) and doesn't really go into the formulae (you pass it a set of parameters and it does the rest) Could anyone point me in the right direction, please? thanks in advance Alz ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] bounce easing function for tweener
go into the penner's easing classes, copy the bounce function class and rename it, then mess with the constants in the math in there. On Thu, Aug 13, 2009 at 10:28 AM, Merrill, Jasonjason.merr...@bankofamerica.com wrote: Greensock's TweenMax and TweenLite include source code you can modify and they include Penner's easing equations which include Bounce easing. You could try that. Jason Merrill Bank of America Global Learning Shared Services Solutions Development Monthly meetings on the Adobe Flash platform for rich media experiences - join the Bank of America Flash Platform Community -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of allandt bik-elliott (thefieldcomic.com) Sent: Thursday, August 13, 2009 12:09 PM To: Flash Coders List Subject: [Flashcoders] bounce easing function for tweener hi guys I've been looking around for a way of modifying the bounce easing function for Tweener but I'm not having much joy (I've taken to doing a series of tweens in the onComplete function to fudge it). I've seen http://timotheegroleau.com/Flash/experiments/easing_function_generator.h tm which is astounding but it doesn't include a bounce. I've also seen http://www.uize.com/tools/curve-explorer.html which is a javascript modifier but it only works with Uize (which i guess is a javascript tweening library - who knows) and doesn't really go into the formulae (you pass it a set of parameters and it does the rest) Could anyone point me in the right direction, please? thanks in advance Alz ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] bounce easing function for tweener
You can copy the original bounce function from the Equations class and then use it as the transition parameter (like you probably already know). But yeah, you'll need to change the original code to achieve whatever effect you want. Usually tweaking some of the constant numbers is enough to make it bounce the way you want it to, or even apply some of the other equations to change the effect (ie, outExpo on top of the outBounce result makes it look like a thud instead of the default bouncy bounce). Zeh On Thu, Aug 13, 2009 at 1:43 PM, jared stanley jared.stan...@gmail.comwrote: go into the penner's easing classes, copy the bounce function class and rename it, then mess with the constants in the math in there. On Thu, Aug 13, 2009 at 10:28 AM, Merrill, Jasonjason.merr...@bankofamerica.com wrote: Greensock's TweenMax and TweenLite include source code you can modify and they include Penner's easing equations which include Bounce easing. You could try that. Jason Merrill Bank of America Global Learning Shared Services Solutions Development Monthly meetings on the Adobe Flash platform for rich media experiences - join the Bank of America Flash Platform Community -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of allandt bik-elliott (thefieldcomic.com) Sent: Thursday, August 13, 2009 12:09 PM To: Flash Coders List Subject: [Flashcoders] bounce easing function for tweener hi guys I've been looking around for a way of modifying the bounce easing function for Tweener but I'm not having much joy (I've taken to doing a series of tweens in the onComplete function to fudge it). I've seen http://timotheegroleau.com/Flash/experiments/easing_function_generator.h tm which is astounding but it doesn't include a bounce. I've also seen http://www.uize.com/tools/curve-explorer.html which is a javascript modifier but it only works with Uize (which i guess is a javascript tweening library - who knows) and doesn't really go into the formulae (you pass it a set of parameters and it does the rest) Could anyone point me in the right direction, please? thanks in advance Alz ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] bounce easing function for tweener
i would listen to whatever zeh says :) On Thu, Aug 13, 2009 at 11:05 AM, Zeh Fernandoz...@zehfernando.com wrote: You can copy the original bounce function from the Equations class and then use it as the transition parameter (like you probably already know). But yeah, you'll need to change the original code to achieve whatever effect you want. Usually tweaking some of the constant numbers is enough to make it bounce the way you want it to, or even apply some of the other equations to change the effect (ie, outExpo on top of the outBounce result makes it look like a thud instead of the default bouncy bounce). Zeh On Thu, Aug 13, 2009 at 1:43 PM, jared stanley jared.stan...@gmail.comwrote: go into the penner's easing classes, copy the bounce function class and rename it, then mess with the constants in the math in there. On Thu, Aug 13, 2009 at 10:28 AM, Merrill, Jasonjason.merr...@bankofamerica.com wrote: Greensock's TweenMax and TweenLite include source code you can modify and they include Penner's easing equations which include Bounce easing. You could try that. Jason Merrill Bank of America Global Learning Shared Services Solutions Development Monthly meetings on the Adobe Flash platform for rich media experiences - join the Bank of America Flash Platform Community -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of allandt bik-elliott (thefieldcomic.com) Sent: Thursday, August 13, 2009 12:09 PM To: Flash Coders List Subject: [Flashcoders] bounce easing function for tweener hi guys I've been looking around for a way of modifying the bounce easing function for Tweener but I'm not having much joy (I've taken to doing a series of tweens in the onComplete function to fudge it). I've seen http://timotheegroleau.com/Flash/experiments/easing_function_generator.h tm which is astounding but it doesn't include a bounce. I've also seen http://www.uize.com/tools/curve-explorer.html which is a javascript modifier but it only works with Uize (which i guess is a javascript tweening library - who knows) and doesn't really go into the formulae (you pass it a set of parameters and it does the rest) Could anyone point me in the right direction, please? thanks in advance Alz ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] bounce easing function for tweener
What I said probably applies to 99% of the tweening engines available out there anyway. PS. Awesome link on that uize tool. I didn't know that. There are some very good equation samples - based on Penner's work but much more flexible to animation use. With some ingenuity the code can probably be easily adapted to tweener/tweenmax/tweenetc. It's GPL though. Zeh On Thu, Aug 13, 2009 at 2:13 PM, jared stanley jared.stan...@gmail.comwrote: i would listen to whatever zeh says :) On Thu, Aug 13, 2009 at 11:05 AM, Zeh Fernandoz...@zehfernando.com wrote: You can copy the original bounce function from the Equations class and then use it as the transition parameter (like you probably already know). But yeah, you'll need to change the original code to achieve whatever effect you want. Usually tweaking some of the constant numbers is enough to make it bounce the way you want it to, or even apply some of the other equations to change the effect (ie, outExpo on top of the outBounce result makes it look like a thud instead of the default bouncy bounce). Zeh On Thu, Aug 13, 2009 at 1:43 PM, jared stanley jared.stan...@gmail.com wrote: go into the penner's easing classes, copy the bounce function class and rename it, then mess with the constants in the math in there. On Thu, Aug 13, 2009 at 10:28 AM, Merrill, Jasonjason.merr...@bankofamerica.com wrote: Greensock's TweenMax and TweenLite include source code you can modify and they include Penner's easing equations which include Bounce easing. You could try that. Jason Merrill Bank of America Global Learning Shared Services Solutions Development Monthly meetings on the Adobe Flash platform for rich media experiences - join the Bank of America Flash Platform Community -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of allandt bik-elliott (thefieldcomic.com) Sent: Thursday, August 13, 2009 12:09 PM To: Flash Coders List Subject: [Flashcoders] bounce easing function for tweener hi guys I've been looking around for a way of modifying the bounce easing function for Tweener but I'm not having much joy (I've taken to doing a series of tweens in the onComplete function to fudge it). I've seen http://timotheegroleau.com/Flash/experiments/easing_function_generator.h tm which is astounding but it doesn't include a bounce. I've also seen http://www.uize.com/tools/curve-explorer.html which is a javascript modifier but it only works with Uize (which i guess is a javascript tweening library - who knows) and doesn't really go into the formulae (you pass it a set of parameters and it does the rest) Could anyone point me in the right direction, please? thanks in advance Alz ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders