xxxxxxxxxx
C=0
setup=_=>{
createCanvas(W=720,W,WEBGL)
noStroke()
T=createGraphics(W,W).noStroke()
texture(T)
}
draw=_=>{
C+=5e-4
background(0)
for(y=0;y<60;y++){
for(x=0;x<60;x++){
n=int(noise(mag(x,y)/W,C)*2**24);
T.fill('#'+hex(n,6)).rect(x*12,y*12,10,10);
}
}
rotateX(C*4)
rotateY(C*6)
torus(400,300)
}