quil/quil — pull request #26 by aperiodic (2012-06-07 05:55:10+00:00)
Title: create-graphics should take renderer keywords

I just helped someone out on IRC who was having trouble getting `create-graphics` to work, since it's not documented anywhere what the acceptable values for the renderer arg are. I ended up looking at the source of both quil and processing in order to determine that it's expecting the string value corresponding to the processing constants for the renderer. Furthermore, passing things like `:p3d` or `"p3d"` results in confusing error message suggesting that p3d needs to be imported into the sketch with "Import Library".

So, I modified create-graphics to accept the same renderer keywords that can be used in the defsketch macro.