Hacker News new | past | comments | ask | show | jobs | submit login
Perlin Noise: The Near Universal Texture (twitter.com/stylizedstation)
26 points by areoform on May 13, 2023 | hide | past | favorite | 4 comments



There's a lot more interesting detail in the wikipedia article, including a full description of the algorithm, and Perlin's own improvement of using simplex noise.

https://en.wikipedia.org/wiki/Perlin_noise


We had new types of noise that look better than Perlin noise, but I keep forgetting their name. Simplex (and OpenSimplex), Value Noise, Worley Noise, Wavelet noise, Gabor noise, Curl noise... It was something else, but anyway Simpler is both better and simpler, so why is Perlin so popular still?


Better and simpler for who?

Simplex noise is arguably inferior in quality to improved perlin noise.the difference usually doesn't matter. It's also faster, but on an order of difference that usually also doesn't matter.

All of the other noise types can give you different things for different purposes. Most of them look pretty similar, but there are differences! for example, value noise is quite similar to perlin noise (which actually interpolates gradients instead of values). Some of the popular perlin noise tutorials actually teach value noise instead accidently! What that means though, is that the low frequencies are unbounded in value noise, because you may randomly have clumps of like values in a row. Perlin noise is guaranteed to have zeros at the lattice points of the noise and so produces band-limited noise that is useful when you're doing a summation.


Better as in producing more natural variations.

Simpler as in... it needs less compute and/or memory.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: