Class ROT.Noise.Simplex
2D simplex noise generator
Defined in: <rot.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
ROT.Noise.Simplex(gradients)
|
Method Attributes | Method Name and Description |
---|---|
get(xin, yin)
|
Class Detail
ROT.Noise.Simplex(gradients)
- Parameters:
- {int} gradients Optional, Default: 256
- Random gradients
Method Detail
get(xin, yin)
- Parameters:
- xin
- yin