Lagrange Interpolation

The blue curve represents the Lagrange interpolating polynomial for the current set of points.

Instructions:
Click anywhere on the canvas to add a point.
Drag a point to move it.
Right-click on a point to delete it.