Source
static num easeInOutQuadratic(num ratio) { ratio = ratio * 2.0; return (ratio < 1.0) ? 0.5 * easeInQuadratic(ratio) : 0.5 * easeOutQuadratic(ratio - 1.0) + 0.5; }
static num easeInOutQuadratic(num ratio) { ratio = ratio * 2.0; return (ratio < 1.0) ? 0.5 * easeInQuadratic(ratio) : 0.5 * easeOutQuadratic(ratio - 1.0) + 0.5; }