STATIC ECLECTICITY is one of my favorite POV Galleries. I've been charmed with spheres in this site. So I made works like them by POV-Ray3.1,
array and #macro. These spheres merely touch each other with no overlapping. But I'm thinking that this algorithm can be applied in many cases. If you know another way for this purpose or you used this algorithm, please let me know.
A tight arrangement of spheres shows a pattern like crystals.