# Libraries

**URL:** https://discourse.processing.org/c/processing/processing-libraries/19.md

[Latest](https://discourse.processing.org/latest.md) · [Categories](https://discourse.processing.org/categories.md) · [Tags](https://discourse.processing.org/tags.md)

---

## [About the Processing / Libraries category](https://discourse.processing.org/t/about-the-processing-libraries-category/31)

<div class="topic-metadata">

**Author:** [@ProcessingOrg](https://discourse.processing.org/u/ProcessingOrg)\
**Replies:** 1\
**Last updated:** [November 11, 2024, 6:50pm UTC](https://discourse.processing.org/t/about-the-processing-libraries-category/31 "2024-11-11T18:50:04Z")

</div>

Questions and discussions about Processing Libraries

---

## [Shapes3d: Box Object: missing command setSize](https://discourse.processing.org/t/shapes3d-box-object-missing-command-setsize/49300)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 1\
**Last updated:** [September 1, 2026, 10:41pm UTC](https://discourse.processing.org/t/shapes3d-box-object-missing-command-setsize/49300 "2026-09-01T22:41:16Z")

</div>

Dear all, sorry, when this has been asked before. Please jump to my Edit parts below. Box Object: In an OLD shapes3d lib by @quark : Box Object: missing command setSize(). // OLD Help for setSize(float width, flo…

---

## [SimpleUI free for all](https://discourse.processing.org/t/simpleui-free-for-all/49244)

<div class="topic-metadata">

**Author:** [@erkosone](https://discourse.processing.org/u/erkosone)\
**Replies:** 5\
**Last updated:** [August 31, 2026, 3:52pm UTC](https://discourse.processing.org/t/simpleui-free-for-all/49244 "2026-08-31T15:52:13Z")

</div>

Llevo desarrollando esta librería para consumo propio desde el año 2013 y he decidido publicarla formalmente para la comunidad, se trata de una librería de interfaz de usuario y sobre todo esta pensada para crear videoju…

---

## [Could not connect to the Processing server to install libraries](https://discourse.processing.org/t/could-not-connect-to-the-processing-server-to-install-libraries/44126)

<div class="topic-metadata">

**Author:** [@ppiyo](https://discourse.processing.org/u/ppiyo)\
**Replies:** 9\
**Last updated:** [August 31, 2026, 12:07pm UTC](https://discourse.processing.org/t/could-not-connect-to-the-processing-server-to-install-libraries/44126 "2026-08-31T12:07:38Z")

</div>

May I know how to solve this issue? I am using Processing 3.5.4.

---

## [Have you worked with the oshi library](https://discourse.processing.org/t/have-you-worked-with-the-oshi-library/49007)

<div class="topic-metadata">

**Author:** [@huchavacia](https://discourse.processing.org/u/huchavacia)\
**Replies:** 5\
**Last updated:** [July 21, 2026, 12:14am UTC](https://discourse.processing.org/t/have-you-worked-with-the-oshi-library/49007 "2026-07-21T00:14:26Z")

</div>

Has anybody worked with the oshi library? Regards huchavacia

---

## [Capture.list() showing duplicate cameras](https://discourse.processing.org/t/capture-list-showing-duplicate-cameras/47153)

<div class="topic-metadata">

**Author:** [@danielcorbani](https://discourse.processing.org/u/danielcorbani)\
**Replies:** 12\
**Last updated:** [May 4, 2026, 2:44pm UTC](https://discourse.processing.org/t/capture-list-showing-duplicate-cameras/47153 "2026-05-04T14:44:30Z")

</div>

Hi everyone! I wonder if anyone could help me understand this issue with hte Video Library in Processing. When I want to select a camera to be used, I call Capture.list() to see all connected cameras, but sometimes it g…

---

## [IP Camera on Processing](https://discourse.processing.org/t/ip-camera-on-processing/48478)

<div class="topic-metadata">

**Author:** [@danielcorbani](https://discourse.processing.org/u/danielcorbani)\
**Replies:** 2\
**Last updated:** [April 29, 2026, 2:24am UTC](https://discourse.processing.org/t/ip-camera-on-processing/48478 "2026-04-29T02:24:39Z")

</div>

Hi! Is there a way to read an IP camera on Processing? I remember doing so years ago using a library, but I can’t find it anymore. I couldn’t find a way to do it with the regular video library. Thanks

---

## [OpenCV and ball tracking](https://discourse.processing.org/t/opencv-and-ball-tracking/48472)

<div class="topic-metadata">

**Author:** [@HackinHarry](https://discourse.processing.org/u/HackinHarry)\
**Replies:** 3\
**Last updated:** [April 27, 2026, 10:35am UTC](https://discourse.processing.org/t/opencv-and-ball-tracking/48472 "2026-04-27T10:35:08Z")

</div>

Hello Race Fans, It’s been a while since I’ve cobbled anything together in Processing. I’ve been practicing my golf swing and got the brilliant idea to make a shot tracer using opencv. Simple, right? Identify the bal…

---

## [Motu M4 Audio 4 channel setup](https://discourse.processing.org/t/motu-m4-audio-4-channel-setup/48446)

<div class="topic-metadata">

**Author:** [@TomC](https://discourse.processing.org/u/TomC)\
**Replies:** 1\
**Last updated:** [April 18, 2026, 8:51pm UTC](https://discourse.processing.org/t/motu-m4-audio-4-channel-setup/48446 "2026-04-18T20:51:05Z")

</div>

Hello: I have a Motu M4 connected to a Win11 machine. I would like to have independent control of 4 oscillators/sound sources. There seems to be a limitation that windows will only allow 2 channels of audio I/O. Is t…

---

## [Is there a way to chain effects in Processing sound library?](https://discourse.processing.org/t/is-there-a-way-to-chain-effects-in-processing-sound-library/48337)

<div class="topic-metadata">

**Author:** [@Txo](https://discourse.processing.org/u/Txo)\
**Replies:** 4\
**Last updated:** [March 31, 2026, 9:41am UTC](https://discourse.processing.org/t/is-there-a-way-to-chain-effects-in-processing-sound-library/48337 "2026-03-31T09:41:49Z")

</div>

I was trying to chain some effects with the Processing sound library but couldn’t do it in any way. I neither find any documentation about this. If you try to apply then directly to the source it only applies the last on…

---

## [Playing Local Files With VLCJVideo Library](https://discourse.processing.org/t/playing-local-files-with-vlcjvideo-library/47949)

<div class="topic-metadata">

**Author:** [@Eureka](https://discourse.processing.org/u/Eureka)\
**Replies:** 2\
**Last updated:** [February 24, 2026, 10:41am UTC](https://discourse.processing.org/t/playing-local-files-with-vlcjvideo-library/47949 "2026-02-24T10:41:45Z")

</div>

Hi, Hopefully somebody knows about this. I want to use the VLCJ library to play video on the vlcj website it says it can stream video or play it from a local source. I have installed the library but all of the example ar…

---

## [What's a better way to write my code so I don't keep getting null pointer exceptions](https://discourse.processing.org/t/whats-a-better-way-to-write-my-code-so-i-dont-keep-getting-null-pointer-exceptions/47958)

<div class="topic-metadata">

**Author:** [@Thorstrum](https://discourse.processing.org/u/Thorstrum)\
**Replies:** 1\
**Last updated:** [February 24, 2026, 5:42am UTC](https://discourse.processing.org/t/whats-a-better-way-to-write-my-code-so-i-dont-keep-getting-null-pointer-exceptions/47958 "2026-02-24T05:42:26Z")

</div>

import processing.sound.\*; Amplitude amp; AudioIn in; PImage photo, maskImage; void setup() { size(600, 400); background(255); // Create an Input stream which is routed into the Amplitude analyzer amp = new Ampli…

---

## [Does TheMidibus Library work in Processing 4?](https://discourse.processing.org/t/does-themidibus-library-work-in-processing-4/31851)

<div class="topic-metadata">

**Author:** [@justin\_lincoln](https://discourse.processing.org/u/justin_lincoln)\
**Replies:** 26\
**Last updated:** [February 17, 2026, 4:56pm UTC](https://discourse.processing.org/t/does-themidibus-library-work-in-processing-4/31851 "2026-02-17T16:56:15Z")

</div>

Has anyone gotten the midibus library to work with the new Processing 4.0 release? Any of my old code with that library recognizes available midi devices but then throws a NullPointer Exception every time. Works fine in …

---

## [New versions of Processing Libraries Camera3D and ColorBlindness released](https://discourse.processing.org/t/new-versions-of-processing-libraries-camera3d-and-colorblindness-released/47858)

<div class="topic-metadata">

**Author:** [@hx2A](https://discourse.processing.org/u/hx2A)\
**Replies:** 1\
**Last updated:** [February 9, 2026, 1:23pm UTC](https://discourse.processing.org/t/new-versions-of-processing-libraries-camera3d-and-colorblindness-released/47858 "2026-02-09T13:23:23Z")

</div>

After many years of no activity I have released new versions of the Camera3D and ColorBlindness libraries for Processing. I suspect that both libraries are no longer used by the Processing community because much of the f…

---

## [IPC shared memory](https://discourse.processing.org/t/ipc-shared-memory/47791)

<div class="topic-metadata">

**Author:** [@potato](https://discourse.processing.org/u/potato)\
**Replies:** 3\
**Last updated:** [January 27, 2026, 9:01am UTC](https://discourse.processing.org/t/ipc-shared-memory/47791 "2026-01-27T09:01:35Z")

</div>

Was looking for IPC shared memory examples for processing but didnt find any. Anyone used shared memory in processing or have a guide/ example for it? Thanks

---

## [Two G4P GPanel questions (setTextAlign and resize)](https://discourse.processing.org/t/two-g4p-gpanel-questions-settextalign-and-resize/47797)

<div class="topic-metadata">

**Author:** [@sterretje](https://discourse.processing.org/u/sterretje)\
**Replies:** 2\
**Last updated:** [January 25, 2026, 7:27pm UTC](https://discourse.processing.org/t/two-g4p-gpanel-questions-settextalign-and-resize/47797 "2026-01-25T19:27:11Z")

</div>

I have two questions about the GPanel one According to the G4p reference GPanel is derived from GTextBase. The GTextBase class has a method setTextAlign but that does not seem to give the desired effect. I would like to…

---

## [G4P GTextField looses focus after setText](https://discourse.processing.org/t/g4p-gtextfield-looses-focus-after-settext/47740)

<div class="topic-metadata">

**Author:** [@sterretje](https://discourse.processing.org/u/sterretje)\
**Replies:** 6\
**Last updated:** [January 13, 2026, 3:11pm UTC](https://discourse.processing.org/t/g4p-gtextfield-looses-focus-after-settext/47740 "2026-01-13T15:11:47Z")

</div>

I have been working with G4P for four days. I have a simple form to enter or modify data and I’m experiencing a problem with the two GTextField controls. The data will be saved to and read from a file. The code that…

---

## [Newbie Library svg.jar on old Processing 2.1.2](https://discourse.processing.org/t/newbie-library-svg-jar-on-old-processing-2-1-2/47744)

<div class="topic-metadata">

**Author:** [@salvmec](https://discourse.processing.org/u/salvmec)\
**Replies:** 0\
**Last updated:** [January 12, 2026, 8:37pm UTC](https://discourse.processing.org/t/newbie-library-svg-jar-on-old-processing-2-1-2/47744 "2026-01-12T20:37:44Z")

</div>

Dear All, I’m quite new on Processing, I’ve just built a V pen Plotter and I’m Using Processing 2.1.2 in order to run polargraph controller (newer version do not run properly). Now I’m trying another application named S…

---

## [Unable to Install Java Package as a Library](https://discourse.processing.org/t/unable-to-install-java-package-as-a-library/47651)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 2\
**Last updated:** [December 21, 2025, 9:00pm UTC](https://discourse.processing.org/t/unable-to-install-java-package-as-a-library/47651 "2025-12-21T21:00:53Z")

</div>

There is a java package called ‘com.dd.plist’ that I would like to install as a library in Processing 4.4.10 (https://github.com/3breadt/dd-plist). It contains 28 individual files and has no available .jar file. The on…

---

## [I need help understanding how to update my 2008 Processing code to modern standards](https://discourse.processing.org/t/i-need-help-understanding-how-to-update-my-2008-processing-code-to-modern-standards/47649)

<div class="topic-metadata">

**Author:** [@Telos](https://discourse.processing.org/u/Telos)\
**Replies:** 3\
**Last updated:** [December 21, 2025, 11:35am UTC](https://discourse.processing.org/t/i-need-help-understanding-how-to-update-my-2008-processing-code-to-modern-standards/47649 "2025-12-21T11:35:28Z")

</div>

Here i got the code of a program i’ve compiled in 2008 for a art project. because of changes in programming en technics, its out of date and doesn’t function any more. I’m going to try and explain what i’ve tried so far,…

---

## [Processing Serial library alternatives?](https://discourse.processing.org/t/processing-serial-library-alternatives/47609)

<div class="topic-metadata">

**Author:** [@glv](https://discourse.processing.org/u/glv)\
**Replies:** 4\
**Last updated:** [December 16, 2025, 11:53pm UTC](https://discourse.processing.org/t/processing-serial-library-alternatives/47609 "2025-12-16T23:53:52Z")

</div>

Hello, The Processing Serial library has served me very well over the years! I am looking for alternatives to the Processing Serial library for some of my more advanced projects. What are your experiences with other J…

---

## [Processing and JavaFX](https://discourse.processing.org/t/processing-and-javafx/45692)

<div class="topic-metadata">

**Author:** [@glv](https://discourse.processing.org/u/glv)\
**Replies:** 18\
**Last updated:** [November 26, 2025, 11:26pm UTC](https://discourse.processing.org/t/processing-and-javafx/45692 "2025-11-26T23:26:21Z")

</div>

Hello, There are many posts in the forum using JavaFX with Processing. JavaFX code works with certain configurations but not with others. These configurations may include: Version of Processing Operating system and …

---

## [Amp in Sound library not working](https://discourse.processing.org/t/amp-in-sound-library-not-working/47528)

<div class="topic-metadata">

**Author:** [@todocono](https://discourse.processing.org/u/todocono)\
**Replies:** 6\
**Last updated:** [November 18, 2025, 10:13am UTC](https://discourse.processing.org/t/amp-in-sound-library-not-working/47528 "2025-11-18T10:13:07Z")

</div>

/\*\* This is a simple sound file player. Use the mouse position to control playback speed, amplitude and stereo panning. \*/ // Map mouseY from 0.2 to 1.0 for amplitude float amplitude = map(mouseY, 0, width, 0.2, 1.0…

---

## [Error: The package “javax.xml.bind” does not exist. You might be missing a library](https://discourse.processing.org/t/error-the-package-javax-xml-bind-does-not-exist-you-might-be-missing-a-library/47360)

<div class="topic-metadata">

**Author:** [@Bua](https://discourse.processing.org/u/Bua)\
**Replies:** 9\
**Last updated:** [October 27, 2025, 4:36pm UTC](https://discourse.processing.org/t/error-the-package-javax-xml-bind-does-not-exist-you-might-be-missing-a-library/47360 "2025-10-27T16:36:10Z")

</div>

Hi, this is an example to connect an Arduino-BLE33 Nano to www.teachablemachine.withgoogle.com and called TM\_Collector. I want to transfer Image-data with the virtuell COM to the processing TM\_Connector application... Th…

---

## [Remove all items from G4P Droplist](https://discourse.processing.org/t/remove-all-items-from-g4p-droplist/44306)

<div class="topic-metadata">

**Author:** [@Thundercat](https://discourse.processing.org/u/Thundercat)\
**Replies:** 5\
**Last updated:** [October 27, 2025, 6:47am UTC](https://discourse.processing.org/t/remove-all-items-from-g4p-droplist/44306 "2025-10-27T06:47:40Z")

</div>

Hi, I’m trying to dynamically empty a drop list on certain conditions. I notice there is no “length” property for the droplist. I don’t know how many items I will have, so when I try to use the “removeItem” method, it d…

---

## ["NullPointerException" when I try to create a MidiBus object from The MidiBus library](https://discourse.processing.org/t/nullpointerexception-when-i-try-to-create-a-midibus-object-from-the-midibus-library/47445)

<div class="topic-metadata">

**Author:** [@JakeFromJakku](https://discourse.processing.org/u/JakeFromJakku)\
**Replies:** 2\
**Last updated:** [October 26, 2025, 12:14am UTC](https://discourse.processing.org/t/nullpointerexception-when-i-try-to-create-a-midibus-object-from-the-midibus-library/47445 "2025-10-26T00:14:18Z")

</div>

Hello, does anyone know how I can open up libraries that I’ve imported so I can investigate why I’m getting a null pointer when I make a new midi bus? I need to get into “The MidiBus” by Severin Smith I’m following the …

---

## [Video on Raspberry with VLCJvideo library extremely slow](https://discourse.processing.org/t/video-on-raspberry-with-vlcjvideo-library-extremely-slow/47411)

<div class="topic-metadata">

**Author:** [@qualidat](https://discourse.processing.org/u/qualidat)\
**Replies:** 0\
**Last updated:** [October 21, 2025, 2:54pm UTC](https://discourse.processing.org/t/video-on-raspberry-with-vlcjvideo-library-extremely-slow/47411 "2025-10-21T14:54:34Z")

</div>

I want to play a video in MP4 format (H.264 codec) controlled with VLCJVideo. In the Processing environment, it is unreasonably slow and jerky. When I play the same video directly with the VLC player, it runs normally. …

---

## [Serial library not found - Processing 4.4.8](https://discourse.processing.org/t/serial-library-not-found-processing-4-4-8/47302)

<div class="topic-metadata">

**Author:** [@Kittycannon](https://discourse.processing.org/u/Kittycannon)\
**Replies:** 8\
**Last updated:** [October 20, 2025, 2:10pm UTC](https://discourse.processing.org/t/serial-library-not-found-processing-4-4-8/47302 "2025-10-20T14:10:56Z")

</div>

So, where’s the Serial library? I feel like I’m crazy. When I download Processing and then install it, there’s no Serial library available. So I though I had to install it, but it doesn’t appear on the included manager…

---

## [VideoExport: movie duration not matching up with mp3](https://discourse.processing.org/t/videoexport-movie-duration-not-matching-up-with-mp3/17259)

<div class="topic-metadata">

**Author:** [@bcoley](https://discourse.processing.org/u/bcoley)\
**Replies:** 9\
**Last updated:** [October 11, 2025, 4:19pm UTC](https://discourse.processing.org/t/videoexport-movie-duration-not-matching-up-with-mp3/17259 "2025-10-11T16:19:20Z")

</div>

I was using VideoExport and wanting to make a music video of sorts from an mp3 file. Everything would seem to mostly work, I start playing the mp3 and call startMovie(), except when I closed the movie, the movie would …

---

## [How to handle user input](https://discourse.processing.org/t/how-to-handle-user-input/47163)

<div class="topic-metadata">

**Author:** [@bonner45](https://discourse.processing.org/u/bonner45)\
**Replies:** 10\
**Last updated:** [September 23, 2025, 1:34am UTC](https://discourse.processing.org/t/how-to-handle-user-input/47163 "2025-09-23T01:34:39Z")

</div>

So i was wondering what the simplest way to handle 50 some commands would be. Say a user enters a command in a textfield and the code needs to handle each command separately. Is there something shorter than a if/else or…

[Next page](https://discourse.processing.org/c/processing/processing-libraries/19.md?page=1)
