We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.4.2
Firefox 104.0.1
MacOS 12.5.3
blendMode
MULTIPLY
function setup() { createCanvas(400, 400, WEBGL); } function draw() { background(255); blendMode(MULTIPLY); noStroke(); fill('red'); circle(-width/4, -height/4, width); fill('blue'); circle(width/4, height/4, width); }
function setup() { createCanvas(400, 400); } function draw() { background(255); translate(width/2, height/2); blendMode(MULTIPLY); noStroke(); fill('red'); circle(-width/4, -height/4, width); fill('blue'); circle(width/4, height/4, width); }
The text was updated successfully, but these errors were encountered:
It looks like manually calling drawingContext.enable(drawingContext.BLEND) fixes this. Maybe something should be setting this internally
drawingContext.enable(drawingContext.BLEND)
Sorry, something went wrong.
This might also relate to issue #4562
davepagurek
Successfully merging a pull request may close this issue.
Most appropriate sub-area of p5.js?
p5.js version
1.4.2
Web browser and version
Firefox 104.0.1
Operating System
MacOS 12.5.3
Steps to reproduce this
Steps:
blendMode
to something non default (e.g.MULTIPLY
)Snippet:
The text was updated successfully, but these errors were encountered: