I'm personally a fan of pre-generating a fixed set of points that are linearly interpolated and scaled. It has a few advantages:
-Extremely cache friendly, can even be cheaper than computing a spline on a lot of platforms since it's essentially just a look up table.
-Your curve doesn't need to fit any specific formula(I.E. you can have a step function as part of it if you want).
-You can pull data from design applications to generate the curve allowing non-developers to have control over look-and-feel if you want to get that fancy.
The other reason I like using analytic functions is because: 1) You can easily generate a linearly interpolated point set if you want, I've done it for CSS in stylus (for spring animations that can't be represented by a single bezier). 2) With the right formulation, it's very easy to tweak the shape as it is in this case 3) You can analyze the functions easily
https://medium.com/analytic-animations/ease-in-out-the-sigmo...