Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 313 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 313 Bytes

@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