Say I have a function that returns a weighted selection from a set of resources, according to a desired distribution. For argument’s sake let that resource be string colors. const distribution = { red: .1666, // We want 1/6th of colors in the world to be ‘red’ yellow: .3333, // … 1/3 to be ‘yellow’Read more