Kaleidoscope

One way to amplify the mouse gesture is to make it influence more than one object or drawing point. For example, the "mirror" effect: subtract the mouse position from the width of the window to flip it.
// mirror void setup () { size(640,480); background(255); stroke(0); } void draw() { background(255); fill(255,0,0); ellipse(mouseX,200,50,50); fill(0,0,255); ellipse(640-mouseX,200,50,50); }
//mirror void setup () { size(640,480); background(255); stroke(0); } void draw() { if (mousePressed) { line(mouseX,mouseY,pmouseX,pmouseY); line(640-mouseX,mouseY,640-pmouseX,pmouseY); } if (keyPressed) { background(255); } }