← ✨ Generative Art

◎ Apollonian Gasket

Auto-rotate
Circles drawn:
Deepest generation:
Smallest radius:
FPS:
Drag — rotate · Scroll — zoom

◎ The Apollonian Gasket: Packing Infinity into a Circle

Three mutually tangent circles inside a boundary circle spawn an infinite cascade of ever-smaller tangent circles filling every remaining gap — a real fractal built live from Descartes' Circle Theorem, rendered as a receding 3D disc tunnel.

🔬 What It Demonstrates

Every curved-triangle gap between three tangent circles has an exact, computable circle that fills it, found from the circles' curvatures alone via Descartes' Circle Theorem — and repeating the rule forever never runs out of gaps.

🎮 How to Use

Adjust recursion depth and the starting radius ratio to reshape the gasket, use relief depth to turn the flat fractal into a 3D tunnel, and switch colour mode to see generation depth or circle size. Drag to orbit, scroll to zoom.

💡 Did You Know?

When the starting circles have integer curvatures, every circle in the entire infinite gasket also has an integer curvature — a surprising link between this ancient geometry problem and modern number theory.