@VisibleForTesting
    boolean particleOutOfBounds(
            @NonNull final Scene scene,
            final float x,
            final float y) {
        final float offset = scene.getParticleRadiusMin() + scene.getLineLength();
        return x + offset < 0 || x - offset > scene.getWidth()
                || y + offset < 0 || y - offset > scene.getHeight();
    }
@ VisibleForTesting boolean particleOutOfBounds ( @ NonNull final Scene scene , final float x , final float y ) { final float offset = scene . getParticleRadiusMin ( ) + scene . getLineLength ( ) ; return x + offset < 0 || x - offset > scene . getWidth ( ) || y + offset < 0 || y - offset > scene . getHeight ( ) ; }
Used for checking if the particle is off-screen and farther than line length and it's
radius.

@param x the particle x
@param y the particle y
@return true if the particle is off-screen and guaranteed not to be used to draw a line to
the closest particle on screen.