You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
527 B
Java
16 lines
527 B
Java
8 years ago
|
void window(int xsize, int ysize) {
|
||
|
|
||
|
//Outer rectangle is filled
|
||
|
fill(color(0, 0, 255));
|
||
|
noStroke();
|
||
|
rectMode(CENTER);
|
||
|
rect(convertXCoord(screenWidth - 1000), convertYCoord(centerY), screenWidth-500, screenHeight);
|
||
|
|
||
|
//Inner rectangle with no stimulus
|
||
|
fill(0,0,0);
|
||
|
strokeWeight(1);
|
||
|
stroke(color(0, 0, 0));
|
||
|
rectMode(CENTER);
|
||
|
rect(convertXCoord(screenWidth - 1000), convertYCoord(centerY), xsize, ysize);
|
||
|
}
|