How to draw mutually touching/kissing spheres in Autocad, Blender or PoV-Ray...? so that the incremental spheres are in closest proximity with the first sphere drawn. Just like magnetic spheres are clumped together with maximum density and having minimum volume.
Asked
Active
Viewed 740 times
1
-
What do C++/python have to do with this? – Luchian Grigore Jan 21 '13 at 10:37
-
Thats not a Programming question but a math one... – Netwave Jan 21 '13 at 10:38
-
It is, blender and pov-ray are. – Jan 21 '13 at 10:44
-
Are the spheres of equal radius? – Strawberry Jan 22 '13 at 08:39
1 Answers
1
It really depends on a lot of details, but if you want to do something like this, but in 3D
then you should search for the Apollonian Gasket.
Even if you have something else in mind, it has a plenty of variations you should look into.
The 2D algorithm is available here or here for AutoCAD. And from the same site in 3D, again for AutoCAD.

shinjin
- 2,858
- 5
- 29
- 44
-
thanks. The spheres will ultimately form a big sphere. I need something like that – Mar 20 '13 at 15:14
-
If you look at the [second page of last link](http://through-the-interface.typepad.com/through_the_interface/2012/02/sphere-packing-in-autocad-creating-an-apollonian-packing-using-f-part-2.html) it is exactly what he is doing. – shinjin Mar 21 '13 at 20:25