Linear interpolation is a way to smooth out movements or gradients in games, and is also used also used to make curves that has a lot of uses in computer-aided design or manufacturing. A Bezier curve is made by using linear interpolation of all of the lines between every control point and using linear interpolation on those lines until you don't have any more lines to lerp. The one displayed here is a cubic Bezier curve with four control points. Dragging the test-Resolution slider allows you to change how much points the function will evaluate. Dragging any of the four control points allows you to change the curve.