Libraries. Extending Processing beyond graphics and image, libraries enable audio, video, and communicating with other devices.

Core Libraries

Core libraries are included with the Processing software. To add one to a project, select its name from the "Import Library..." option in the Sketch menu. These libraries are open source; the code is distributed with Processing.

Video

Interface to Apple's QuickTime for using a camera, playing movie files, and creating movies.

Network

Sending and receiving data via the Internet through the creation of simple clients and servers.

Serial

Supports sending data between Processing and external hardware via serial communication (RS-232).

Candy SVG Import

A minimal SVG file importer. Loads and displays vector files.

XML Import

A minimal XML importer.

OpenGL

Support for exporting OpenGL accelerated sketches. Utilizes the JOGL library.

PDF Export

Generates PDF files.

DXF Export

Lines and triangles from P3D or OPENGL rendering modes can be sent directly to a DXF file.

» Netscape.JavaScript

Methods for interfacing between Javascript and Java Applets exported from Processing.


Contributions

Contributed libraries are developed, documented, and maintained by members of the Processing community. Each must be downloaded separately and added to the "libraries" folder inside the Processing application folder. Further directions are included with each library. For feedback and support, please post to the Discourse. We strongly encourage all libraries to be open source, but not all of them are. Information about creating a library is here.

A complete list of libraries can be found online.