1.0.0 • Published 8 years ago
@giuliandrimba/noise v1.0.0
noise
P5.js noise method
Install
$ npm install @giuliandrimba/noise
Usage
var noise = require("noise");
var xoff = 0.0;
function draw() {
background(204);
xoff = xoff + .01;
var n = noise(xoff) * width;
line(n, 0, n, height);
}
Extracted from P5.js documentation
1.0.0
8 years ago