3 ms·
Sorry to be blunt, but what is of interest here? Aesthetics? P.S. In case anyone is confused, the arg to random is the upper limit (not the seed), and r = dia
by paulddraper 4y ago
Sorry to be blunt, but what is of interest here?
Aesthetics?
P.S. In case anyone is confused, the arg to random is the upper limit (not the seed), and r = diameter * (1 - value)
- andybak 4y agoMost things are interesting.
- edrxty 4y agoYeah 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 4y 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 4y agoNo, it's because random(random(random())) is iterating the upper limit, not the seed.
- qingcharles 4y 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 4y agoIt's still the case that the circular plot is pretty but obfuscating.
- kibwen 4y agoI find it cool that this website lets you upload code for visualizations, and then lets any user modify that code and re-run it. It's like if Gist let you render images from code, rather than from just SVG.