For finding random points in an arbitrary simple closed figure, you could draw it in say PIL, fill it with a known color, convert to array, random sample the array, and keep the locations of the colored points. fwiw, Alan Isaac