Quartic easing in/out.
static double easeInOutQuart(double t) => t < 0.5 ? 8.0 * t * t * t * t : 1.0 - math.pow(-2.0 * t + 2.0, 4) / 2.0;