andersch.dev

<2024-07-03 Wed>

Interpolation

Interpolation is a mathematical method of estimating data values between two known known data points.

Linear interpolation (Lerp)

#define lerp(t, a, b) (a + t * (b - a))
mix(x,y,a);

Resources