RESOLVED: The issue appears to be with the version of processing I was running. I had accidentally run this in 2.0b3, which was sitting on my system alongside 2.0.3 (in which the above code works).
↧