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: https://math.stackexchange.com/questions/785188/simple-algorithm-for-generating-poisson-distribution
When i have to generate a fixed & non repetitive random sequence, i'm using this approach: https://m.youtube.com/watch?v=SxP30euw3-0
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
@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.
chaos.social – a Fediverse instance for & by the Chaos community