I want to split my processing.js code into several files but I\'m not sure how. I tried doing
You can initialize Processing with a canvas and a string of source in JS.
Processing(canvas, sourceString)
That string could come from anywhere outside the current file.