Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.






Easing along, one step at a time

Posted by Servant of the Lord, in Code snippets 02 March 2013 · 1,290 views

interpolation easing tweening


Cubic Ease In

Posted Image

Cubic Ease InOut

Posted Image

Cubic Ease Out

Posted Image

Cubic Ease OutIn

Posted Image

Elastic Ease In

Posted Image

Elastic Ease InOut

Posted Image

Elastic Ease Out

Posted Image

Elastic Ease OutIn

Posted Image

Exponential Ease In

Posted Image

Exponential Ease InOut

Posted Image

Exponential Ease Out

Posted Image

Exponential Ease OutIn

Posted Image

Linear Ease In / InOut / Out / OutIn

Posted Image

Power Ease In
Posted Image

Power Ease InOut

Posted Image

Power Ease Out

Posted Image

Power Ease OutIn

Posted Image

Quadratic Ease In

Posted Image

Quadratic Ease InOut

Posted Image

Quadratic Ease Out

Posted Image

Quadratic Ease OutIn

Posted Image

Quartic Ease In

Posted Image

Quartic Ease InOut

Posted Image

Quartic Ease Out

Posted Image

Quartic Ease OutIn

Posted Image

Quintic Ease In

Posted Image

Quintic Ease InOut

Posted Image

Quintic Ease Out

Posted Image

Quintic Ease OutIn

Posted Image

Sine Ease In

Posted Image

Sine Ease InOut

Posted Image

Sine Ease Out

Posted Image

Sine Ease OutIn

Posted Image

SmoothStep In

Posted Image

SmoothStep InOut

Posted Image

SmoothStep Out

Posted Image

SmoothStep OutIn

Posted Image

WeightedAverage In

Posted Image

WeightedAverage InOut

Posted Image

WeightedAverage Out

Posted Image

WeightedAverage OutIn

Posted Image

BackEase In

Posted Image

BackEase InOut

Posted Image

BackEase Out

Posted Image

BackEase OutIn

Posted Image

BounceEase In

Posted Image

BounceEase InOut

Posted Image

BounceEase Out

Posted Image

BounceEase OutIn

Posted Image

CircleEase In

Posted Image

CircleEase InOut

Posted Image

CircleEase Out

Posted Image

CircleEase OutIn

Posted Image










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 :D And yeah, interpolators are awesome :) here's my code : http://ideone.com/RTEmf5

Good idea about the templates! I think I'll leave that for some future, though.

Recent Entries

Recent Comments

Latest Visitors

PARTNERS