Libraries. Extend Processing beyond graphics and images into audio, video, and communication with other devices.
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.
-
DXF Export
Create DXF files to save geometry for loading into other programs. It works with triangle-based graphics including polygons, boxes, and spheres.
-
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.
-
Network
Send and receive data over the Internet through simple clients and servers.
-
» Minim
Uses JavaSound to provide an easy-to-use audio library while still providing flexibility for more advanced users.
Contributions
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
Create & Announce Libraries
topic. Instructions for creating your own library are on the
Processing GitHub site.
A complete list of libraries can be found online.