ParentFull threadyyhhsj0521·This can be generalized to having any distribution, simulating a die:http://www.keithschwarz.com/darts-dice-coins/View on HN