This project is inactive, and I will not be making further changes. Pull requests welcome. :P
These functions are an adaptation of Robert Penner's easing functions. They are intented to be used with Xamarin.Form's animation extensions.
These functions are in beta, and I'm opening this repository as it's been sitting idle for some time. My attention will come back to this library, once other projects are finished.
The current version of Xamarin.Forms (1.4.3.6374) includes the following easing functions that are accessible through the Easing
static class:
- | Bounce | Cubic | Linear | Sin | Spring |
---|---|---|---|---|---|
EaseIn | ✓ | ✓ | n/a | ✓ | ✓ |
EaseOut | ✓ | ✓ | n/a | ✓ | ✓ |
EaseInOut | - | ✓ | n/a | ✓ | - |
This library supplements the builtin easing functions, with a few more that are availble through the MoreEasing
static class.
- | Back | Bounce | Circular | Elastic | Exponential | Quad | Quartic | Quintic | Sin |
---|---|---|---|---|---|---|---|---|---|
EaseOut | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | n/a |
EaseIn | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | n/a |
EaseInOut | ✓ | ✓ | ✓ | - | ✓ | ✓ | ✓ | ✓ | n/a |
EaseOutIn | ✓ | ✓ | - | - | - | - | - | - | n/a |
Dampened | - | - | - | - | - | - | - | - | ✓ |
Examples can be found in the FormsAnimations project. They will be moved to their own project at a later time. If you're familiar with the popping project, you'll notice this project is intended to be a clone.
- Robert Penner's easing functions
- Jesús Gollonet's work was also referenced