draw = {
let frameCount = 0;
return function draw({background, stroke, translate, line}){
frameCount++;
const {sin, cos, PI } = Math;
const TAU = PI * 2
const t = frameCount * .005;
let F = 0.5
let X,Y,R = 0
background(128,255,0,9)
translate(360,360)
for(let r=0;r<TAU+(X=Y=0)+!(F=++F%6);r+=PI/18) {
for(let d=0;d<350;d+=3) {
stroke(255*sin(d/(9*sin(d/99-t))-t*99))
line(X,Y,X+=cos(R=r+(p5ed(simplex.noise2D(d/200-t,1))-.5)*9*(F-3))*3,Y+=sin(R)*3)
}
}
}
}