PImage a,b; //initializes two images in variables void setup() { size(400,400); //set size of window b = loadImage("flower.jpg"); //loads an image in b variable } void draw() { float rnd = random(255); //creates random variable between 0 and 255 background(b); //loads b which holds flower.jpg a = loadImage("guitar.jpg"); //loads a which holds guitar image(a, mouseX-100, mouseY-100); //displays image on screen, x y coordinates correlate to mouse movement tint(mouseX,mouseY,122, mouseX); //controls tint of a and transparency }