code: def interpolate(v1, v2, t):
      '''Interpolate from one vector to another.
      '''
      return add(v1, mul(sub(v2, v1), t)f interpolate(v1, v2, t):
      '''Interpolate from one vector to another.
      '''
      return add(v1, mul(sub(v2, v1), t))
docs: Interpolate from one vector to another.