Easing along, one step at a time
Posted by Servant of the Lord,
in
Code snippets
02 March 2013
·
599 views
Cubic Ease In

Cubic Ease InOut

Cubic Ease Out

Cubic Ease OutIn

Elastic Ease In

Elastic Ease InOut

Elastic Ease Out

Elastic Ease OutIn

Exponential Ease In

Exponential Ease InOut

Exponential Ease Out

Exponential Ease OutIn

Linear Ease In / InOut / Out / OutIn

Power Ease In

Power Ease InOut

Power Ease Out

Power Ease OutIn

Quadratic Ease In

Quadratic Ease InOut

Quadratic Ease Out

Quadratic Ease OutIn

Quartic Ease In

Quartic Ease InOut

Quartic Ease Out

Quartic Ease OutIn

Quintic Ease In

Quintic Ease InOut

Quintic Ease Out

Quintic Ease OutIn

Sine Ease In

Sine Ease InOut

Sine Ease Out

Sine Ease OutIn

SmoothStep In

SmoothStep InOut

SmoothStep Out

SmoothStep OutIn

WeightedAverage In

WeightedAverage InOut

WeightedAverage Out

WeightedAverage OutIn

BackEase In

BackEase InOut

BackEase Out

BackEase OutIn

BounceEase In

BounceEase InOut

BounceEase Out

BounceEase OutIn

CircleEase In

CircleEase InOut

CircleEase Out

CircleEase OutIn

Create a custom theme





I prefer to make the the whole thing template based - so I can interpolate floats, ints, doubles, vectors as well as quaternions (anything that has the + and * operator overloaded
And yeah, interpolators are awesome
here's my code : http://ideone.com/RTEmf5