Generating Points with Uniform Density in a Triangle, Parallelogram, or Disk

This Demonstration generates points with a uniform density inside a triangle, parallelogram, or disk. Drag the red points to vary the figures. The probability of a point's falling in a region is proportional to the area of the region.



  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.