dicom-microscopy-viewer-changed
Version:
Interactive web-based viewer for DICOM Microscopy Images
24 lines (13 loc) • 748 B
Markdown
# lerp
[](https://travis-ci.org/mattdesl/lerp) [](http://github.com/badges/stability-badges)
In the fashion of small modules and saving keystrokes; this is a bare-bones [linear interpolation](http://en.wikipedia.org/wiki/Linear_interpolation) function. Same as `mix` in GLSL.
```js
var lerp = require('lerp')
var res = lerp(a, b, t);
```
## Usage
[](https://nodei.co/npm/lerp/)
```lerp(start, end, alpha)```
Interpolates from start to end using the given alpha.
## License
MIT, see [LICENSE.md](http://github.com/mattdesl/lerp/blob/master/LICENSE.md) for details.