euglena/src/testing.java

12 lines
368 B
Java
Raw Normal View History

2016-07-10 00:36:44 -07:00
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