Clear questions and runnable code get the best and fastest answer 

PerlMonks 
Re^2: Randomly biased, random numbers.by salva (Abbot) 
on Dec 06, 2013 at 09:43 UTC ( #1065942=note: print w/ replies, xml )  Need Help?? 
Math::Vector::Real::MultiNormalMixture generates density functions which may suit the OP case and that can also be randomly parametrized. Anyway, one problem with this approach is that the ratio of a discarded points could be too high. In that case, a more efficient way may be to divide the plane in regions (i.e. triangles), calculate the probability of every region and then generate the random points first picking a region and then a point inside the region with your proposed algorithm using the conditioned density function.
In Section
Seekers of Perl Wisdom

