News for hackers. Stuff that matters.
Re:Random(Random(Random(Random()))) by acjohnson55 on Monday May 15, 2023 @04:59PM (#35954396)
The reason it's counterintuitive is because the randomly chosen distance variable is 1 minus the nested randoms. Each random call becomes the upper bound of future random calls, so the more times you nest it, the closer to zero you're likely to be. Subtracting that from one puts you close to the unit circle.

There are no comments on this comment yet.