Source
static num easeInOutCircular(num ratio) { ratio = ratio * 2.0; return (ratio < 1.0) ? 0.5 * easeInCircular(ratio) : 0.5 * easeOutCircular(ratio - 1.0) + 0.5; }
static num easeInOutCircular(num ratio) { ratio = ratio * 2.0; return (ratio < 1.0) ? 0.5 * easeInCircular(ratio) : 0.5 * easeOutCircular(ratio - 1.0) + 0.5; }