A simple way to generate random points on a sphere

2 piinbinary 2 8/19/2025, 9:11:31 PM johndcook.com ↗

Comments (2)

pavel_lishin · 2h ago
> First, it’s intuitively plausible that it works.

Maybe; my first instinct is that there'll be some bias somewhere.

Maybe I'll have some time tonight to play with this in p5js.

pavel_lishin · 1h ago
I had some time!

It looks reasonably random to my eye: https://editor.p5js.org/fancybone/sketches/DUFhlJvOZ