Play around with lagrange interpolation online
Live Version: https://ivy.vlhl.dev/~lizzy/lagrange-playground/
- Leftclick to add a point
- Scroll to zoom in/out
- Drag a point to move it
- Drag to move screen
The Lagrange Polynominal Interpolation Algorithm creates a polynomial that goes through all given points.
It is described here: https://en.wikipedia.org/wiki/Lagrange_polynomial