Scripting Processing with MIDI (using Renoise)

I wrote an article explaining how to create a Processing sketch that is scriptable using MIDI messages. I did this to create a music video for a track I created in Renoise.

The code repo includes the article text, the sketch code, images, and the Renoise xrns file.