Sometimes you just need to postion things on the surface of a sphere. Here are a few methods I've used over the years.
Blog post coming soon.
getCartesianPositions(100000, 50) Note the vertical clustering. 😬 getSphericalPositions(100000, 50) Note the clustering at the poles. 😠 getSphericalPositionsWithBias(100000, 50, 1) Clustering at the equator! 😢 getSphericalPositionsWithBias(100000, 50, 0.5) 🙂 getUniformPositions(10000, 50)