# Libraries

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

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

**Page:** 24

---

## [Is it possible to do a HTTP post from a Processing program?](https://discourse.processing.org/t/is-it-possible-to-do-a-http-post-from-a-processing-program/32224)

<div class="topic-metadata">

**Author:** [@TeppoTee](https://discourse.processing.org/u/TeppoTee)\
**Replies:** 3\
**Last updated:** [September 19, 2021, 9:55pm UTC](https://discourse.processing.org/t/is-it-possible-to-do-a-http-post-from-a-processing-program/32224 "2021-09-19T21:55:50Z")

</div>

I’ve been a Processing heavy user for years. Among other things have used loadString() quite a lot to fetch information from web server(s) . Is there a counterpart to loadStrings() which would allow me to do a HTTP post …

---

## [MouseClick event for an Arc in CP5 Button](https://discourse.processing.org/t/mouseclick-event-for-an-arc-in-cp5-button/32250)

<div class="topic-metadata">

**Author:** [@seym](https://discourse.processing.org/u/seym)\
**Replies:** 11\
**Last updated:** [September 15, 2021, 1:54pm UTC](https://discourse.processing.org/t/mouseclick-event-for-an-arc-in-cp5-button/32250 "2021-09-15T13:54:08Z")

</div>

I have 4 buttons each shaped an arc. The 4 buttons: I made the buttons like this: button1 = cp5.addButton("A1") // The button for the first area. The other 3 buttons will be "A2" , "A3" , "A4" .setValu…

---

## [OpenVR for Processing](https://discourse.processing.org/t/openvr-for-processing/32088)

<div class="topic-metadata">

**Author:** [@MoonAlien822](https://discourse.processing.org/u/MoonAlien822)\
**Replies:** 3\
**Last updated:** [September 14, 2021, 4:14pm UTC](https://discourse.processing.org/t/openvr-for-processing/32088 "2021-09-14T16:14:35Z")

</div>

on forum.processing.org (specifically OpenVR for Processing (Virtual Reality) - Processing 2.x and 3.x Forum) , user Dawars said this Hello, This is David, an undergraduate Computer Engineer student from Hungary. I f…

---

## [Gstreamer issue: No Real Random Source Present Processing 3.5 and 4 Video Not working](https://discourse.processing.org/t/gstreamer-issue-no-real-random-source-present-processing-3-5-and-4-video-not-working/32247)

<div class="topic-metadata">

**Author:** [@xrispy](https://discourse.processing.org/u/xrispy)\
**Replies:** 1\
**Last updated:** [September 14, 2021, 11:03am UTC](https://discourse.processing.org/t/gstreamer-issue-no-real-random-source-present-processing-3-5-and-4-video-not-working/32247 "2021-09-14T11:03:44Z")

</div>

I have been having a long term issue with Processing 3.5-4.0 video library. I have not been able to use Processing video all year and it has impacted my artistic process. I am using Processing video library using GStrea…

---

## [How to rotate the buttons in Processing](https://discourse.processing.org/t/how-to-rotate-the-buttons-in-processing/32228)

<div class="topic-metadata">

**Author:** [@seym](https://discourse.processing.org/u/seym)\
**Replies:** 2\
**Last updated:** [September 14, 2021, 9:22am UTC](https://discourse.processing.org/t/how-to-rotate-the-buttons-in-processing/32228 "2021-09-14T09:22:25Z")

</div>

I have 24 buttons that will shape a circle together. So, the image of the buttons should look in a rotating way like this: I want to use the same 3 images (setImages(); 3 images for 3 mouseClick conditions in 1 butto…

---

## [InfluxDB example or library](https://discourse.processing.org/t/influxdb-example-or-library/32227)

<div class="topic-metadata">

**Author:** [@Jhdgkss](https://discourse.processing.org/u/Jhdgkss)\
**Replies:** 2\
**Last updated:** [September 13, 2021, 7:29pm UTC](https://discourse.processing.org/t/influxdb-example-or-library/32227 "2021-09-13T19:29:51Z")

</div>

Hi all. Is there a library or code example for use of processing with influxDB? From a remote web address. I know influxDB does support Rest API. But not sure how to implement this in processing. Example code would be …

---

## [Multiple Image-Buttons That will Shape a Circle Together](https://discourse.processing.org/t/multiple-image-buttons-that-will-shape-a-circle-together/32221)

<div class="topic-metadata">

**Author:** [@seym](https://discourse.processing.org/u/seym)\
**Replies:** 1\
**Last updated:** [September 13, 2021, 12:18pm UTC](https://discourse.processing.org/t/multiple-image-buttons-that-will-shape-a-circle-together/32221 "2021-09-13T12:18:29Z")

</div>

I have several buttons that I created like this: In the setup() PImage\[\] imgs1 = {loadImage("AREA1\_1.png"),loadImage("AREA1\_2.png"),loadImage("AREA1\_3.png")}; cp5.addButton("AREA\_1") // The button .setValue(128) .setP…

---

## [Problem with the volume. Minim Library](https://discourse.processing.org/t/problem-with-the-volume-minim-library/32128)

<div class="topic-metadata">

**Author:** [@kylu](https://discourse.processing.org/u/kylu)\
**Replies:** 1\
**Last updated:** [September 8, 2021, 8:47pm UTC](https://discourse.processing.org/t/problem-with-the-volume-minim-library/32128 "2021-09-08T20:47:25Z")

</div>

Hey there! I’m working in a game proyect, using minim and Fisica libraries. I put the sound tracks but i can change the volume, i try using setVolume() and setGain() but there’s no way to modified it I let the entery c…

---

## [How to delete a G4P GTextField](https://discourse.processing.org/t/how-to-delete-a-g4p-gtextfield/31897)

<div class="topic-metadata">

**Author:** [@Jos](https://discourse.processing.org/u/Jos)\
**Replies:** 2\
**Last updated:** [September 8, 2021, 9:30am UTC](https://discourse.processing.org/t/how-to-delete-a-g4p-gtextfield/31897 "2021-09-08T09:30:26Z")

</div>

I want to use an G4P object just temporarily. For example a text field. But once created I can’t delete it any more. Is there a solution? import g4p\_controls.\*; void setup() { fill(200); size(400,200); fill(255); rec…

---

## [How to get Movie sound value?](https://discourse.processing.org/t/how-to-get-movie-sound-value/32149)

<div class="topic-metadata">

**Author:** [@lindx](https://discourse.processing.org/u/lindx)\
**Replies:** 0\
**Last updated:** [September 8, 2021, 2:22am UTC](https://discourse.processing.org/t/how-to-get-movie-sound-value/32149 "2021-09-08T02:22:53Z")

</div>

I can Play a MP4 of movie file, the movie sound can play in speakers. I want get movie sound value for display, My question is how to get movie numerical value of sound for make a value meter.

---

## [ControlP5, How to set the maximum number of characters in a Text Field?](https://discourse.processing.org/t/controlp5-how-to-set-the-maximum-number-of-characters-in-a-text-field/32062)

<div class="topic-metadata">

**Author:** [@jhsa](https://discourse.processing.org/u/jhsa)\
**Replies:** 19\
**Last updated:** [September 7, 2021, 5:34pm UTC](https://discourse.processing.org/t/controlp5-how-to-set-the-maximum-number-of-characters-in-a-text-field/32062 "2021-09-07T17:34:56Z")

</div>

I would like to allow a user to insert a maximum of 10 characters in the text field… Been looking and cannot find any option for that. Researched online, found nothing. Thank you for your help.

---

## [Getting a SoundFile as a copy. (SoundFile.copy() nonexistant)](https://discourse.processing.org/t/getting-a-soundfile-as-a-copy-soundfile-copy-nonexistant/32064)

<div class="topic-metadata">

**Author:** [@Mattyjak](https://discourse.processing.org/u/Mattyjak)\
**Replies:** 6\
**Last updated:** [September 7, 2021, 1:45pm UTC](https://discourse.processing.org/t/getting-a-soundfile-as-a-copy-soundfile-copy-nonexistant/32064 "2021-09-07T13:45:14Z")

</div>

Hello everyone! It’s Matty here, back with another question in regards to Processing. I’m messing around with sound right now, and I wanted to know if there was an easy way to ‘clone’ or copy a soundfile object? I know…

---

## [Guibuilder -\> Event -\> NullPointerException](https://discourse.processing.org/t/guibuilder-event-nullpointerexception/32104)

<div class="topic-metadata">

**Author:** [@Student001](https://discourse.processing.org/u/Student001)\
**Replies:** 1\
**Last updated:** [September 5, 2021, 4:05pm UTC](https://discourse.processing.org/t/guibuilder-event-nullpointerexception/32104 "2021-09-05T16:05:33Z")

</div>

Hi! this code produces a NullPointerException: public void tf\_step\_delay\_change(GTextField source, GEvent event) { //\_CODE\_:tf\_step\_delay:234478: if(event == GEvent.ENTERED){ slider\_step\_delay.setValue(Integer.v…

---

## [Overlay video on PNG (w/ transparent bg) =\> Sequence of PNGs](https://discourse.processing.org/t/overlay-video-on-png-w-transparent-bg-sequence-of-pngs/32054)

<div class="topic-metadata">

**Author:** [@ishback](https://discourse.processing.org/u/ishback)\
**Replies:** 1\
**Last updated:** [September 4, 2021, 11:01am UTC](https://discourse.processing.org/t/overlay-video-on-png-w-transparent-bg-sequence-of-pngs/32054 "2021-09-04T11:01:12Z")

</div>

Hello, I’m trying to overlay a video (played at a size let’s say 50x50pixels) on top of a PNG with transparent background. My goal is to get a GIF out of it, for which I’d probably need to save a PNG for each frame. I’…

---

## [\[YOLO\] Error msg : RuntimeException: java.lang.Error: Invalid memory access](https://discourse.processing.org/t/yolo-error-msg-runtimeexception-java-lang-error-invalid-memory-access/31822)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 7\
**Last updated:** [August 29, 2021, 11:01pm UTC](https://discourse.processing.org/t/yolo-error-msg-runtimeexception-java-lang-error-invalid-memory-access/31822 "2021-08-29T23:01:17Z")

</div>

library : GitHub - cansik/deep-vision-processing: Deep computer-vision algorithms for the Processing framewo import ch.bildspur.vision.\*; import ch.bildspur.vision.result.\*; DeepVision deepVision = new DeepVision(thi…

---

## [Why am I having the NullPointerException error?](https://discourse.processing.org/t/why-am-i-having-the-nullpointerexception-error/31876)

<div class="topic-metadata">

**Author:** [@jhsa](https://discourse.processing.org/u/jhsa)\
**Replies:** 4\
**Last updated:** [August 27, 2021, 7:00pm UTC](https://discourse.processing.org/t/why-am-i-having-the-nullpointerexception-error/31876 "2021-08-27T19:00:23Z")

</div>

Hi guys. I can’t understand why I am getting this NullPointerException error, and the line “text(FileName, width/2, 146);” is highlighted. Thanks for your help once again. João import controlP5.\*; ControlP5 cp5; Dr…

---

## [Tabs, Set font and position with controlP5](https://discourse.processing.org/t/tabs-set-font-and-position-with-controlp5/31925)

<div class="topic-metadata">

**Author:** [@jhsa](https://discourse.processing.org/u/jhsa)\
**Replies:** 9\
**Last updated:** [August 29, 2021, 12:54pm UTC](https://discourse.processing.org/t/tabs-set-font-and-position-with-controlp5/31925 "2021-08-29T12:54:06Z")

</div>

Guys, I am trying to set the position of the tabs in “Processing” but that doesn’t work. Also using “.setFont(font1)” throws a “NullPointerException” error. :frowning: This also doesn’t do anything " setPosition(float,…

---

## [Using twitter4j](https://discourse.processing.org/t/using-twitter4j/31719)

<div class="topic-metadata">

**Author:** [@garrettlynch](https://discourse.processing.org/u/garrettlynch)\
**Replies:** 2\
**Last updated:** [August 14, 2021, 6:59pm UTC](https://discourse.processing.org/t/using-twitter4j/31719 "2021-08-14T18:59:53Z")

</div>

Is twitter4j now integrated into Processing (3.5.4)? I’m using it without problems and its not in the code folder of the sketch.

---

## [P2D & PGraphics Movie not displaying across render modes? + BONUS P2D performance issue](https://discourse.processing.org/t/p2d-pgraphics-movie-not-displaying-across-render-modes-bonus-p2d-performance-issue/31944)

<div class="topic-metadata">

**Author:** [@rapatski](https://discourse.processing.org/u/rapatski)\
**Replies:** 4\
**Last updated:** [August 27, 2021, 12:38pm UTC](https://discourse.processing.org/t/p2d-pgraphics-movie-not-displaying-across-render-modes-bonus-p2d-performance-issue/31944 "2021-08-27T12:38:58Z")

</div>

Hi friends, Again, sad to come back to the forum with some puzzling behaviour. Maybe someone can point me towards something I’m doing wrong or perhaps a workaround? I currently have a sketch that draws into an off-scre…

---

## [Sound Library examples all return errors, make no sound](https://discourse.processing.org/t/sound-library-examples-all-return-errors-make-no-sound/15383)

<div class="topic-metadata">

**Author:** [@m11](https://discourse.processing.org/u/m11)\
**Replies:** 7\
**Last updated:** [August 26, 2021, 5:31pm UTC](https://discourse.processing.org/t/sound-library-examples-all-return-errors-make-no-sound/15383 "2021-08-26T17:31:01Z")

</div>

Hi everyone - I’m trying to use the official Sound library, but can’t get it to make any sound - and this is only through running the official examples included with the library, so far. Here’s a typical error message,…

---

## [Game control plus bluetooth controller](https://discourse.processing.org/t/game-control-plus-bluetooth-controller/5268)

<div class="topic-metadata">

**Author:** [@Whahahahaha](https://discourse.processing.org/u/Whahahahaha)\
**Replies:** 10\
**Last updated:** [August 26, 2021, 11:30am UTC](https://discourse.processing.org/t/game-control-plus-bluetooth-controller/5268 "2021-08-26T11:30:59Z")

</div>

@quark, sorry to bother you… I was wondering if it were possible to connect a bluetooth controller to processing with the game control plus library. I have a playstation 4 2nd gen controller which can connect to my lap…

---

## [Problem with the Sound library](https://discourse.processing.org/t/problem-with-the-sound-library/25920)

<div class="topic-metadata">

**Author:** [@Electronix](https://discourse.processing.org/u/Electronix)\
**Replies:** 4\
**Last updated:** [August 24, 2021, 3:25pm UTC](https://discourse.processing.org/t/problem-with-the-sound-library/25920 "2021-08-24T15:25:43Z")

</div>

Hi everyone, I use usually Minim library in Java mode but Minim don’t work in Android mode. So I would like to use the Sound library because It looks like Sound works with Java and Android. To begin with Sound I first…

---

## [How to use Uniform in PixelFlow library](https://discourse.processing.org/t/how-to-use-uniform-in-pixelflow-library/31895)

<div class="topic-metadata">

**Author:** [@Riemo](https://discourse.processing.org/u/Riemo)\
**Replies:** 0\
**Last updated:** [August 24, 2021, 7:16pm UTC](https://discourse.processing.org/t/how-to-use-uniform-in-pixelflow-library/31895 "2021-08-24T19:16:53Z")

</div>

Hi I’m studying Processing library “PixelFlow”. I want send Int variable to fragment shader. How to send variable from Processing to fragmet Shader. I’m using “Fluid\_StreamLines\_CustomRender” example in “Processing Ex…

---

## [\[YOLO\] YOLODetectObjects example // I want to know about the detected information](https://discourse.processing.org/t/yolo-yolodetectobjects-example-i-want-to-know-about-the-detected-information/31798)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 2\
**Last updated:** [August 21, 2021, 12:52am UTC](https://discourse.processing.org/t/yolo-yolodetectobjects-example-i-want-to-know-about-the-detected-information/31798 "2021-08-21T00:52:15Z")

</div>

@cansik / help me. As shown in the picture, Can I get information about the functions for that library? ex) .hashCode() .isSkipNMS() .loadLabels(Path) .notify() …etc Is there any reference material with co…

---

## [No MIDI library for Processing 3?](https://discourse.processing.org/t/no-midi-library-for-processing-3/6079)

<div class="topic-metadata">

**Author:** [@robduarte](https://discourse.processing.org/u/robduarte)\
**Replies:** 14\
**Last updated:** [August 20, 2021, 7:28pm UTC](https://discourse.processing.org/t/no-midi-library-for-processing-3/6079 "2021-08-20T19:28:54Z")

</div>

It’s been a while since I’ve used Processing. I’m looking in the library manager and on the libraries listing on processing.org and I’m not seeing any MIDI library. Is there no supported way of sending/receiving MIDI any…

---

## [Is this how motion sensors work?](https://discourse.processing.org/t/is-this-how-motion-sensors-work/31792)

<div class="topic-metadata">

**Author:** [@MoonAlien822](https://discourse.processing.org/u/MoonAlien822)\
**Replies:** 3\
**Last updated:** [August 19, 2021, 8:31pm UTC](https://discourse.processing.org/t/is-this-how-motion-sensors-work/31792 "2021-08-19T20:31:44Z")

</div>

color\[\] firstframe; color\[\] secondframe; int i= 1; int x; int y; void draw(){ firstframe\[i\]=get(x,y); delay(500); secondframe\[i\]=get(x,y); if (firstframe\[i\]==secondframe\[i\]){ i++; y++; if(y==…

---

## [Processing in BlueJ/Greenfoot](https://discourse.processing.org/t/processing-in-bluej-greenfoot/28766)

<div class="topic-metadata">

**Author:** [@crimsonwombat](https://discourse.processing.org/u/crimsonwombat)\
**Replies:** 13\
**Last updated:** [August 19, 2021, 4:01pm UTC](https://discourse.processing.org/t/processing-in-bluej-greenfoot/28766 "2021-08-19T16:01:37Z")

</div>

I know this gets asked from time to time and I’ve gone through all the instructions I can find (this did work once upon a time but …) Some background: I teach a high school CS2 course in object oriented design and we st…

---

## [Google Streetview](https://discourse.processing.org/t/google-streetview/7105)

<div class="topic-metadata">

**Author:** [@Noisathry](https://discourse.processing.org/u/Noisathry)\
**Replies:** 6\
**Last updated:** [August 18, 2021, 5:41pm UTC](https://discourse.processing.org/t/google-streetview/7105 "2021-08-18T17:41:38Z")

</div>

Hello Everybody! I started processing this year at the university and now I want to make an interaktive programm with processing, where you sit on a swing and with every move forward you go one frame forward in google m…

---

## [The function enableCollapse() does not exist](https://discourse.processing.org/t/the-function-enablecollapse-does-not-exist/17718)

<div class="topic-metadata">

**Author:** [@yjoeyj](https://discourse.processing.org/u/yjoeyj)\
**Replies:** 4\
**Last updated:** [August 18, 2021, 5:11pm UTC](https://discourse.processing.org/t/the-function-enablecollapse-does-not-exist/17718 "2021-08-18T17:11:27Z")

</div>

Hello All, First time user of Processing and stuck on a script I obtained from github Link. I cut down the script to shorten it for here, so hope I didn’t cut off too much: import controlP5.\*; import processing.serial.…

---

## [Using save/saveFrame to save screenshot in iGeo update method](https://discourse.processing.org/t/using-save-saveframe-to-save-screenshot-in-igeo-update-method/31757)

<div class="topic-metadata">

**Author:** [@Renruojos](https://discourse.processing.org/u/Renruojos)\
**Replies:** 2\
**Last updated:** [August 18, 2021, 5:17am UTC](https://discourse.processing.org/t/using-save-saveframe-to-save-screenshot-in-igeo-update-method/31757 "2021-08-18T05:17:05Z")

</div>

I am fairly new to both Processing and iGeo and for the life of me I cannot figured out how to take a simple screenshot of the canvas properly. Take for instance the code below: I am creating a bunch of random points on…

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

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