aaaven_See-Through-Kinect-Spring2018/03_leapmotion_intro/sketch_3_1_leapMotion_trail/sketch_3_1_leapMotion_trail.pde
//Aven, See Through Kinect, Spring 2018
//https://github.com/aaaven/STK2018/wiki/


float pfingerIX, pfingerIY;
float fingerIX, fingerIY;
float fingerTX, fingerTY;


void setup() {
  size(800, 500);
  background(0);
  noStroke();
  LeapSetup();
}


void draw() {
   //background(0,10);
  // instead of the background() function
  fill(0,10);
  rect(0, 0, width, height);

  LeapDraw();
  
  fill(255);
  ellipse(fingerIX, fingerIY, 40, 40);
  
  // text(fingerIX, 10, 20);
  // You might not be able to read the text because of the background color.
  
  pfingerIX = fingerIX;
  pfingerIY = fingerIY;
}