func BounceOut(t, b, c, d float64) float64 {
	if t > d {
		return c
	}
	t /= d
	switch {
	case t < 1/2.75:
		return c*(7.5625*t*t) + b
	case t < 2/2.75:
		t -= 1.5 / 2.75
		return c*(7.5625*t*t+0.75) + b
	case t < 2.5/2.75:
		t -= 2.25 / 2.75
		return c*(7.5625*t*t+0.9375) + b
	}
	t -= 2.625 / 2.75
	return c*(7.5625*t*t+0.984375) + b
}
BounceOut Decelerating to zero velocity
https://easings.net/#easeOutBounce
package easing
func BounceIn(t, b, c, d float64) float64 {
	if t > d {
		return c
	}
	return c - BounceOut(d-t, 0.0, c, d) + b
}