//created by luis gil. //www.legil.org PFont font; PFont buttonfont; float ease = 0.025; float opacityStep = 0.05; //determines increase in opacity each frame float valueStep = 1.0; //determines decrease in color value each frame String theText = ""; boolean start = false; Mobile[] dot = new Mobile[0]; float[] endX = new float[0]; float[] endY = new float[0]; int framenumber = 0; void setup() { size(600, 300); smooth(); colorMode(RGB, 255, 255, 255, 100); background(255); font = loadFont("CommercialScriptBT-Regular-96.vlw"); buttonfont = loadFont("ArialMT-48.vlw"); } void draw() { if (!start) { background(255); textFont(font); float tPos = width/2 + textWidth(theText)/2; if((millis() % 750) < 250){ stroke(204); line(tPos, height/2-48, tPos, height/2+48); } textAlign(CENTER, CENTER); fill(0); text(theText,width/2, height/2); if (mouseX >width/2-25 && mouseXheight/2+80 && mouseY0){ theText = theText.substring(0, theText.length() -1); } break; case 13: // Avoid special keys case 10: case 65535: case 127: case 27: break; default: if(textWidth(theText+k) < width){ theText=theText+k; } break; } } void mousePressed() { if (mouseX >width/2-25 && mouseXheight/2+80 && mouseY