Problem of Apollonius, CLP Problem

A circle c, a line l, and a point P are given. All circles which are tangent to the given circle and to the given line and pass through the given point shall be constructed.

You can drag the center of the circle c, or the line l, or the point P, and vary the radius (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!