We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm trying to draw a line, then redraw that same line using the background colour (I don't want to redraw the background) but something is being left behind.
I modified one of the examples on this page to test it:
Here's my code. Am I doing something wrong or did I discover a bug?
background(0); blendMode(REPLACE); strokeWeight(30); // will work with a stroke weight of 1 as well - 30 is easier to see. stroke(255); line(25, 25, 75, 75); stroke(0); line(25, 25, 75, 75);