We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I want to replace codes relate with mouse like 'mousePressed' with hand (with Leap motion). My plan is when my hands comes out on Leap motion, Screen changed other sketches.
here some parts of codes.
if (mousePressed) {
PVector mouseVec = new PVector(mouseX, mouseY, 0);
particles[i].addAttractionForce(mouseVec, width, 1.0);