function draw(){
const {
background,
stroke,
strokeWeight,
line,
} = p8g;
const {sin, cos, tan, PI, sqrt, abs} = Math;
const TAU = PI * 2
f[0]++
background(0)
stroke(255)
strokeWeight(3)
for(let y=0;y<600;y+=50){
for(let x=0;x<600;x+=50){
for(let i=tan(~~(abs((simplex.noise2D(x,y)-.5))*20)*f/80)/5+PI/4, I=i;i<(I+TAU);i+=PI/2){
line(x,y,x+50/sqrt(2)*cos(i),y+50/sqrt(2)*sin(i))
}
}
}
}