geometry.spheres.sorted_directions

geometry.spheres.sorted_directions = <function sorted_directions>[source]

Rearranges the directions in S in a better order for visualization.

In 2D, sorts the directions using their angle.

In 3D, it tries to do a pleasant elicoidal arrangement with num_around spires.