ParentFull threadTheAceOfHearts·Chance.js[0] is a great JS lib that lets you do precisely that for a wide array of values.[0]: http://chancejs.com/View on HN