What is it?
Building a function that passes through given data points. Linear interpolation (lerp) is everywhere in
graphics and animation; polynomials of high degree oscillate wildly (Runge's phenomenon), so practice uses
piecewise polynomials: splines.
Formulas
- Lagrange form
Where it shows up in computing
Resizing and rotating images samples between pixels with bilinear or bicubic interpolation.
GPUs interpolate colours, normals and texture coordinates across each triangle (barycentric interpolation).
De Casteljau's algorithm evaluates a Bézier curve by repeated linear interpolation.
Resampling audio between rates interpolates between samples (ideally with a sinc kernel).
Where is it used?
Computing topics reachable from here, through the chain of ideas that leads to them:
This page has the essentials. A fuller treatment (intuition, formal definition, worked example) is on the way.