RT @incre_ment@twitter.com

Probably trivial to the math folks, but recently learned that the correct way to uniformly distribute points in a circle is by generating coordinates in the following manner:
r = R*sqrt(random(1));
theta = random(TAU);

🐦🔗: twitter.com/incre_ment/status/


@bleeptrack I like the use of tau and not 2*pi. How about a sphere? And when I think of spheres clouds come to mind.

I see that the sphere was already mentioned in the twitter thread. Thanks for bringing some interesting stuff from the birdsite to the fediverse.

Sign in to participate in the conversation

For people who care about, support, or build Free, Libre, and Open Source Software (FLOSS).