1.0.0 • Published 4 years ago
@rojo2/interpolation v1.0.0
@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 :heart: by rojo2
1.0.0
4 years ago