parameterize ball speed.