xxxxxxxxxx
21
let img;
function setup() {
createCanvas(800, 800);
img = loadImage("overlay.png");
}
function draw() {
background('blue');
blendMode(DARKEST)
image(img, 100, 100);
blendMode(BLEND);
text(frameCount, 50, 50);
stroke('red');
for (let i = 0; i < 100; i+=1) {
line(i * i * 10 + frameCount, 0, 800 - (i * 10) - frameCount, 800);
}
}