Type Alias OpInterpolateOptions

OpInterpolateOptions: InterpolateOptions & {
    amount: number;
    snapAt: number;
}

Type declaration

  • amount: number
  • snapAt: number

    Percentage of value that we consider 'done'. Since interpolation can never converge to target exactly, this allows us to snap to completion. Default: 0.99, meaning if value gets to within 99%, return the target.