I'm new to Arduino and Processing, so apologies if this seems a rather easy or trivial question.
What I would like to do is produce a graphic in Processing which mimics the movement of said accelerometer. If anyone has any code for this, I'd be more than grateful. What I would like to produce is something like this - Arduino and accelerometer - YouTube.