code: public static double curveValue(double value, double dest, double speed)
      {
          Check.different(speed, 0.0);
  
          final double reciprocal = 1.0 / speed;
          final double invReciprocal = 1.0 - reciprocal;
  
          return value * invReciprocal + dest * reciprocal;
      }
docs: Apply progressive modifications to a value.
  
  @param value The value.
  @param dest The value to reach.
  @param speed The effect speed (must not be equal to 0.0).
  @return The modified value.
  @throws LionEngineException If invalid argument.