Source
static num easeInOutBounce(num ratio) { ratio = ratio * 2.0; return (ratio < 1.0) ? 0.5 * easeInBounce(ratio) : 0.5 * easeOutBounce(ratio - 1.0) + 0.5; }
static num easeInOutBounce(num ratio) { ratio = ratio * 2.0; return (ratio < 1.0) ? 0.5 * easeInBounce(ratio) : 0.5 * easeOutBounce(ratio - 1.0) + 0.5; }