News for hackers. Stuff that matters.
Re:Why isn't everything normally distributed? by blevin on Thursday July 20, 2017 @08:33PM (#14817290)
I work in CG animation, and one thing artists do when procedurally generating geometry is tweak the size distribution of things meant to mimic natural phenomena, such as leaves and rocks. They are typically assembling these as expressions, so it's common to first reach for a simple uniform distribution in the form of scale*rand(), but more experienced folks know to go straight to a power law instead. I think it's fascinating that such an extremely high-level way to characterize natural processes could make it into an artist's toolkit like that.
Re:Why isn't everything normally distributed? by GuiA on Friday July 21, 2017 @02:48AM (#14818562)
To build on what 'blevin says, check out for instance https://bost.ocks.org/mike/algorithms/
Re:Why isn't everything normally distributed? by Scarblac on Friday July 21, 2017 @03:48AM (#14818787)
I don't quite get the relevance to his comment, but wow! What a great link.
Re:Why isn't everything normally distributed? by strainer on Friday July 21, 2017 @09:26AM (#14820316)
A smooth star cluster can be plotted by giving stars a normally distributed variate for each dimension. Normal distribution is the only kind which will result in a radially even cluster - any other distribution results in visible deformation over the dimensions axis. This geometric property of normal distribution is true for any number of dimensions.
Re:Why isn't everything normally distributed? by thinkfurther on Thursday July 20, 2017 @11:01PM (#14817746)
I dabble in my own crap gamey stuff, and I use random [mostly 0-1] to power of something all the time; not because I know what I'm doing, but because it's simple and often good enough. I don't know math, but multiplying all sorts of things with each other to see what happens I can do; that and getting random numbers from perlin noise can cover a lot of sins, or at least make for a lot of fun :)