Skip to content

Instantly share code, notes, and snippets.

@SueHeir
SueHeir / overlapping-area.py
Created January 5, 2022 23:58 — forked from versusvoid/overlapping-area.py
Illustrated implementation of algorithm computing total area of overlapping circles
#!/usr/bin/env python3
'''
Original idea by red Ants Aasma at
http://stackoverflow.com/a/1667789/2122529
'''
import numpy as np
import numpy.random as rnd
import itertools
import matplotlib.pyplot as plt