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);


@bleeptrack did you compared to a poisson distribution? I know it's a good way to evenly distribute values in an surface, but i never implemented a function myself... After a quick research, i found a simple implementation here:
When i have to generate a fixed & non repetitive random sequence, i'm using this approach:
It involves primes and it's really good.

@bleeptrack i have an implementation in ~python, let me know if you want it (gitlab is not working on my smartphone)
Btw, you're approach seems efficient! Congrats

Oh not my idea. Found this by incre_ment over at the bird site :)

@bleeptrack I'm a trained mathematician and it would take me quite some time to derive that 😳

@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 – a Fediverse instance for & by the Chaos community