hushaojie04 / libgdx

Automatically exported from code.google.com/p/libgdx
0 stars 0 forks source link

Perlin / Simplex Noise Generation #392

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I think this could be something that can be added in as a tool for those who 
would like procedural stuff generated. Simplex seems to run faster according to 
Ken Perlin

=====
Perlin Noise
=====

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

http://mrl.nyu.edu/~perlin/doc/oscar.html#noise

=====
Simplex Noise
=====
http://en.wikipedia.org/wiki/Simplex_noise

http://staffwww.itn.liu.se/~stegu/aqsis/aqsis-newnoise/

Original issue reported on code.google.com by warmwaff...@gmail.com on 16 Aug 2011 at 4:03

GoogleCodeExporter commented 9 years ago
It would be a nice addition. If you would like to contribute this, we would 
probably put it in. If we needed it in our own projects, we would probably put 
it in.

Original comment by nathan.s...@gmail.com on 17 Aug 2011 at 7:25

GoogleCodeExporter commented 9 years ago
I went ahead and found a quick implementation of it in C++ and ported it over 
to Java.

It's pretty snazzy and works relatively well. Uses the prime number generator

Check it out at:

https://github.com/warmwaffles/Noise

Original comment by warmwaff...@gmail.com on 17 Aug 2011 at 4:30