How can I make my own perlin noise function?

edited November 2017 in How To...

Ok, so I wanted to make my own perlin noise function so I'd learn a bit more about perlin noise and how it works, but I'm unable to find any good explanations on how it works or any pre-made code. None of the code I found worked and all it did it returned 0.0 or 0.5 when I was looping through all X positions on screen and sending X coordinate in noise function to get Y coordinate back. I was trying to make a natural looking graph.

Questions:

  • Was I using it wrong?

  • How does Perlin noise work?(I know that it looks upon neighbouring tiles to figure out what's the next one going to be)

  • How can I implement my own version of it?

  • Maybe any hints on improving it?

Thanks in advance, MGlolenstine

Tagged:

Answers

Sign In or Register to comment.