Modify a text file: $/practice_chasing.pde
$/practice_chasing.pde
// Practice chasing the mouse. by BAM void setup(){ size(200,200); background(255); frameRate(2); fill(0,255,0); // Green text("Chasing the mouse", 50,10); fill(255,0,255); // Magenta. text("BAM", 1,180); } void draw(){ fill(255,255,0); // Yellow rect(mouseX,mouseY, 40,60); stroke(255,0,0); // Red. line(pmouseX,pmouseY, mouseX,mouseY); } void mousePressed(){ background(256); // What color is this? }