Circle Packing: RSA vs Advancing Front (2D)
Grow a circle packing two different ways — random sequential addition versus a tangent-seeking advancing front — and watch the measured packing fraction climb live against the RSA jamming limit and the hexagonal optimum.
This 2D companion to the sphere/circle lattice viewer swaps static geometry for two real packing algorithms growing live: random sequential addition drops circles blind and keeps only the ones that clear every neighbour, while the advancing-front method deliberately seeds each new circle tangent to the growing cluster. Toggle monodisperse versus polydisperse sizing and watch the measured packing fraction — computed every frame from the actual circle areas, not a table — climb toward, but never past, the true hexagonal optimum.
2D circle-packing lab that grows a pack via random sequential addition or a tangent-seeking advancing front, measuring the true packing fraction live against the RSA jamming limit (~54.7%) and the proven hexagonal optimum (~90.69%).
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install