Skip to content

Downmoto/noise-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Noise-Generator

Create Perlin noise.

Demo

Check out the demo

Installation

To install Noise-Generator, run:

  npm install https://github.com/Downmoto/noise-generator

Running Tests

To run tests, run the following command

  npm run test

Usage/Examples

Check demo for more detailed usage

const Noise = require('noise-generator')

let noise = new Noise('apples'); // optional seed

const GRID = 4;

for (let y = 0; y < GRID; y++) {
    for (let x = 0; x < GRID; x++) {
        let value = noise.perlin(x, y)
    }
}

About

Perlin noise generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published