void draw() // Creates a loop. { if(mousePressed == true) { noCursor(); // Mouse Pointer vanishes when holding mouse button. } else { cursor(HAND); // Changes mouse pointer to hand. } { size (400, 400); background(30); smooth (); PImage b; b = loadImage("image.jpg"); image(b, 0, 0); tint(mouseY, 233, 54, 226); //Loads image, assigns it a variable and places it in the compostion based on x and y coordinates. // mouseY allows mouse input to control tint b = loadImage("image.jpg"); image(b, 133.333, 0); tint(mouseX, 153, 104, 226); b = loadImage("image.jpg"); image(b, 266.333, 0); tint(mouseY,253, 104, 226); fill (240); PFont font; font = loadFont("SynchroLET-48.vlw"); textFont(font); String s = "Processing"; text(s, 105, 300, 400, 50); textSize(14); text("Danny Lambdin 2007",235,365); textSize(18); text("VARIATIONS OF A THEME",180,350); } }