title: Setinterval with exponential time decrease
body: <p>I've got a mousedown event with a setinterval. I want the time of intervals to be variable. So the first one is 500, the second one 500/2 = 250, etc. Any tips?</p>
  
  <pre><code>$plus.mousedown(function(e) {
      increment(20)
      timeout = setInterval(function(){
          increment(20)
      }, 500);
  });
  $(document).mouseup(function(){
      clearInterval(timeout);
      return false;
  });
  </code></pre>
  
  <p>Cheers!</p>
  
  <p>EDIT: sorry for the ambiguity. I want the time of interval to change during the mousedown. So while the mousedown is being performed the intervaltime should change. So not by every single mouse click but with every continuous click, and then reset it again.</p>