Skip to content

Instantly share code, notes, and snippets.

@animanoir
Created May 11, 2016 18:31
Show Gist options
  • Save animanoir/fe473da4fa01024772573516939cb258 to your computer and use it in GitHub Desktop.
Save animanoir/fe473da4fa01024772573516939cb258 to your computer and use it in GitHub Desktop.
¡Transparencia sin residuos grises en P5!
blendMode(SUBTRACT);
fill(1);
rect(0, 0, width, height);
blendMode(BLEND);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment