Published
Edited
Feb 5, 2018
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
seedrandom = require('seedrandom@2.4.3/seedrandom.min.js')
Insert cell
Insert cell
noiseGen = {
const min = 0;
const max = height;
const random = seedrandom('hello');
return new FastSimplexNoise({ random, frequency, persistence, octaves, min, max });
}
Insert cell
Insert cell
({frequency, octaves, persistence, height, time})
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
points = {
const points = [];
const y = time;
for (let x=0; x<width; x++) {
points.push(noiseGen.scaled([x,y]));
}
return points;
}
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more