Hacker News new | past | comments | ask | show | jobs | submit login

I wrote a Monte Carlo area calculator once. Just draw an arbitrary shape and hit solve. You can increase the number of samples used.

https://victorribeiro.com/monteCarlo/

The drawing area is 500x500 pixels, so if the shape covers the whole area, the result should be 250.000 pixels




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: