Click and drag the red point to adjust the Apollonian Gasket.

This pleasant fractal is formed recursively as follows:

- Take three mutually tangent circles and form their inner Soddy circle.
- Repeat the previous step for the inner Soddy circle paired with each of the original three.

Written using the D3 visualisation library. Inspired by a demo of JSXGraph.

- Apollonian Gasket on cut-the-knot.org.
- Apollonian Gasket on Wolfram Mathworld.
- Apollonian Gasket on Wikipedia.