processing code for creating movies on the PantsLEDs