code: public void setFPSLimit(double fps) {
  		if (fps > MAX_FREQUENCY) {
  			fps = MAX_FREQUENCY;
  		}
  		if (fps < MIN_FREQUENCY) {
  			fps = MIN_FREQUENCY;
  		}
  		this.frequency = fps;
  	}
docs: Set rendering frequency (in Hz or FPS). Minimum frequency is 0.016 (1 frame per minute) and
  maximum is 25 (25 frames per second).
  
  @param fps the frequency