Counting Overlaps

Three circles cut the paper into seven pieces: in one circle only, in two of them, and in all three. Add up the areas of the three circles and every piece shared by two circles is counted twice, and the middle piece three times.

The source code is at github.com/KirillOsenkov/LiveGeometry. It is written in .NET and Avalonia.

Loading Live Geometry…