Easing
Related terms: tween, ease in, ease out, animation curve
Changes the pacing between two values. Linear motion moves at constant speed and feels mechanical. An ease-in-out starts slow, speeds up, then slows down, the way real objects with weight move.
It works by bending t before it goes into a lerp. A tween is a short animation built this way, common in UI.
smooth = t * t * (3 - 2 * t)
- Further reading
- MDN: animation-timing-function