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