cubic-spline
cubic-spline copied to clipboard
interpolate for X in a 2d array
Hi Morgan - if I have 10 points for example, can I get Bezier points (two handles and the next point) from this code? If not, would you have a...
``` function extrapolation() { const spline = new Spline([1, 2], [1, 2]); console.log(spline.at(-1)); // -1 console.log(spline.at(5)); // NaN } ``` Is this expected?
Having the performance update when updating from cubic-spline 3.0.1 to 3.0.2 (or 3.0.3) "speed up curve initialization" caused a problem when using NGRX (https://ngrx.io/) that uses Object.freeze() to prevent data...
Adds the option to use 'not-a-knot' boundary conditions in fitting splines, as compared to 'natural' boundary conditions, which remain the default. This is a feature that was personally useful (it...
I expected for this library to calculate values beyond the known maximum. If that is a valid expectation, either I'm doing something wrong or it's returning `NaN` for higher values....
Thank you for your work! Your library turned to be exactly the one we needed in our project. The only problem was that we use it as a standalone script...
Hi can you push a new npm package with the typescript infos?
Boundary state fix