# Libraries

**URL:** https://discourse.processing.org/c/processing/processing-libraries/19.md?page=9

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

**Page:** 10

---

## [Game Control Plus library on MacBook Pro with M2 chip](https://discourse.processing.org/t/game-control-plus-library-on-macbook-pro-with-m2-chip/42333)

<div class="topic-metadata">

**Author:** [@hi.ke](https://discourse.processing.org/u/hi.ke)\
**Replies:** 3\
**Last updated:** [July 12, 2023, 11:16am UTC](https://discourse.processing.org/t/game-control-plus-library-on-macbook-pro-with-m2-chip/42333 "2023-07-12T11:16:31Z")

</div>

Hey, I’m currently working on a program that uses processings ‘Game Control Plus’ library to enable user-interactions via a PS4/PS5 controller. Recently, I upgraded my hardware to a MacBook Pro with M2 chip. Since then…

---

## [Unable to export real-time audio reactive visuals](https://discourse.processing.org/t/unable-to-export-real-time-audio-reactive-visuals/42242)

<div class="topic-metadata">

**Author:** [@shaival](https://discourse.processing.org/u/shaival)\
**Replies:** 1\
**Last updated:** [July 9, 2023, 6:53pm UTC](https://discourse.processing.org/t/unable-to-export-real-time-audio-reactive-visuals/42242 "2023-07-09T18:53:44Z")

</div>

Hi All! I am creating a music visualizer in Processing 4.0. However when I try to export using saveFrame function, the audio is playing in real-time but the saving function delays the draw loop considerably which resul…

---

## [Problem with Spout and MadMapper in all versions, on Windows 11](https://discourse.processing.org/t/problem-with-spout-and-madmapper-in-all-versions-on-windows-11/42317)

<div class="topic-metadata">

**Author:** [@galacticovj](https://discourse.processing.org/u/galacticovj)\
**Replies:** 0\
**Last updated:** [June 30, 2023, 4:45pm UTC](https://discourse.processing.org/t/problem-with-spout-and-madmapper-in-all-versions-on-windows-11/42317 "2023-06-30T16:45:33Z")

</div>

Hello everyone, my problem is testing processing with spout library testing the example spout send, it’s recognized on madmapper but the image is black , Also I tried capturing window processing with OBS and then sending…

---

## [Encapsulate G4P app?](https://discourse.processing.org/t/encapsulate-g4p-app/42354)

<div class="topic-metadata">

**Author:** [@harrih](https://discourse.processing.org/u/harrih)\
**Replies:** 1\
**Last updated:** [July 6, 2023, 3:25pm UTC](https://discourse.processing.org/t/encapsulate-g4p-app/42354 "2023-07-06T15:25:51Z")

</div>

Hi I have a small App that has been partially built using The G4P gui builder tool This is to be a helper app in the context of a much larger app . It is simply a calculator that takes a number from the main app, man…

---

## [Trouble exporting video with VideoExport library - no errors but no .mp4 written to file](https://discourse.processing.org/t/trouble-exporting-video-with-videoexport-library-no-errors-but-no-mp4-written-to-file/42306)

<div class="topic-metadata">

**Author:** [@DarkLight](https://discourse.processing.org/u/DarkLight)\
**Replies:** 1\
**Last updated:** [July 1, 2023, 5:24am UTC](https://discourse.processing.org/t/trouble-exporting-video-with-videoexport-library-no-errors-but-no-mp4-written-to-file/42306 "2023-07-01T05:24:23Z")

</div>

Hello. I’m not sure what’s going on. I see that the VideoExport library is installed, I can navigate to it. The directory I am saving to does exist. I’m not getting any error, the drawing runs but no frames are saved…

---

## [G4P Mouseover Event, mainly for tooltips](https://discourse.processing.org/t/g4p-mouseover-event-mainly-for-tooltips/34742)

<div class="topic-metadata">

**Author:** [@myupctoys](https://discourse.processing.org/u/myupctoys)\
**Replies:** 19\
**Last updated:** [June 30, 2023, 5:59pm UTC](https://discourse.processing.org/t/g4p-mouseover-event-mainly-for-tooltips/34742 "2023-06-30T17:59:40Z")

</div>

Hi, I’m wanting to add tool tips to assorted text, labels and possibly buttons. Not apparent in processing and G4P specifically. Main requirement would be for a “mouseover” events generated for these objects. Then imagi…

---

## [JPen doesn't work anymore :(](https://discourse.processing.org/t/jpen-doesnt-work-anymore/42298)

<div class="topic-metadata">

**Author:** [@nuhuhwy](https://discourse.processing.org/u/nuhuhwy)\
**Replies:** 2\
**Last updated:** [June 29, 2023, 6:26pm UTC](https://discourse.processing.org/t/jpen-doesnt-work-anymore/42298 "2023-06-29T18:26:31Z")

</div>

The jpen tablet library doesnt work anymore, even the examples dont work! Tablet 2.0-alpha3 by Andres Colubri http://andrescolubri.net/ Jun 27, 2023 9:47:14 PM jpen.provider.NativeLibraryLoader$4 run INFO: loading JPen …

---

## [PDF saving: how to open a window to choose path and specify a name](https://discourse.processing.org/t/pdf-saving-how-to-open-a-window-to-choose-path-and-specify-a-name/42289)

<div class="topic-metadata">

**Author:** [@jeykech](https://discourse.processing.org/u/jeykech)\
**Replies:** 22\
**Last updated:** [June 26, 2023, 8:36am UTC](https://discourse.processing.org/t/pdf-saving-how-to-open-a-window-to-choose-path-and-specify-a-name/42289 "2023-06-26T08:36:59Z")

</div>

hello All, I would like to know if there is a way/command to choose a path and a name every time I choose to save a PDF while my sketch is running (Processing desktop on a Mac). like It is done in every known software …

---

## [ControlP5 scrollable list make all character CAPITAL](https://discourse.processing.org/t/controlp5-scrollable-list-make-all-character-capital/42270)

<div class="topic-metadata">

**Author:** [@Ghostsss](https://discourse.processing.org/u/Ghostsss)\
**Replies:** 1\
**Last updated:** [June 23, 2023, 11:47pm UTC](https://discourse.processing.org/t/controlp5-scrollable-list-make-all-character-capital/42270 "2023-06-23T23:47:53Z")

</div>

Following is the default controlP5 example of a scrollable list. It shows the text in scrollable list in CAPITAL LETTERS. I want the text to appear as it is. How to do that. Please help. import controlP5.\*; import jav…

---

## [How to write code to press multiple Radiobuttons at once (button grid)](https://discourse.processing.org/t/how-to-write-code-to-press-multiple-radiobuttons-at-once-button-grid/42263)

<div class="topic-metadata">

**Author:** [@Hyunwoo](https://discourse.processing.org/u/Hyunwoo)\
**Replies:** 4\
**Last updated:** [June 23, 2023, 7:56am UTC](https://discourse.processing.org/t/how-to-write-code-to-press-multiple-radiobuttons-at-once-button-grid/42263 "2023-06-23T07:56:32Z")

</div>

Hello everyone I have created 128 switches as radiobuttons and I want them to work only one at a time, and I want to be able to press SHIFT and select a switch and have multiple alternatives, how should I code it? Belo…

---

## [I want the listed buttons to work only one at a time](https://discourse.processing.org/t/i-want-the-listed-buttons-to-work-only-one-at-a-time/42249)

<div class="topic-metadata">

**Author:** [@Hyunwoo](https://discourse.processing.org/u/Hyunwoo)\
**Replies:** 7\
**Last updated:** [June 22, 2023, 7:14pm UTC](https://discourse.processing.org/t/i-want-the-listed-buttons-to-work-only-one-at-a-time/42249 "2023-06-22T19:14:29Z")

</div>

Hello, I am a student who is making a control program using Processing 4. The control program has 128 listed buttons, and when a button is pressed, the pin connected to the corresponding button in the driving circuit tu…

---

## [Align Text in Scrollable List of ControlP5](https://discourse.processing.org/t/align-text-in-scrollable-list-of-controlp5/42265)

<div class="topic-metadata">

**Author:** [@Ghostsss](https://discourse.processing.org/u/Ghostsss)\
**Replies:** 3\
**Last updated:** [June 22, 2023, 7:11am UTC](https://discourse.processing.org/t/align-text-in-scrollable-list-of-controlp5/42265 "2023-06-22T07:11:26Z")

</div>

Hello when I used scrollable List of ControlP5 the text gets aligned to top left. How to change it to middle? Please help. My declaration is as below: cp5.addScrollableList("scrollableList\_RPM\_Limit").addItems(Arra…

---

## [Changing Text of Label in ControlP5](https://discourse.processing.org/t/changing-text-of-label-in-controlp5/42254)

<div class="topic-metadata">

**Author:** [@Ghostsss](https://discourse.processing.org/u/Ghostsss)\
**Replies:** 4\
**Last updated:** [June 20, 2023, 8:36am UTC](https://discourse.processing.org/t/changing-text-of-label-in-controlp5/42254 "2023-06-20T08:36:22Z")

</div>

I am using the ControlP5 GUI library. I want to change the text displayed in TextLabel when triggered by some other event. For example in the following case when I press the button. So I tried two methods marked by OPT…

---

## [BlobDetection library: Can it find light-colored blobs instead of only dark ones?](https://discourse.processing.org/t/blobdetection-library-can-it-find-light-colored-blobs-instead-of-only-dark-ones/36755)

<div class="topic-metadata">

**Author:** [@jamshark70](https://discourse.processing.org/u/jamshark70)\
**Replies:** 2\
**Last updated:** [June 8, 2023, 3:52pm UTC](https://discourse.processing.org/t/blobdetection-library-can-it-find-light-colored-blobs-instead-of-only-dark-ones/36755 "2023-06-08T15:52:28Z")

</div>

Hi. A bit puzzled with something in the blobDetection library (Julien ‘v3ga’ Gachadoat, BlobDetection library / v3ga). I adapted the webcam script to display the blobs and also send blob coordinates over OSC. It ident…

---

## [Can't import toxiclibs library](https://discourse.processing.org/t/cant-import-toxiclibs-library/42157)

<div class="topic-metadata">

**Author:** [@alex119](https://discourse.processing.org/u/alex119)\
**Replies:** 2\
**Last updated:** [June 6, 2023, 6:00pm UTC](https://discourse.processing.org/t/cant-import-toxiclibs-library/42157 "2023-06-06T18:00:05Z")

</div>

Hello, I am following natureofcode examples and I am stuck at the physics chapter where I need to import toxiclibs library. I got it from the github, unzipped it on the library folder from processing sketchbook, restart…

---

## [ControlP5 Vertical Toggle](https://discourse.processing.org/t/controlp5-vertical-toggle/39091)

<div class="topic-metadata">

**Author:** [@Ghostsss](https://discourse.processing.org/u/Ghostsss)\
**Replies:** 4\
**Last updated:** [June 6, 2023, 9:52am UTC](https://discourse.processing.org/t/controlp5-vertical-toggle/39091 "2023-06-06T09:52:07Z")

</div>

Is there any easy way to draw the controlP5 toggle vertically ? (as shown in following way.)

---

## [MQTT-Library: Failed to connect, timeout during waiting for the server, Linux Mint](https://discourse.processing.org/t/mqtt-library-failed-to-connect-timeout-during-waiting-for-the-server-linux-mint/42153)

<div class="topic-metadata">

**Author:** [@ahgbs](https://discourse.processing.org/u/ahgbs)\
**Replies:** 0\
**Last updated:** [June 6, 2023, 8:22am UTC](https://discourse.processing.org/t/mqtt-library-failed-to-connect-timeout-during-waiting-for-the-server-linux-mint/42153 "2023-06-06T08:22:27Z")

</div>

Hello everyone, on my Linux-Machine i get the Error-Message “Failed to connect … timeout during waiting for the server” when i start the MQTT-Example as normal user. If i start Processing as root, connection is ok. With…

---

## [G4P GPanel behaviour](https://discourse.processing.org/t/g4p-gpanel-behaviour/42134)

<div class="topic-metadata">

**Author:** [@harrih](https://discourse.processing.org/u/harrih)\
**Replies:** 2\
**Last updated:** [June 5, 2023, 11:28am UTC](https://discourse.processing.org/t/g4p-gpanel-behaviour/42134 "2023-06-05T11:28:00Z")

</div>

Hello, Regarding behaviour of GPanel I am trying to make the entire surface of a GPanel responsive to an .isOver type event It appears that normal behaviour is for only the tab area to respond to mouseEvents not the…

---

## [The MIDI Bus array of devices](https://discourse.processing.org/t/the-midi-bus-array-of-devices/42126)

<div class="topic-metadata">

**Author:** [@Grumpy\_Mike](https://discourse.processing.org/u/Grumpy_Mike)\
**Replies:** 2\
**Last updated:** [June 3, 2023, 6:23am UTC](https://discourse.processing.org/t/the-midi-bus-array-of-devices/42126 "2023-06-03T06:23:31Z")

</div>

I like to search for specific interfaces when I use the serial port, I have examples of how an array can be created with all the available serial devices. Is there something similar for the MIDI Bus? This is so my code …

---

## [JDBC: Data from external SQL database, e.g. SQLITE](https://discourse.processing.org/t/jdbc-data-from-external-sql-database-e-g-sqlite/42119)

<div class="topic-metadata">

**Author:** [@pelton](https://discourse.processing.org/u/pelton)\
**Replies:** 2\
**Last updated:** [June 2, 2023, 1:15pm UTC](https://discourse.processing.org/t/jdbc-data-from-external-sql-database-e-g-sqlite/42119 "2023-06-02T13:15:26Z")

</div>

For graphically representing Collatz-series distribution, I need selective access to a big DB (60M records+). Downloading an re-reading TABLE requires too much space (since user interaction should allow Mandelbrot-like z…

---

## [PGraphics not exporting to PDF](https://discourse.processing.org/t/pgraphics-not-exporting-to-pdf/42081)

<div class="topic-metadata">

**Author:** [@travis.stdenis](https://discourse.processing.org/u/travis.stdenis)\
**Replies:** 16\
**Last updated:** [May 30, 2023, 1:03pm UTC](https://discourse.processing.org/t/pgraphics-not-exporting-to-pdf/42081 "2023-05-30T13:03:18Z")

</div>

I have a sketch that I am trying to export to PDF so it can be plotted. I can export to SVG, but it doesn’t preserve any of the underlying vectors graphics, only exports embedded images so it isn’t much use for this appl…

---

## [Game Control Plus - avoid config pop up](https://discourse.processing.org/t/game-control-plus-avoid-config-pop-up/42086)

<div class="topic-metadata">

**Author:** [@Edenstudent](https://discourse.processing.org/u/Edenstudent)\
**Replies:** 5\
**Last updated:** [May 29, 2023, 5:03pm UTC](https://discourse.processing.org/t/game-control-plus-avoid-config-pop-up/42086 "2023-05-29T17:03:21Z")

</div>

I am Quark’s Game Control Plus library and have been going through it for the past few days, setting it up. However, I want to run it without the configuration window popping up, which I can get it to do if I set it up i…

---

## [Projection Mapping](https://discourse.processing.org/t/projection-mapping/41910)

<div class="topic-metadata">

**Author:** [@Christian](https://discourse.processing.org/u/Christian)\
**Replies:** 5\
**Last updated:** [May 23, 2023, 8:57am UTC](https://discourse.processing.org/t/projection-mapping/41910 "2023-05-23T08:57:00Z")

</div>

Hello! I was wondering if any of you know a good way to do projection mapping with my Processing sketch. Many years ago I have used the Syphon library in combination with MadMapper, but if possible I would like to use a…

---

## [If you want to modify the font of the 'Gracia' library graph](https://discourse.processing.org/t/if-you-want-to-modify-the-font-of-the-gracia-library-graph/42012)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 1\
**Last updated:** [May 16, 2023, 8:53am UTC](https://discourse.processing.org/t/if-you-want-to-modify-the-font-of-the-gracia-library-graph/42012 "2023-05-16T08:53:44Z")

</div>

If you want to modify the font of the ‘Gracia’ library graph hello. Nice to meet you. Reference link 1: https://jagracar.com/ Reference link 2: GitHub - jagracar/jagracar.com: My personal web Check out the source c…

---

## [Box2D for Processing not available](https://discourse.processing.org/t/box2d-for-processing-not-available/41967)

<div class="topic-metadata">

**Author:** [@currymike](https://discourse.processing.org/u/currymike)\
**Replies:** 1\
**Last updated:** [May 11, 2023, 8:33pm UTC](https://discourse.processing.org/t/box2d-for-processing-not-available/41967 "2023-05-11T20:33:48Z")

</div>

I updated Processing to version 4.2 now Daniel Shiffman’s Box2D for Processing is missing from the libraries. Is the library no longer supported?

---

## [How to int array](https://discourse.processing.org/t/how-to-int-array/41952)

<div class="topic-metadata">

**Author:** [@doni](https://discourse.processing.org/u/doni)\
**Replies:** 12\
**Last updated:** [May 9, 2023, 9:10pm UTC](https://discourse.processing.org/t/how-to-int-array/41952 "2023-05-09T21:10:17Z")

</div>

hi forum anyone could help me how to change following code int lowerb = 100; int upperb = 145; into this int lowerb = (\[100,0,0\]); int upperb = (\[255,80,255\]); below is complete code import gab.opencv.\*; import proc…

---

## [Trying to write code for random GIF generator](https://discourse.processing.org/t/trying-to-write-code-for-random-gif-generator/41821)

<div class="topic-metadata">

**Author:** [@Jbwilke](https://discourse.processing.org/u/Jbwilke)\
**Replies:** 31\
**Last updated:** [May 8, 2023, 3:18am UTC](https://discourse.processing.org/t/trying-to-write-code-for-random-gif-generator/41821 "2023-05-08T03:18:15Z")

</div>

Hi! I’m looking for any examples of Processing code (or any leads) that people here might know of for generating random gifs. I’ve been googling, but haven’t made any progress. It seems there are examples in other lang…

---

## [OpenCV - Unable to display histogram result of saved video](https://discourse.processing.org/t/opencv-unable-to-display-histogram-result-of-saved-video/41934)

<div class="topic-metadata">

**Author:** [@doni](https://discourse.processing.org/u/doni)\
**Replies:** 3\
**Last updated:** [May 7, 2023, 9:32pm UTC](https://discourse.processing.org/t/opencv-unable-to-display-histogram-result-of-saved-video/41934 "2023-05-07T21:32:40Z")

</div>

hi forum, i tried bellow code to display video and histogram result of saved video, the video succeed to display but the histogram shows black image. thank you for help import gab.opencv.\*; import processing.video.\*; Mo…

---

## [Gif random generator](https://discourse.processing.org/t/gif-random-generator/41932)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 1\
**Last updated:** [May 7, 2023, 10:13am UTC](https://discourse.processing.org/t/gif-random-generator/41932 "2023-05-07T10:13:41Z")

</div>

If you’re a registered user, the API\_key should be good. It may be more of a problem of getting the correct url for the .mp4. We should be able to use @Chrisir’s technique to offset into the JSON data file to extract a…

---

## [I want to get the value of a cp5 DropdownList](https://discourse.processing.org/t/i-want-to-get-the-value-of-a-cp5-dropdownlist/41925)

<div class="topic-metadata">

**Author:** [@Azorbz](https://discourse.processing.org/u/Azorbz)\
**Replies:** 2\
**Last updated:** [May 6, 2023, 7:03pm UTC](https://discourse.processing.org/t/i-want-to-get-the-value-of-a-cp5-dropdownlist/41925 "2023-05-06T19:03:56Z")

</div>

I am trying to select a folder from a cp5 Dropdown List, but nothing I do seems to work. My best attempt is (The current data folder contains three folders, “A”, “B”, and “C”, which are read perfectly well on the Dropdo…

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

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