easing 0.0.4
A library that add flavor to motion in D programming language.
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
easing
##Description
easing is a library that add flavor to motion in D programming language.
##Usage
import easing;
auto output = input.map!linear(0.0, 10.0, 0.0, 1.0);
// | | | | |
// easing function -----+ | | | |
// min of input ---------------+ | | |
// max of input --------------------+ | |
// min of output -------------------------+ |
// max of output ------------------------------+
##Easing functions
- linear
- easeInSine
- easeOutSine
- easeInOutSine
- easeInCubic
- easeOutCubic
- easeInOutCubic
- easeInQuint
- easeOutQuint
- easeInOutQuint
- easeInCirc
- easeOutCirc
- easeInOutCirc
- easeInElastic
- easeOutElastic
- easeInOutElastic
- easeInQuad
- easeOutQuad
- easeInOutQuad
- easeInQuart
- easeOutQuart
- easeInOutQuart
- easeInExpo
- easeOutExpo
- easeInOutExpo
- easeInBack
- easeOutBack
- easeInOutBack
- easeInBounce
- easeOutBounce
- easeInOutBounce
Please look at http://easings.net/ regarding details of implemented functions.
- Registered by tanitta
- 0.0.4 released 8 years ago
- tanitta/easing
- MIT
- Copyright © 2016, tanitta
- Authors:
- Dependencies:
- none
- Versions:
-
2.2.3 2017-Jul-22 2.2.2 2017-Mar-02 2.2.1 2017-Mar-02 2.2.0 2017-Mar-02 2.1.0 2016-Jun-15 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
84 downloads total
-
- Score:
- 1.4
- Short URL:
- easing.dub.pm