Suppose I have a range of values from 1 to 10. I want to randomly pick a number from this range based on some kind of gaussian probability. So, there is a higher chance to get the values at about 4,5,6. There are still chances of getting 1 and 10, but the chance is lesser. It doesn't need to exactly follow a gaussian distribution because then the values of 1 and 10 is almost near impossible to get. What I wish is to at least alter and skew the chance of getting the extreme values while spreading the chances of getting other values as well. By skewing, I mean there could be times I would want the chance of getting 10 to be more than 1. So the distribution may not necessarily be symmetrical.
I tried playing around with seeding a random float value using the Random class and multiplying the value by 10, but the probably is still linear. I can't think of how I could do that. Is there a simple way to achieve this?