Source
static num easeOutInBack(num ratio) { ratio = ratio * 2.0; return (ratio < 1.0) ? 0.5 * easeOutBack(ratio) : 0.5 * easeInBack(ratio - 1.0) + 0.5; }
static num easeOutInBack(num ratio) { ratio = ratio * 2.0; return (ratio < 1.0) ? 0.5 * easeOutBack(ratio) : 0.5 * easeInBack(ratio - 1.0) + 0.5; }