Interpolation algorithms shared between vizabi and waffle-server
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
interpolators.js
package.json

README.md

vizabi-interpolators

Interpolation algorithms shared between vizabi and waffle-server

API:

All interpolators accept the same inputs: x1, x2, y1, y2 - boundary points, x - point of interpolation
interpolator.<linear|exp|stepBefore|stepAfter|stepMiddle>(x1, x2, y1, y2, x)

and return the interpolated value y.

Supported algorithms:

image