//program displays image of a bird //user mouse input alters image by adding a color tint PImage b; void setup(){ size(365,440); b = loadImage("Bird058color6pic30.jpg"); } void draw(){ image(b, 0, 0); } void mousePressed(){ float r = random(0,255);//creates a random value for red float g = random(0,255);//...green float b = random(0,255);//...blue if (mouseButton == LEFT){//left click mouse to generate a random color tint tint(r,g,b); }else if (mouseButton == RIGHT){//right click to clear current color tint tint(255,255,255); } else { noTint(); } }