The following libraries are included with the Processing software. To include a library, select its name from the "Import Library..." option in the Sketch menu. These libraries are open source; the code is distributed with Processing.
Video
Read images from a camera, play movie files, and create movies.
Network
Send and receive data over the Internet through simple clients and servers.
Serial
Send data between Processing and external hardware through serial communication (RS-232).
PDF Export
Create PDF files. These vector graphics files can be scaled to any size and printed at high resolutions.
DXF Export
Create DXF files to save geometry for loading into other programs. It works with triangle-based graphics including polygons, boxes, and spheres.
» Minim
Uses JavaSound to provide an easy-to-use audio library while still providing flexibility for more advanced users.
» Arduino
Directly control an Arduino board through Processing.
» Netscape.JavaScript
Methods for interfacing between Javascript and programs exported from Processing.
Contributed Libraries must be downloaded individually. Select "Add Library..." from the "Import Library..." submenu within the Sketch menu. Not all available libraries have been converted to show up in "Add Library...". If a library isn't there, it will need to be installed manually. Follow the How to Install a Contributed Library instructions on the Processing Wiki for more information.
Contributed libraries are developed, documented, and maintained by members of the Processing
community. For feedback and support, please post to the
Forum. For development discussions post to the
Libraries and Tool Development
topic. Instructions for creating your own library are on the
Processing Google Code site.
A complete list of libraries can be found online.
