Buffered display simulation in Processing intended for conversion to AVR C.