@rojo2/interpolation

1.0.0 • Public • Published

@rojo2/interpolation

Utility functions to use linear, quadratic and cubic interpolation.

import { linear, quadratic, cubic } from '@rojo2/interpolation'

linear(0.5, -100, 100)
quadratic(0.5, -100, 0, 100)
cubic(0.5, -100, 0, 0, 100)

Made with ❤️ by rojo2

Readme

Keywords

Package Sidebar

Install

npm i @rojo2/interpolation

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

9.69 kB

Total Files

15

Last publish

Collaborators

  • aitormm
  • azazeln28