Problem of Apollonius, CCL Problem

Two circles c1 and c2, and a line l are given. All circles which are tangent to the given circles and to the given line shall be constructed.

You can drag the centers of the circles c1 and c2 or the line l, and vary the radii (with pressed mouse button). For each type of solution, you can decide, whether the solution circles are to be drawn. The total number of solutions is indicated on the bottom right.

This browser doesn't support HTML5 canvas!