Skip to content

Instantly share code, notes, and snippets.

@opatut
opatut / easing.js
Last active August 29, 2015 14:25 — forked from frederickk/easing.js
/*
* Easing Functions - inspired from http://gizma.com/easing/
* only considering the t value for the range [0, 1] => [0, 1]
* Finally! Someone who understands we don't need to put the
* start, end, duration, etc. into the easing forumlae.
*/
var EasingFunctions = {
// no easing, no acceleration
linear: function (t) { return t },