easing-functions icon indicating copy to clipboard operation
easing-functions copied to clipboard

Easing functions implemented in C++

Results 6 easing-functions issues
Sort by recently updated
recently updated
newest added

If you'd like people to use your code, you should specify what license it's available under.

Looking through the code I notice that several implementations contain undefined behaviour, using --t and t several times in the same expressions. The evaluation order is undefined without sequence points,...

-Moved dynamic easing functions to dedicated file -Added regular functions and namespaces -Removed dependency from easing.cpp (now in easing_dynamic.cpp) -Added decimals to whole numbers (1, 2, ... are now 1.0,...

I'm trying your easeInOutCubic: ``` double easeInOutCubic( double t ) { return t < 0.5 ? 4 * t * t * t : 1 + (--t) * (2 *...

Usually easy (In) functions is slower in beginning as you can see here: http://easings.net/ru#easeInSine But your Sine functions is swapped: ![sine](https://user-images.githubusercontent.com/7755015/27986782-5186545c-640c-11e7-8386-e816a5710bf3.png) Your function: sin( 1.5707963 * t ); Tween.js (this...