/** * Mouse Signals. * * Move and click the mouse to generate signals. * The top row is the signal from "mouseX", * the middle row is the signal from "mouseY", * and the bottom row is the signal from "mousePressed". */ int[] xvals; int[] yvals; int[] bvals; void setup() { size(200, 200); xvals = new int[width]; yvals = new int[width]; bvals = new int[width]; } int arrayindex = 0; void draw() { background(102); for(int i=1; i