Public
Edited
Feb 5, 2018
4 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
sketch = function(sketch) {
var arrows;
var noiseStrength = 0.003;
var noiseScale = 30;

sketch.setup = () => {
sketch.createCanvas(size.width, size.height);

sketch.background(220);
arrows = generateArrows(sketch);
}

sketch.draw = () => {
sketch.background(220, 20);
arrows.forEach(arrow => arrow.update({ noiseStrength: noiseStrength, noiseScale: noiseScale }));
}
}

Insert cell
Insert cell
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