title: Weighted random coordinates
body: <p>This may be more of a search for a term, but solutions are also welcome. I'm looking to create n amount of random x,y coordinates. The issue I am having is that I would like the coordinates to be "weighted" or have more of a chance of falling closer to a specific point. I've created something close by using this pseudo code:</p>
  
  <pre><code>x = rand(100) //random integer between 0 and 100
  x = rand(x) //random number between 0 and the previous rand value
  //randomize x to positive or negative
  //repeat for y
  </code></pre>
  
  <p>This works to pull objects toward 0,0 - however if you create enough points, you can see a pattern of the x and y axis. This is because the even if x manages to get to 100, the chances are high that y will then be closer to.</p>
  
  <p>I'm looking to avoid the formation of this x,y line. Bonus points if there is a way to throw in multiple "weighted coordinates" that the random coordinates would sort of gravitate to, instead of statically to 0,0.</p>