A collection of sketches for the Processing IDE. Described in this blog post: https://larsbergqvist.wordpress.com/2016/10/07/processing-and-arduino/
An example of simple 3D objects in Processing

Reads analog input pins from an Arduino and displays the voltages as real-time graph bars 
Toggle switches that write to the digital outputs of an Arduino
