Source
static num easeOutInQuartic(num ratio) { ratio = ratio * 2.0; return (ratio < 1.0) ? 0.5 * easeOutQuartic(ratio) : 0.5 * easeInQuartic(ratio - 1.0) + 0.5; }
static num easeOutInQuartic(num ratio) { ratio = ratio * 2.0; return (ratio < 1.0) ? 0.5 * easeOutQuartic(ratio) : 0.5 * easeInQuartic(ratio - 1.0) + 0.5; }