private void sldAvoidRecStateChanged(ChangeEvent evt) {//GEN-FIRST:event_sldAvoidRecStateChanged
        lblAvoidRec.setText(Integer.toString(sldAvoidRec.getValue()));
        if (mainBoids.simul!=null){
            mainBoids.simul.setAvoidRec(sldAvoidRec.getValue());
        }
    }