Linear Interpolation is a fairly simple concept. It is used to estimate values that fall between two known values. The idea is to draw a straight line between the two known points and use that line to find the value at a specific point in between.
Say you have a dimensional space with two known points: and . The formula for linear interpolation to find the value at a point between and is given by:
Parameterized for time, you can express it as:
LERPs can be extended to higher dimensions as well. For example, in , if you have two points and , you can interpolate both the x and y coordinates separately:
LERPs are widely used for the field of Splines, paticularly in Bezier Curves by βstackingβ multiple LERPs together to create smooth curves.