When spheres are packed together
so that they take a minimum amount of space,
they will form a regular structure in which
every sphere abuts exactly 12 "neighbors".
Here is how any one of these spheres
(shown in white)
sees its 12 neighbors (shown in bronze):
Instructions:
|
Source code: packing.java extends RenderApplet
Copyright 2003 Ken Perlin