xxxxxxxxxx
void setup(){
size(800,800);
rectMode(CENTER);
colorMode(HSB,360,100,100);
frameRate(1);
}
void draw(){
colorMode(HSB,360,100,100);
background(20,0,0);
float noiseStart1=random(10);
float noiseStart2=random(10);
float noiseStart3=random(10);
float f;
for(float y=-50; y<120; y+=0.25){
f=2.5*noise(noiseStart1+0.03*y);
for(float x=100; x<200; x+=0.5){
pushMatrix();
translate((x-100)*8+random(-5,5),40+y*8+50*sin(f*TWO_PI/800*x*8)+random(-5,5));
rotate(sin(f*TWO_PI/800*x*8));
stroke(360*noise(noiseStart2+0.03*x,0.03*y),100,100);
fill(360*noise(noiseStart3+0.07*x,0.07*y),100,100);
rect(0,0,5*abs(cos(f*TWO_PI/800*x*8)),5*abs(cos(f*TWO_PI/800*x*8)));
popMatrix();
}
}
}