places objects in 3D space according to attractive and repulsion forces