Barlow Sphere Stacking: Top View, Vertical Slice and the Dart-Throw Density (2D)
A top view of the same stack with Blender sphere sprites and the dart dots, plus a vertical slice through one row of every layer that shows the ABA or ABC pattern directly. Same model and numerical checks as the 3D stack.
Close-packed layers of equal spheres can be stacked ABAB (hexagonal, HCP), ABCABC (cubic, FCC) or in any random mixture, and every such Barlow stacking has the same packing fraction pi/sqrt18 = 0.7405. Set the hexagonal tendency h, the number of layers and the Monte Carlo darts, watch Blender-built spheres drop onto a tray, and compare the dart estimate, the brute-force kissing number 12 and the lattice densities of SC, BCC and FCC. Ten independent numerical checks, from Monte Carlo to generated lattices. Perfect rigid spheres; random close packing (about 0.64) is quoted, not simulated.
A top view of the same stack with Blender sphere sprites and the dart dots, plus a vertical slice through one row of every layer that shows the ABA or ABC pattern directly. Same model and numerical checks as the 3D stack.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install