blendMode(NORMAL) doesn’t seem to work here. If you use another mode (DARKEST for example) it will change, but revert to normal does not seem to work. What am I missing?
function setup() {
createCanvas(400, 400);
}
function draw() {
background(220);
blendMode(LIGHTEST);
strokeWeight(30);
stroke(80, 150, 255);
line(25, 25, 75, 75);
//this does not seem to have any effect
blendMode(NORMAL);
stroke(255, 50, 50);
line(75, 25, 25, 75);
noLoop(0);
}