lerp

fun lerp(other: Vector2d, amount: Double): Vector2d(source)

Linear interpolation; amounts outside 0..1 extrapolate.