Gasket on a line — Fantastic Fractal Explorer

Gasket on a line

Put two circles on a straight line, touching the line and each other. Between them and the line there is a small curved gap, and one circle fits in it, touching all three. That makes new, smaller gaps, each filled by a circle touching its three sides, and so on without end. The same happens on the outside. The rest of the half-plane is one big gap, bounded by the line and the two circles, and a circle fits there too, beyond the smaller of the two, touching all three. The new gaps outside hold larger and larger circles, which march off along the line in both directions, and the whole half-plane above the line fills up.

It is an Apollonian gasket in which the enclosing circle has become a straight line. A line is a circle through infinity: blow the unit circle of the ordinary gasket up until its edge is straight near you, and this is what you see.

Drag the center of circle A: its height is its radius, since it sits on the line. Drag the point where circle B touches the line; B's radius follows. Two circles of radii and that touch each other and a line touch the line apart, so

for the distance between the two touching points. Only the ratio of the radii changes the shape; moving and scaling change the view of it. When the two radii are equal, the circle that fits outside them is a second line, parallel to the first, and the packing becomes the gasket in a strip. It does again when one radius is four times the other: the small circle is then the one in the gap between two neighbors of the strip's row.

Colors

The colors follow the same rule as the Apollonian gasket. The line has the value 0, the circles A and B have and , and the circle in their gap has 1. Each new circle gets the average of the three it touches, weighted by curvature to the power , times the ratio . A line has curvature 0, so at it does not count at all.