PImage img,imgshine,imgflare; int imageAlpha; int shineBrightness; int shineDirection; int flarePosition; color fillColor; int framePauseCount; int flarePauseCount; int flarePauseAmount; int flareSpeed; void setup() { img = loadImage("processingjs/DVDxDV.try.jpg"); imgflare = loadImage("processingjs/imgshine.png"); size(176,88); flarePauseCount = framePauseCount =0; flarePosition =0; frameRate(30); noStroke(); background(255); imageAlpha = 0; shineBrightness=128; flarePauseAmount = random(9,12) * 10; flareSpeed = random(2,5) * 5; shineDirection = 1; fillColor = new color(255,255,255,10); smooth(); } void mousePressed() { link("http://www.dvdxdv.com/NewFolderLookSite/Products/DVDxDV.try.htm"); } void draw() { noTint(); //img.blend(imgshine, 0, 0, 340, 340, 0, 0, 340, 340, OVERLAY); image(img, 0, 0); if (flarePosition<200) { flarePosition = flarePosition + flareSpeed; } else { if (flarePauseCount