xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
background(0);
}
function draw() {
//background(0);
for (y=110; y<height; y+=200)
{
for (x=190; x<width; x+=250)
{
push();
r = random(200);
fill(150, random(255), 40, 7);
translate(x,y);
rotate(rotate(millis()/1000));
rect(0, 0, 10, 200);
pop();
blendMode(ADD)
}
}
}
function mousePressed() {
blendMode(BLEND)
background(0);
}