// Image 2 , ex. 3 // Animate an image by changing more than one of its attributes PImage img; float opacity = 0; void setup() { size (288, 324); img = loadImage("greek_salad.jpg"); } void draw() { background(0); if (opacity < 255) { opacity += 0.5; } tint(255, opacity); image(img, -0, -0); }