Copernicus' Theorem

Suppose that a circle rolls without sliding inside a bigger circle, which has twice the diameter of the inner circle. What path does a point on the inner circle trace? The answer to that question is illustrated below. The point moves along a diameter of the circle. Move the slider to change the number of points on the inner circle.