function draw(){
const {
colorMode,
HSB,
BLEND,
ADD,
background,
noStroke,
fill,
rect
} = p8g;
const {sin, cos, PI, pow, abs} = Math;
const TAU = PI * 2
let S= 0
t[0]+=.01
colorMode(HSB)
background(0)
noStroke()
for(let y=0;y<W;y+=20){
for(let x=0;x<W;x+=20) {
fill((x/9+y/4+t[0]*99)%360,75,99,.4)
rect(x+(S=p5ed(simplex.noise3D(x/99,y/99+t[0],p5ed(simplex.noise2D(t[0]/2,0))))**2*99)+sin(y+t[0])*9,y+S,25-S,25-S)
}
}
}