Libraries. Extend Processing beyond graphics and images into audio, video, and communication with other devices.
The following libraries are created by the Processing Foundation. The PDF Export, Network, Serial, and DXF Export libraries are distributed with Procesing. The Video and Sound libraries need to be downloaded through the Library Manager. Select "Add Library..." from the "Import Library..." submenu within the Sketch menu.
-
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.
-
SVG Export
Create SVG files.
-
Serial
Send data between Processing and external hardware through serial communication (RS-232).
-
DXF Export
Create DXF files to save geometry for loading into other programs. It works with triangle-based graphics including polygons, boxes, and spheres.
-
Video
Read images from a camera, play movie files, and create movies.
-
Sound
Playback audio files, audio input, synthesize sound, and effects.
-
Hardware I/O
Access peripherals on the Raspberry Pi and other Linux-based computers
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.