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
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