draw()
is called or a key is pressed.dispose()
call, which is called as the applet is closed. Many libraries, especially those with native code, need this to properly shut down.processing.core
classes, which will cause major conflicts when trying to use any other code. Libraries that contain classes from the processing
package in this manner will have to be rejected or removed from the site.PApplet
that have a few files at most. We don't plan to extend the PDE to also support developing libraries or tools, because then it becomes like any other IDE that is quickly too general for our target audience. Users who are advanced enough in their programming skills to build libraries will almost always be skilled enough to use another IDE like Eclipse to build their library. (And if not, it's a lovely time to learn.)libraries
folder of the Processing distribution. This folder is not visible on Mac OS X (unless you right-click Processing.app
and select 'Show Package Contents'). All contributed libraries should be installed in the sketchbook folder inside a folder named libraries
.code
Folder.jar
file to your sketch (using Sketch → Add File), the file will be copied to a folder named code
inside your sketch folder. When running the sketch, all packages found in the .jar
file will automatically be added as import statements in the sketch (though invisible to the user).loadShape()
method, or the Minim library by ddf, which is a terrific audio library that's included with the Processing download (but still maintained independently of Processing itself).processing.core
package to remain as minimal as possible.