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));
and
theta = random(TAU);

🐦🔗: twitter.com/incre_ment/status/

Follow

@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
FLOSS.social

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