Linear interpolation
In mathematics, linear interpolation (sometimes lerp) is a method of curve fitting using linear polynomials to construct new data points within the range of a discrete set of known data points. == Linear interpolation between two known points == If the two known points are given by the coordinates ( x 0 , y 0 ) {\displaystyle (x_{0},y_{0})} and ( x 1 , y 1 ) {\displaystyle (x_{1},y_{1})} , the linear interpolant is the straight line between these points.