Since Processing code gets converted to JavaScript and run like any other function,
all Processing code has access to the global object. This means that if you create
a variable or function in a global script block, they are automatically accessible
to Processing
See http://processingjs.org/articles/jsQuickStart.html#mixingjsandprocessing
No comments:
Post a Comment