/* built with Studio Sketchpad:
* https://sketchpad.cc
*
* observe the evolution of this sketch:
* https://studio.sketchpad.cc/sp/pad/view/ro.EXP6yc2q1ft/rev.964
*
* authors:
* miles wuahg
* license (unless otherwise specified):
* creative commons attribution-share alike 3.0 license.
* https://creativecommons.org/licenses/by-sa/3.0/
*/
float xoff = 0.0;
float yoff = 0.0;
float zoff = 0.0;
noiseDetail(5,0.5);
void draw() {
smooth();
frameRate(20)
noStroke();
size(500,500);
loadPixels();
zoff+=0.1;
yoff = zoff;
xoff = zoff;
zoff+=0.1;
for(var x; x<500; x++){
yoff = 0.0;
xoff +=0.01;
for(var y; y<500; y++){
yoff+= 0.01;
color hi = color(int(noise(xoff,yoff,zoff)*255));
pixels[(x+y*width)] = hi;
}
}
updatePixels();
}