+ 21

Any idea on how to implement PERLIN NOISE in JavaScript or C#?

Perlin noise has proven to be a really useful algorithm for procedural generation, it gives random but ordered variations in it's values, I always hear about it but I don't really know how to implement THE perlin noiseđŸ€·đŸ»â€â™‚ïž. This might be a tough question for some people, sorry if that is so, but anyone who can answer, please do,.It'l be highly appreciated 🙂

29th Jul 2020, 5:58 PM
Vachila64☕
Vachila64☕ - avatar
8 RĂ©ponses
+ 14
30th Jul 2020, 12:28 PM
Vachila64☕
Vachila64☕ - avatar
+ 14
Lol, I hope you do!🙂
5th Aug 2020, 3:31 PM
Vachila64☕
Vachila64☕ - avatar
+ 12
I've tried to make a model like this, it was really simple, but it worhedđŸ€©, well.....kinda worked😅, but I still do want to learn THE perlin noise, my model can't do that much😅, and I wanted to hear live answers from you guys,đŸ’ȘđŸ»đŸ™‚!
29th Jul 2020, 6:02 PM
Vachila64☕
Vachila64☕ - avatar
+ 12
Perhaps when I understand it thoroughly😅, I guess that would be a nice thing to do!
30th Jul 2020, 1:39 AM
Vachila64☕
Vachila64☕ - avatar
+ 3
This is how I learned it: https://adrianb.io/2014/08/09/perlinnoise.html It doesn't get simpler than his explanation. Some maths is required but not too much. Basically you pick a random value for each point in a grid and interpolate using perlin's formula. Which is how most noises work; imo the interesting part is when you add smaller scale copies of perlin noise to your regular perlin noise, to get the fractal perlin noise we all know and love! It's all explained in the blog post, in great detail.
29th Jul 2020, 10:07 PM
Schindlabua
Schindlabua - avatar
+ 3
I am trying to implement it also from scratch! I will share (if I succeed) Vachila64 =()=> INACTIVE☕
5th Aug 2020, 3:28 PM
bell
bell - avatar
0
thanks
29th Aug 2020, 8:36 AM
[No Name]