title: Influence Math.random()
body: <p>I'm looking for a way to influence Math.random().</p>
  
  <p>I have this function to generate a number from min to max:</p>
  
  <pre><code>var rand = function(min, max) {
      return Math.floor(Math.random() * (max - min + 1)) + min;
  }
  </code></pre>
  
  <p>Is there a way to make it more likely to get a low and high number than a number in the middle?</p>
  
  <p>For example; rand(0, 10) would return more of 0,1,9,10 than the rest.</p>