static/js/animation.js

10 lines
217 B
JavaScript
Raw Normal View History

2016-01-27 17:58:45 +03:00
// Custom Easing
jQuery.extend( jQuery.easing,
{
easeInOutMaterial: function (x, t, b, c, d) {
if ((t/=d/2) < 1) return c/2*t*t + b;
return c/4*((t-=2)*t*t + 2) + b;
}
});