I originally expected the page to be interactive but I ended up making it pretty static. There’s no need to generate the images each page load. I am using this page to generate them all and save them to static images.
Non-evenly distributed points:
Centroid vs random point in triangle: