https://medium.com/analytic-animations/ease-in-out-the-sigmo...
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
Even very subtle changes in the tangents of the curves can have drastic effects and it's frustrating to see some platforms limit them to a few preset curves.