fletchgraham_timeline/debug.pde
// write debug info to the screen.

void draw_debug() {
  
  fill(255);
  textSize(em);
  textAlign(CENTER, CENTER);
  //text("zoom: " + z, width-margin, height - em * 4);
  //text("offset: " + off, width-margin, height - em * 3);
  //text("mouse timestamp: " + ep(mouseY), width-margin, height - em * 2);
  
  Date mouse = new Date((long)ep(mouseY) * 1000);
  text("Cursor: " + mouse.toString().substring(4,16), width/2, em);
}
