Spring Physics Simulator
Mass, Stiffness, and Damping vs CSS Bezier.
True spring physics (Hooke's Law) cannot be accurately mapped to a static CSS cubic-bezier() curve because springs can oscillate (bounce) endlessly depending on damping, whereas a standard bezier is locked to a 0-1 time constraint.
If you need true spring dynamics (e.g. for drag-to-dismiss interfaces where initial velocity matters), you must use JavaScript requestAnimationFrame loops, or the linear() easing function in modern CSS to plot the mathematical curve.
Mathematical Fallback for Underdamped Spring
F = -kX - cV
where k = stiffness, X = displacement, c = damping, V = velocity