@hellomonday/lerp
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-beta.1 • Public • Published

@hellomonday/lerp

Linearly interpolate between two values (mix).

Install

$ npm install --save @hellomonday/lerp

Usage

import lerp from '@hellomonday/lerp';

const value = lerp(0, 100, 0.5); // => 50

License

MIT © Hello Monday

Readme

Keywords

none

Package Sidebar

Install

npm i @hellomonday/lerp

Weekly Downloads

1

Version

1.0.0-beta.1

License

MIT

Unpacked Size

2.26 kB

Total Files

5

Last publish

Collaborators

  • supermoos
  • zerguei
  • johnnyslack
  • virgilspruit
  • anderssjessen
  • terkelg