+ 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 đ
7 Respostas
+ 14
Thanks Schindlabua and Martin Taylor !
+ 14
Lol, I hope you do!đ
+ 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,đȘđ»đ!
+ 12
Perhaps when I understand it thoroughlyđ
, I guess that would be a nice thing to do!
+ 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.
+ 3
I am trying to implement it also from scratch! I will share (if I succeed) Vachila64 =()=> INACTIVEâ
0
thanks