getGradient(particle) {
    return -MathUtil.PI_2 + Math.atan2(particle.p.y - this.center.y, particle.p.x - this.center.x);
  }
Calculates the gradient for a particle.
@param {Object} particle - The particle to calculate the gradient for.
@returns {number} The calculated gradient.