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'm a trained mathematician and it would take me quite some time to derive that 😳

· · Web · 0 · 0 · 1
Sign in to participate in the conversation

The original server operated by the Mastodon gGmbH non-profit