Formula for Milian Wolff's massif visualizer