Emmanuele Bassi
ec3b1a7b90
[animation] Implement new easing functions
...
Instead of using our own homegrown alpha functions, we should
use the easing functions also shared by other animation frameworks,
like jQuery and Tween, in the interests of code portability.
The easing functions have been defined by Robert Penner and
are divided into three categories:
In Out InOut
Each category has a particular curve:
Quadratic
Cubic
Quartic
Quintic
Sinusoidal
Exponential
Circular
In addition, there are "physical" curves:
Elastic
Back (overshooting cubic)
Bounce (exponentially decaying parabolic)
Finally, the Linear curve is also provided as a reference.
The functions are private, and are meant to be used only
through their logical id as provided by the AnimationMode
enumeration.
The tests should be updated as well to match the new
easing functions.
2009-01-20 17:57:30 +00:00
..
2009-01-15 18:09:54 +00:00
2009-01-16 22:13:44 +00:00
2008-10-30 17:04:34 +00:00
2008-10-30 17:04:34 +00:00
2009-01-14 15:04:28 +00:00
2008-04-09 14:18:42 +00:00
2008-10-30 17:04:34 +00:00
2008-11-28 13:14:10 +00:00
2008-10-30 17:04:34 +00:00
2008-10-30 17:04:34 +00:00
2009-01-16 23:44:32 +00:00
2009-01-08 16:00:47 +00:00
2009-01-14 18:18:20 +00:00
2009-01-20 17:57:30 +00:00
2009-01-20 16:42:49 +00:00
2009-01-08 13:18:00 +00:00
2009-01-08 13:18:00 +00:00
2009-01-20 16:42:49 +00:00
2009-01-16 14:37:42 +00:00
2009-01-12 11:15:41 +00:00
2008-12-23 15:03:11 +00:00
2009-01-20 16:42:49 +00:00
2008-10-30 17:04:34 +00:00
2009-01-20 16:42:49 +00:00
2008-10-30 17:04:34 +00:00
2009-01-20 16:42:49 +00:00
2008-10-30 17:04:34 +00:00
2009-01-20 16:42:49 +00:00
2008-12-05 13:13:37 +00:00
2009-01-20 16:42:49 +00:00
2008-10-30 17:04:34 +00:00
2009-01-20 16:42:49 +00:00
2008-10-30 17:04:34 +00:00
2009-01-20 16:42:49 +00:00
2009-01-20 16:42:49 +00:00
2008-12-05 13:13:37 +00:00
2008-12-05 13:13:37 +00:00
2009-01-13 12:51:03 +00:00
2009-01-14 15:03:30 +00:00
2008-12-19 17:48:30 +00:00
2009-01-09 14:26:35 +00:00
2008-08-06 10:20:57 +00:00
2008-10-30 17:04:34 +00:00
2009-01-05 13:19:40 +00:00
2008-10-30 17:04:34 +00:00
2008-11-05 12:16:15 +00:00
2008-10-30 17:04:34 +00:00
2008-10-16 10:28:17 +00:00
2008-10-30 17:04:34 +00:00
2008-11-18 09:50:03 +00:00
2008-11-18 09:50:03 +00:00
2007-12-25 11:41:10 +00:00
2007-08-20 20:16:15 +00:00
2008-12-08 13:57:10 +00:00
2008-12-08 13:57:10 +00:00
2008-06-06 13:44:22 +00:00
2008-10-30 17:04:34 +00:00
2008-12-15 14:29:59 +00:00
2008-10-31 12:07:01 +00:00
2008-05-09 16:27:06 +00:00
2008-10-30 17:04:34 +00:00
2008-11-26 16:46:48 +00:00
2008-10-30 17:04:34 +00:00
2008-03-09 19:07:17 +00:00
2008-10-30 17:04:34 +00:00
2009-01-20 16:42:49 +00:00
2009-01-08 11:15:09 +00:00
2008-04-23 13:58:58 +00:00
2008-06-10 06:37:46 +00:00
2008-08-05 10:54:40 +00:00
2008-03-19 18:33:33 +00:00
2008-10-30 17:04:34 +00:00
2009-01-12 11:15:41 +00:00
2008-10-30 17:11:29 +00:00
2009-01-20 16:42:49 +00:00
2008-11-21 16:18:38 +00:00
2008-10-30 17:04:34 +00:00
2008-01-09 14:18:53 +00:00
2008-07-30 10:32:25 +00:00
2008-10-30 17:04:34 +00:00
2008-12-19 18:21:36 +00:00
2008-12-21 21:52:50 +00:00
2009-01-12 11:15:41 +00:00
2008-11-17 14:21:49 +00:00
2008-10-30 17:04:34 +00:00
2008-11-25 13:19:48 +00:00
2008-10-30 17:04:34 +00:00
2008-08-04 16:21:27 +00:00
2008-08-04 16:21:27 +00:00
2009-01-20 16:42:49 +00:00
2008-10-30 17:04:34 +00:00
2007-11-14 11:32:24 +00:00
2008-10-30 17:04:34 +00:00
2008-11-18 15:08:40 +00:00
2008-11-18 15:08:40 +00:00
2008-11-18 15:08:40 +00:00
2008-11-18 15:08:40 +00:00
2008-06-03 20:15:11 +00:00
2008-10-30 17:04:34 +00:00
2008-04-04 15:02:11 +00:00
2008-10-30 17:04:34 +00:00
2009-01-12 14:28:39 +00:00
2009-01-12 14:28:39 +00:00
2009-01-14 11:12:02 +00:00
2009-01-07 11:46:22 +00:00
2009-01-16 23:45:36 +00:00
2009-01-07 17:02:43 +00:00
2008-12-05 17:44:12 +00:00
2008-10-30 17:04:34 +00:00
2008-09-23 13:25:31 +00:00
2008-10-30 17:04:34 +00:00
2009-01-20 17:57:30 +00:00
2008-05-09 10:58:26 +00:00
2009-01-08 16:00:47 +00:00
2008-02-12 17:17:52 +00:00
2008-10-30 17:04:34 +00:00
2008-03-31 17:15:02 +00:00
2009-01-14 16:56:21 +00:00
2009-01-14 16:56:21 +00:00