0.0.1 • Published 5 years ago

@pjkarlik/simplex v0.0.1

Weekly downloads
1
License
UNLICENSED
Repository
-
Last release
5 years ago

version

Simplex Noise Function

Based on example code by Stefan Gustavson (stegu@itn.liu.se)., Optimisations by Peter Eastman (peastman@drizzle.stanford.edu). 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.

License