12 lines
368 B
Java
12 lines
368 B
Java
|
int rVal = 255;
|
||
|
int gVal = 255;
|
||
|
int bVal = 255;
|
||
|
int bgVal = 0;
|
||
|
int bgR = bgVal*13/10; // Red value
|
||
|
int bgG = bgVal*5/10; // Green value
|
||
|
int bgB = bgVal*4/10; // Blue value
|
||
|
|
||
|
final float stimulusColor = 180; //stimulus intensity out of 255
|
||
|
final float greenscale = 0.3; // scales down intensity of green
|
||
|
final float redscale = 0.7; // scales down intensity of red
|