Source
static num easeInOutExponential(num ratio) { ratio = ratio * 2.0; return (ratio < 1.0) ? 0.5 * easeInExponential(ratio) : 0.5 * easeOutExponential(ratio - 1.0) + 0.5; }
static num easeInOutExponential(num ratio) { ratio = ratio * 2.0; return (ratio < 1.0) ? 0.5 * easeInExponential(ratio) : 0.5 * easeOutExponential(ratio - 1.0) + 0.5; }