euglena/src/clearDisplay.java

13 lines
293 B
Java
Raw Normal View History

2016-07-10 00:36:44 -07:00
/* Draws a black rectangle the size of the second monitor
completely covers whatever was beneath it so that it looks clear */
void clearDisplay() {
// second monitor
fill(color(bgR, bgG, bgB));
noStroke();
rectMode(CORNER);
rect(displayWidth,0,displayWidth*4,displayHeight-10);
}