Interpolates (n) points with the lowest degree polynomial possible using Lagrange interpolation Instructions: Drag the points around Press [A] to show/hide the points' coordinates and the (unsimplified) function Press [B] to hide UI Press [C] to switch between the output being factored/ expanded # of points slider changes how many points to interpolate (higher = slower) Step slider changes the resolution of rendering (higher = faster)
https://brilliant.org/wiki/lagrange-interpolation/ Please use a scratch compiler like turbowarp for a smoother experience. https://turbowarp.org/598133605 The frame time is displayed on the upper right (inconsistent) The number of points is capped at 10 for speed and formatting, but should theoretically work with more