-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
Using clear on a PGraphics makes the main canvas black:
PGraphics result;
public void settings() {
size(512, 512, P2D);
}
public void setup() {
result = createGraphics(512, 512, P2D);
result.beginDraw();
result.endDraw();
}
public void draw() {
// a white background...
background(255);
// just became black...
result.clear();
}Processing 3.0.1
(fuck) Mac OS X 10.11
Reactions are currently unavailable