I want to generate x and y having a uniform distribution and limited by [xmin,xmax] and [ymin,ymax] The points (x,y) should be inside a triangle. How can I solve such a problem? Continue reading...