Spanning Tree of Points on Sphere

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

Random points on a sphere are connected by lines. When you choose spheres as the connections, spheres are drawn on those lines as diameters. When you choose lines as the connections, is drawn slightly smaller, making most of the lines visible.


The algorithm minimizes the total length of the lines. At each step it selects one additional point by finding the shortest additional edge.


Contributed by: Michael Schreiber (September 2007)
Open content licensed under CC BY-NC-SA




Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.