it seems as though if I change my t<to the commented values as seen, I can change the outputted images tint, I would like for it to be random, however. Any help is great.
void setup()
{
{
size(1280, 720);
noLoop();
}
for (int t=0; t<1; t++)
// t<2 gives blue, t<1 gives red, t<3 gives green--- right now when I run this
{
print((int)(random(0,3)));
switch(t) {
case 0:
PImage b;
b = loadImage("tinangeljpegs0434.jpg");
image(b, 1280, 720);
tint(204, 0, 153);
image(b, 0 , 0);
break;
case 1:
PImage r;
r = loadImage("tinangeljpegs0434.jpg");
image(r, 1280, 720);
tint(0, 153, 204);
image(r, 0 , 0);
break;
case 2:
PImage g;
g = loadImage("tinangeljpegs0434.jpg");
image(g, 1280, 720);
tint(50, 204, 0);
image(g, 0 , 0);
break;
}
}
}