3 ms·
Yeah the code under the </> tab is very important, on first blush it looks like random isn't a uniform distribution for some reason. It's just because they plo
by edrxty 3y ago
Yeah the code under the </> tab is very important, on first blush it looks like random isn't a uniform distribution for some reason. It's just because they plotted it with polar coordinates. It would be much clearer what's actually going on here if an XY plot was used.
- maxbond 3y agoIt is uniform I'm pretty sure, that's what plotting a polar coordinates look like when you use a uniform distribution for the length.
- paulddraper 3y agoNo, it's because random(random(random())) is iterating the upper limit, not the seed.
- qingcharles 3y agoThis is the answer. I think the author is confused, as most platforms do have the seed as the lone parameter to their Random function.
- hgsgm 3y agoIt's still the case that the circular plot is pretty but obfuscating.