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 }));
}
}