Bubble Level GUI (Arduino+Processing)

This is a Bubble Level GUI built with Processing 1.5.1 to be used in Arduino based Projects. The X and Y variables are being driven by potentiometers connected as voltage dividers to the Arduino analog inputs A0 and A1. They are both expressed in inches, likewise the Distance (D).
Built with Processing 1.5.1 and Arduino UNO.