mix

mix can interpolate between two numbers.

Import

import { mix } from '@popmotion/popcorn';

Usage

mix(0, 100, 0.5); // 50

Types

mix(from: number, to: number, progress: number): number