Spanning Tree of Points on Sphere

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.

SNAPSHOTS

  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.