WOLFRAM NOTEBOOK

WOLFRAM|DEMONSTRATIONS PROJECT

Spanning Tree of Points on Sphere

number of points
30
connections
lines
spheres
center sphere
random seed
Random points on a sphere
S
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,
S
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.
Wolfram Cloud

You are using a browser not supported by the Wolfram Cloud

Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.


I understand and wish to continue anyway »

You are using a browser not supported by the Wolfram Cloud. Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.