Back
Close

Monte Carlo Method in 7 Minutes

Marchete
12.9K views

Area Calculation - Union

In this example there are N overlapping shapes, and we seek the UNION area of all those shapes. Press RUN MY CODE to see how areas are calculated using Monte Carlo:

Union Areas

In that case I can't calculate the accuracy because the reference area calculation is not trivial.

Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.
Go to tech.io