# Libraries

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

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

**Page:** 22

---

## [Processing.net questions using Client / Server](https://discourse.processing.org/t/processing-net-questions-using-client-server/33860)

<div class="topic-metadata">

**Author:** [@yodan](https://discourse.processing.org/u/yodan)\
**Replies:** 1\
**Last updated:** [December 1, 2021, 2:57pm UTC](https://discourse.processing.org/t/processing-net-questions-using-client-server/33860 "2021-12-01T14:57:56Z")

</div>

Two clarifying questions regarding the processing.net library: When I use the Client constructor is there a way to control the timeout variable? The default is about 10-15s before it throws a timed out exception which …

---

## [Webcam capture fails for .exe on win10](https://discourse.processing.org/t/webcam-capture-fails-for-exe-on-win10/33834)

<div class="topic-metadata">

**Author:** [@mario60](https://discourse.processing.org/u/mario60)\
**Replies:** 2\
**Last updated:** [December 1, 2021, 1:44pm UTC](https://discourse.processing.org/t/webcam-capture-fails-for-exe-on-win10/33834 "2021-12-01T13:44:30Z")

</div>

Hi I am trying a simple webcam script on a Win10 machine, which runs fine. Still, the exported .exe fails, I do believe because it fails to upload GStreamer. Note folder structure is created as: script\_win64 – java …

---

## [Cannot find a class or type named “List” error](https://discourse.processing.org/t/cannot-find-a-class-or-type-named-list-error/33783)

<div class="topic-metadata">

**Author:** [@Ingeneravit](https://discourse.processing.org/u/Ingeneravit)\
**Replies:** 1\
**Last updated:** [November 30, 2021, 1:47am UTC](https://discourse.processing.org/t/cannot-find-a-class-or-type-named-list-error/33783 "2021-11-30T01:47:53Z")

</div>

I’m new to processing, and I’m trying to run this bit of code: import de.fhpotsdam.unfolding.\*; import de.fhpotsdam.unfolding.core.\*; import de.fhpotsdam.unfolding.data.\*; import de.fhpotsdam.unfolding.events.\*; import …

---

## [Newbie seeking a bit of guidance... vertically falling text manipulation](https://discourse.processing.org/t/newbie-seeking-a-bit-of-guidance-vertically-falling-text-manipulation/33726)

<div class="topic-metadata">

**Author:** [@AudioBabble](https://discourse.processing.org/u/AudioBabble)\
**Replies:** 2\
**Last updated:** [November 27, 2021, 2:52am UTC](https://discourse.processing.org/t/newbie-seeking-a-bit-of-guidance-vertically-falling-text-manipulation/33726 "2021-11-27T02:52:35Z")

</div>

EDIT: I’ve decided this post is asking too much all at once, please see my other post here: Newbie advice... stop a blinking cursor (I’m breaking it down into manageable chunks!) Hi all, new here and new to processing. …

---

## [Game control plus library with presets](https://discourse.processing.org/t/game-control-plus-library-with-presets/33712)

<div class="topic-metadata">

**Author:** [@TimeLex](https://discourse.processing.org/u/TimeLex)\
**Replies:** 11\
**Last updated:** [November 26, 2021, 2:22pm UTC](https://discourse.processing.org/t/game-control-plus-library-with-presets/33712 "2021-11-26T14:22:07Z")

</div>

Hello. I use the game controls plus library and it works very well. But every time I start the program, the configuration window appears. Is there a way to save a preset and let the user switch between these presets wit…

---

## [Jagged text problem Windows](https://discourse.processing.org/t/jagged-text-problem-windows/33768)

<div class="topic-metadata">

**Author:** [@stefanmz7](https://discourse.processing.org/u/stefanmz7)\
**Replies:** 0\
**Last updated:** [November 26, 2021, 12:35pm UTC](https://discourse.processing.org/t/jagged-text-problem-windows/33768 "2021-11-26T12:35:50Z")

</div>

Hello! So recently I tried the minim sound library and I tried their example formula that displays the waveform of the music file that’s playing but even though I used smoothing it’s till jagged even with smoothing(8) ba…

---

## [Other video libraries](https://discourse.processing.org/t/other-video-libraries/33721)

<div class="topic-metadata">

**Author:** [@clankill3r](https://discourse.processing.org/u/clankill3r)\
**Replies:** 1\
**Last updated:** [November 24, 2021, 2:49pm UTC](https://discourse.processing.org/t/other-video-libraries/33721 "2021-11-24T14:49:33Z")

</div>

If there are people that have positive experience with using a library other then the processing video library then please share. At this point, videos are often black, skipping threw frames is missing a ton of inbetwee…

---

## [Help memory leak processing](https://discourse.processing.org/t/help-memory-leak-processing/33697)

<div class="topic-metadata">

**Author:** [@blacknazgul](https://discourse.processing.org/u/blacknazgul)\
**Replies:** 1\
**Last updated:** [November 23, 2021, 5:21pm UTC](https://discourse.processing.org/t/help-memory-leak-processing/33697 "2021-11-23T17:21:14Z")

</div>

hello, i’m a noob in processing, and i have a problem when i run the sketch, memory usage goes up indefinitely this is my code import peasy.\*; import controlP5.\*; import processing.opengl.\*; import java.util.\*; Textar…

---

## [CP5 – "global" tab overrides bringToFront()](https://discourse.processing.org/t/cp5-global-tab-overrides-bringtofront/33617)

<div class="topic-metadata">

**Author:** [@jango\_fx](https://discourse.processing.org/u/jango_fx)\
**Replies:** 2\
**Last updated:** [November 19, 2021, 11:55pm UTC](https://discourse.processing.org/t/cp5-global-tab-overrides-bringtofront/33617 "2021-11-19T23:55:55Z")

</div>

i’d like to use controlP5’s Tabs. and i’d like to have some GUI elements showing up in all tabs (that is exist on the “global” tab) but i DON’T want those elements to overlay everything else. i thought bringToFront() …

---

## [Help with array of mp3 files!](https://discourse.processing.org/t/help-with-array-of-mp3-files/33610)

<div class="topic-metadata">

**Author:** [@Elisabot](https://discourse.processing.org/u/Elisabot)\
**Replies:** 2\
**Last updated:** [November 19, 2021, 3:00pm UTC](https://discourse.processing.org/t/help-with-array-of-mp3-files/33610 "2021-11-19T15:00:48Z")

</div>

Hi! I’m creating a proccesing code, that ads a voice to a choir every time the mouse is clicked (soundfiles being played simultaneously), this part works fine. The problem is, that I want to include some sort of timer t…

---

## [Edit data in a float buffer](https://discourse.processing.org/t/edit-data-in-a-float-buffer/15286)

<div class="topic-metadata">

**Author:** [@sash](https://discourse.processing.org/u/sash)\
**Replies:** 3\
**Last updated:** [November 19, 2021, 12:00am UTC](https://discourse.processing.org/t/edit-data-in-a-float-buffer/15286 "2021-11-19T00:00:49Z")

</div>

Late on the Kinect train, fresh in coding. I am using Thomas Sanchez Lengelings KinectPV2 library which can put the complete pointcloud of each frame in a float buffer. It is called with FloatBuffer = kinect.getPointCl…

---

## [Drop library not working when fullscreen()?](https://discourse.processing.org/t/drop-library-not-working-when-fullscreen/33569)

<div class="topic-metadata">

**Author:** [@enrike](https://discourse.processing.org/u/enrike)\
**Replies:** 0\
**Last updated:** [November 17, 2021, 5:08am UTC](https://discourse.processing.org/t/drop-library-not-working-when-fullscreen/33569 "2021-11-17T05:08:58Z")

</div>

Hi I am using the Drop library (Drop) to drag and drop video files into a sketch. All works fine but when I set it fullscreen it just does not allow me to drop anything. I see a forbidden sign and I get no drop event. …

---

## [How to DETECT COLORS from CAMERA CAPTURE and OUTPUT them?](https://discourse.processing.org/t/how-to-detect-colors-from-camera-capture-and-output-them/33553)

<div class="topic-metadata">

**Author:** [@badbatman](https://discourse.processing.org/u/badbatman)\
**Replies:** 1\
**Last updated:** [November 16, 2021, 1:15pm UTC](https://discourse.processing.org/t/how-to-detect-colors-from-camera-capture-and-output-them/33553 "2021-11-16T13:15:15Z")

</div>

How can I gain the colors from a camera capture and output them in swatches? What are the steps to realize this? Something like this: https://www.youtube.com/watch?v=EyuqP43jkQ8 import processing.video.\*; Capture cam…

---

## [G4P - Each window is displayed for a moment on the display](https://discourse.processing.org/t/g4p-each-window-is-displayed-for-a-moment-on-the-display/33486)

<div class="topic-metadata">

**Author:** [@csokasi](https://discourse.processing.org/u/csokasi)\
**Replies:** 0\
**Last updated:** [November 13, 2021, 10:13am UTC](https://discourse.processing.org/t/g4p-each-window-is-displayed-for-a-moment-on-the-display/33486 "2021-11-13T10:13:31Z")

</div>

import g4p\_controls.\*; public void setup(){ size(480, 320, JAVA2D); createGUI(); // Each window is displayed for a moment on the display. // I want this to happen in the background. customGU…

---

## [G4P Library : GTextField text alignment](https://discourse.processing.org/t/g4p-library-gtextfield-text-alignment/33319)

<div class="topic-metadata">

**Author:** [@R2processing](https://discourse.processing.org/u/R2processing)\
**Replies:** 2\
**Last updated:** [November 9, 2021, 5:07am UTC](https://discourse.processing.org/t/g4p-library-gtextfield-text-alignment/33319 "2021-11-09T05:07:54Z")

</div>

Hello, I’m using the useful G4P library. using txfTEST = new GTextField(this, 10, 20, 70, 20); txfTEST.setText(strTEST); pnlCtrl.addControl(txfTEST); allows me to define a GTextField object in the panel but the te…

---

## [IndexOutOfBoundsException](https://discourse.processing.org/t/indexoutofboundsexception/12499)

<div class="topic-metadata">

**Author:** [@bu.aus](https://discourse.processing.org/u/bu.aus)\
**Replies:** 3\
**Last updated:** [November 9, 2021, 1:19am UTC](https://discourse.processing.org/t/indexoutofboundsexception/12499 "2021-11-09T01:19:43Z")

</div>

Hello, i copied a very simple code from the website,https://processing.org/reference/libraries/sound/SoundFile.html but turns out the problem:IndexOutOfBoundsException .I’ve checked that the file is in the data folder. …

---

## [Webcam capture and PGraphics](https://discourse.processing.org/t/webcam-capture-and-pgraphics/33389)

<div class="topic-metadata">

**Author:** [@mario60](https://discourse.processing.org/u/mario60)\
**Replies:** 3\
**Last updated:** [November 8, 2021, 1:09pm UTC](https://discourse.processing.org/t/webcam-capture-and-pgraphics/33389 "2021-11-08T13:09:58Z")

</div>

import processing.video.\*; Capture cam; PGraphics pg1; void setup() { size(950, 950); frameRate(10); pg1 = createGraphics(475, 475); String\[\] cameras = Capture.list(); if (cameras.length == 0) { pr…

---

## [Displaying movie in Processing not working!?](https://discourse.processing.org/t/displaying-movie-in-processing-not-working/33179)

<div class="topic-metadata">

**Author:** [@xeronimo](https://discourse.processing.org/u/xeronimo)\
**Replies:** 2\
**Last updated:** [November 8, 2021, 8:55am UTC](https://discourse.processing.org/t/displaying-movie-in-processing-not-working/33179 "2021-11-08T08:55:54Z")

</div>

Hi, I’m trying to import a movie into my sketch using the movie library. It used to work in the past but now it doesn’t … it crashes in P2D and P3D, and in the normal mode it shows the video in a distorted way It’s an…

---

## [Efficiency of code with 100+ objects](https://discourse.processing.org/t/efficiency-of-code-with-100-objects/33236)

<div class="topic-metadata">

**Author:** [@tribblesontoast](https://discourse.processing.org/u/tribblesontoast)\
**Replies:** 5\
**Last updated:** [November 8, 2021, 3:28am UTC](https://discourse.processing.org/t/efficiency-of-code-with-100-objects/33236 "2021-11-08T03:28:02Z")

</div>

Hi all, I’m writing a program that has numerous moving objects on screen and my frame rate starts to take a serious hit at around 100 - 110 objects. I’ve seen programs with thousands running easily so clearly I’m writi…

---

## [Struggling to create a gradient](https://discourse.processing.org/t/struggling-to-create-a-gradient/33355)

<div class="topic-metadata">

**Author:** [@bcabc](https://discourse.processing.org/u/bcabc)\
**Replies:** 4\
**Last updated:** [November 7, 2021, 7:07pm UTC](https://discourse.processing.org/t/struggling-to-create-a-gradient/33355 "2021-11-07T19:07:41Z")

</div>

hi there - i am looking to include gradients in my processing drawings. i am generating svg images, so i believe the P2D renderer isn’t for me. i’d also like to apply the gradients to large shapes made out of bezier cu…

---

## [Pixelflow optical flow questions](https://discourse.processing.org/t/pixelflow-optical-flow-questions/33332)

<div class="topic-metadata">

**Author:** [@jimjimmer](https://discourse.processing.org/u/jimjimmer)\
**Replies:** 0\
**Last updated:** [November 5, 2021, 11:39am UTC](https://discourse.processing.org/t/pixelflow-optical-flow-questions/33332 "2021-11-05T11:39:14Z")

</div>

/\*\* \* \* PixelFlow | Copyright (C) 2017 Thomas Diewald - www.thomasdiewald.com \* \* https://github.com/diwi/PixelFlow.git \* \* A Processing/Java library for high performance GPU-Computing. \* MIT License: https://o…

---

## [How to declare an instance when no face is detected in \[deep-vision-processing library\]?](https://discourse.processing.org/t/how-to-declare-an-instance-when-no-face-is-detected-in-deep-vision-processing-library/33336)

<div class="topic-metadata">

**Author:** [@Yatish001](https://discourse.processing.org/u/Yatish001)\
**Replies:** 0\
**Last updated:** [November 5, 2021, 2:29pm UTC](https://discourse.processing.org/t/how-to-declare-an-instance-when-no-face-is-detected-in-deep-vision-processing-library/33336 "2021-11-05T14:29:49Z")

</div>

I want to play one video when no face is detected and play another video when a face is detected using Deep Vision Library for processing. I am using the FaceDetectorHaarWebcam code from the examples. However, I am not a…

---

## [Using \[deep-vision-processing library\] framework](https://discourse.processing.org/t/using-deep-vision-processing-library-framework/33328)

<div class="topic-metadata">

**Author:** [@Yatish001](https://discourse.processing.org/u/Yatish001)\
**Replies:** 0\
**Last updated:** [November 5, 2021, 11:30am UTC](https://discourse.processing.org/t/using-deep-vision-processing-library-framework/33328 "2021-11-05T11:30:08Z")

</div>

I want to play a video only when a face is detected on live webcam and play another video if no face is detected. I want to use this code from the Examples, but I am unable to understand the syntax. \<\>import processing…

---

## [How draw shapes in accordion?](https://discourse.processing.org/t/how-draw-shapes-in-accordion/33249)

<div class="topic-metadata">

**Author:** [@yujunah](https://discourse.processing.org/u/yujunah)\
**Replies:** 0\
**Last updated:** [November 2, 2021, 7:05am UTC](https://discourse.processing.org/t/how-draw-shapes-in-accordion/33249 "2021-11-02T07:05:35Z")

</div>

import controlP5.\*; ControlP5 cp5; Accordion accordion; color c = color(0, 160, 100); void setup() { size(400, 600); noStroke(); smooth(); gui(); } void gui() { cp5 = new ControlP5(this); // group number 1, c…

---

## [Web Server. Load image?](https://discourse.processing.org/t/web-server-load-image/20356)

<div class="topic-metadata">

**Author:** [@Omnimusha](https://discourse.processing.org/u/Omnimusha)\
**Replies:** 2\
**Last updated:** [October 31, 2021, 9:40am UTC](https://discourse.processing.org/t/web-server-load-image/20356 "2021-10-31T09:40:35Z")

</div>

Hi. how to upload an image from my pc? c.write("\<img src=1.jpg\>"); import processing.net.\*; String HTTP\_GET\_REQUEST = "GET /"; String HTTP\_HEADER = "HTTP/1.0 200 OK\\r\\nContent-Type: text/html\\r\\n\\r\\n"; Server s; Clie…

---

## [Overlapping one sound multiple times with minim library](https://discourse.processing.org/t/overlapping-one-sound-multiple-times-with-minim-library/32878)

<div class="topic-metadata">

**Author:** [@rojele](https://discourse.processing.org/u/rojele)\
**Replies:** 8\
**Last updated:** [October 31, 2021, 5:29am UTC](https://discourse.processing.org/t/overlapping-one-sound-multiple-times-with-minim-library/32878 "2021-10-31T05:29:09Z")

</div>

Hi, I’m working on the sound part of an interactive installation that would need an event to be triggered by osc an undefined number of times, making the sound linked to it overlaps instead of being rewinded and started …

---

## [\[CANCELED\] G4P GUI Builder - cannot reopen a previous generated gui](https://discourse.processing.org/t/canceled-g4p-gui-builder-cannot-reopen-a-previous-generated-gui/33159)

<div class="topic-metadata">

**Author:** [@Brun0oO](https://discourse.processing.org/u/Brun0oO)\
**Replies:** 6\
**Last updated:** [October 30, 2021, 5:37pm UTC](https://discourse.processing.org/t/canceled-g4p-gui-builder-cannot-reopen-a-previous-generated-gui/33159 "2021-10-30T17:37:28Z")

</div>

Hi, I’m having an issue with the G4P GUI Builder tool. I got this error when I try to reopen a previous session with this tool : java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.app…

---

## [Process crashes Java](https://discourse.processing.org/t/process-crashes-java/33077)

<div class="topic-metadata">

**Author:** [@RMead](https://discourse.processing.org/u/RMead)\
**Replies:** 5\
**Last updated:** [October 30, 2021, 10:47am UTC](https://discourse.processing.org/t/process-crashes-java/33077 "2021-10-30T10:47:54Z")

</div>

I’m trying to set up a facial recognition system for my art degree - where I want it to print off peoples faces each time they enter the gallery space. The code I’ve used, from a couple of guides, is included below - and…

---

## [Smooth transition between frequencies amplitudes over time using a FFT analysis](https://discourse.processing.org/t/smooth-transition-between-frequencies-amplitudes-over-time-using-a-fft-analysis/33144)

<div class="topic-metadata">

**Author:** [@werls](https://discourse.processing.org/u/werls)\
**Replies:** 2\
**Last updated:** [October 29, 2021, 4:21am UTC](https://discourse.processing.org/t/smooth-transition-between-frequencies-amplitudes-over-time-using-a-fft-analysis/33144 "2021-10-29T04:21:08Z")

</div>

I’ve done a few experiments with sound visualization in Processing using the Sound and Minim libraries, but I always stuck in the same problem: the values of frequencies amplitudes over time are very discrepants and the …

---

## [How to get this library to work?](https://discourse.processing.org/t/how-to-get-this-library-to-work/32778)

<div class="topic-metadata">

**Author:** [@MoonAlien822](https://discourse.processing.org/u/MoonAlien822)\
**Replies:** 2\
**Last updated:** [October 28, 2021, 6:22pm UTC](https://discourse.processing.org/t/how-to-get-this-library-to-work/32778 "2021-10-28T18:22:51Z")

</div>

how to get the “unfolding maps” library to work?

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

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