@pjkarlik/simplex
v0.0.1
Published
Simples simplex noise generator in javascript - taken from the internet
Downloads
3
Readme
Simplex Noise Function
Based on example code by Stefan Gustavson ([email protected])., Optimisations by Peter Eastman ([email protected]). Better rank ordering method by Stefan Gustavson in 2012. Converted to Javascript by Joseph Gentle. Version 2012-03-09
Installation
npm install @pjkarlik/simplex
Usage
// import generator function //
import { Generator } from '../../utils/simplexGenerator';
// add as object in the code //
this.generator = new Generator(10);
this.generator.simplex3(x, y, z);
Contributing
In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.