Nycto / PerlinNim

Perlin and Simplex noise generation for Nim
MIT License
18 stars 0 forks source link

OpenSimplex? #4

Open define-private-public opened 7 years ago

define-private-public commented 7 years ago

Hi, this is pretty useful to have on hand. Nice and simple to use too! I'm wondering though, did you use the straight up Simplex algorithm? If so, I hate to be one of those pesky people when it comes to patents, but can you implement OpenSimplex instead as an option?

https://en.wikipedia.org/wiki/OpenSimplex_noise

Nycto commented 7 years ago

I went with Simplex for two reasons:

  1. My understanding of the patents is that they are limited in what they apply to. The code can still be used unencumbered as long as it isn't used to generate images. Other uses, like terrain generation, are fine.
  2. The implementations between Perlin noise and Simplex are similar enough that I could share a lot of the code, so adding the implementation wasn't too much effort.

That said, I would absolutely support adding OpenSimplex to this library.