title: Lag behaviour for mousedrag()?
body: <p>I have a simple processing sketch (you can post the code and observe the behavior <a href="http://sketch.processing.org/" rel="nofollow noreferrer">here</a>)</p>
  
  
  
  <pre class="lang-java prettyprint-override"><code>int value = 0;
  
  void setup() {
    size(480, 120);
  
  }
  
  void draw() {
    fill(value);
    background(#ffffff);
  }
  
  void mouseDragged() 
  {
  ellipse(mouseX,mouseY,20,20);
  }
  </code></pre>
  
  <p>The only thing this does is have a circle follow the cursor on being dragged. In order to not have the circle leave a trace, I assign the bacground in the Draw procedure so that the background resets. I also played with the frame rate taking it from the default 60 up to 2000 without success. How do I get this right?</p>