All Stories
float t;void setup(){size(720,720);}
void draw(){t+=.07;loadPixels();for(int a=0;a<517680;a++)
pixels[int(red(pixels[a]))+a]=
lerpColor(pixels[a]>>1,color(noise(a%720*.002,a/720*.002,t)>.5?255:0)>>2,sin(t)*.4+.5);
updatePixels();}
// #つぶやきProcessing
int x, y;float t;void setup(){size(720,720);}
void draw(){t+=.04;loadPixels();for(y=0;y<719;y++)for(x=0;x<720;x++)
pixels[int(red(pixels[y*720+x]))+y*720+x]=lerpColor(pixels[y*720+x],color(noise(x*.01,y*.01,t)>0.5?255:0),0.5);
updatePixels();}
// #つぶやきProcessing