private void sldAngleStateChanged(ChangeEvent evt) {//GEN-FIRST:event_sldAngleStateChanged
        lblAngle.setText(Double.toString((int)((sldAngle.getValue()/(double)1000)*360/3.15)));
        if (mainBoids.simul!=null){
            mainBoids.simul.setNeightParametrs(sldAngle.getValue()/(double)1000,sldNeigh.getValue()/(double)10);
        }
    }