Perlin's Noise Algorithm
What is Noise?
Well if you have tried to learn about anything in procedural generation one thing you must have come across is noise! Now, what exactly is it?
Well, noise is nothing but a collection of random values.
To be honest, that is all there to noise at the core, but as you can guess it’s not that simple.
To be a bit more technical, noise is a function. A function that takes N parameters and gives us a value following some rules(rules depend on the algorithm we are talking about).
Now depending on the number of parameters we can classify noise into 1-Dimensional, 2-Dimensional, 3-Dimensional, etc. And the range of value it gives us also depends on the algorithm we are talking about.
Now there are several uses for each type of noise but according to me it’s easiest to work with 2D noise while implementing the algorithms in the first place as it’s really easy to visualize.
How?
Through textures (images)!
... continue reading