# Libraries

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

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

**Page:** 21

---

## [Having problem with the capturing video with Processing 4](https://discourse.processing.org/t/having-problem-with-the-capturing-video-with-processing-4/34862)

<div class="topic-metadata">

**Author:** [@maddyna](https://discourse.processing.org/u/maddyna)\
**Replies:** 6\
**Last updated:** [February 1, 2022, 3:23pm UTC](https://discourse.processing.org/t/having-problem-with-the-capturing-video-with-processing-4/34862 "2022-02-01T15:23:49Z")

</div>

Having problem with the capturing video with Processing 4 \< (java.exe:21916): GStreamer-WARNING \*\*: Failed to load plugin 'E:\\gstreamer\\1.0\\x86\_64\\lib\\gstreamer-1.0\\libgstlibvisual.dll': 'E:\\gstreamer\\1.0\\x86\_64\\lib\\g…

---

## [\[SimplePBR\] Physically based rendering library](https://discourse.processing.org/t/simplepbr-physically-based-rendering-library/23077)

<div class="topic-metadata">

**Author:** [@kosowski](https://discourse.processing.org/u/kosowski)\
**Replies:** 6\
**Last updated:** [January 31, 2022, 4:21pm UTC](https://discourse.processing.org/t/simplepbr-physically-based-rendering-library/23077 "2022-01-31T16:21:58Z")

</div>

I have created a library for physically based rendering (PBR) in Processing. PBR is a rendering method for more accurate (and nicer) lighting of surfaces, here’s a demo video . At the core, is just a replacement of t…

---

## [Slit each individual the time grid that slits from canvas](https://discourse.processing.org/t/slit-each-individual-the-time-grid-that-slits-from-canvas/34789)

<div class="topic-metadata">

**Author:** [@psamead](https://discourse.processing.org/u/psamead)\
**Replies:** 6\
**Last updated:** [January 30, 2022, 3:42pm UTC](https://discourse.processing.org/t/slit-each-individual-the-time-grid-that-slits-from-canvas/34789 "2022-01-30T15:42:17Z")

</div>

Hi my friends, I am a newbie. Could anybody give me some idea on this topic? There is a primary slit, which divides into grids, then each grid is divided into horizontal pieces. I try to follow the tutorial on slit …

---

## [G4P multiline message in selectOption control](https://discourse.processing.org/t/g4p-multiline-message-in-selectoption-control/34893)

<div class="topic-metadata">

**Author:** [@aksaks](https://discourse.processing.org/u/aksaks)\
**Replies:** 0\
**Last updated:** [January 30, 2022, 3:37am UTC](https://discourse.processing.org/t/g4p-multiline-message-in-selectoption-control/34893 "2022-01-30T03:37:46Z")

</div>

Regarding the G4P selectOption control. I wanted multiple lines for the String message in a g4p\_controls.G4P.selectOption message dialog window. I used the following: int resp = g4p\_controls.G4P.selectOption (this, …

---

## [Can't seen to make PostFx work on my computer](https://discourse.processing.org/t/cant-seen-to-make-postfx-work-on-my-computer/34809)

<div class="topic-metadata">

**Author:** [@lucaoskaique](https://discourse.processing.org/u/lucaoskaique)\
**Replies:** 0\
**Last updated:** [January 23, 2022, 5:50pm UTC](https://discourse.processing.org/t/cant-seen-to-make-postfx-work-on-my-computer/34809 "2022-01-23T17:50:08Z")

</div>

Hi guys, i’m trying to use postFX to render a video but i only got a black screen and only the audio is playing import processing.video.\*; import processing.sound.\*; import ch.bildspur.postfx.builder.\*; import ch.bildsp…

---

## [Plotting coordinates on the map (unfoldingmap)](https://discourse.processing.org/t/plotting-coordinates-on-the-map-unfoldingmap/34773)

<div class="topic-metadata">

**Author:** [@YueLiang](https://discourse.processing.org/u/YueLiang)\
**Replies:** 3\
**Last updated:** [January 22, 2022, 9:34pm UTC](https://discourse.processing.org/t/plotting-coordinates-on-the-map-unfoldingmap/34773 "2022-01-22T21:34:44Z")

</div>

Hello everyone Does anyone know if there are any libraries to build a route on the map? Search on the internet did not give anything, there are some examples with unfoldingmap but this library has not been updated for …

---

## [PGS interpolate need holeless polygon - what it is?](https://discourse.processing.org/t/pgs-interpolate-need-holeless-polygon-what-it-is/34728)

<div class="topic-metadata">

**Author:** [@matheplica](https://discourse.processing.org/u/matheplica)\
**Replies:** 2\
**Last updated:** [January 22, 2022, 10:27am UTC](https://discourse.processing.org/t/pgs-interpolate-need-holeless-polygon-what-it-is/34728 "2022-01-22T10:27:33Z")

</div>

Hi, I’m trying to interpolate between two PShape loaded from SVG. I’ve got this error message : morph() accepts holeless single polygons only (for now). I created the svg with inkscape, here’s the files, where is t…

---

## [Access Elgato Stream Deck from Processing](https://discourse.processing.org/t/access-elgato-stream-deck-from-processing/34724)

<div class="topic-metadata">

**Author:** [@stixan](https://discourse.processing.org/u/stixan)\
**Replies:** 0\
**Last updated:** [January 19, 2022, 10:42am UTC](https://discourse.processing.org/t/access-elgato-stream-deck-from-processing/34724 "2022-01-19T10:42:28Z")

</div>

I got myself an Elgato Stream Deck XL that I want to use to control my Processing sketches on my Mac. Ideally, I would connect to my Stream Deck directly from Processing to be able to send text/images to buttons and lis…

---

## [Webcam capture not working on Microsoft Surface](https://discourse.processing.org/t/webcam-capture-not-working-on-microsoft-surface/34719)

<div class="topic-metadata">

**Author:** [@ctbrahmstedt](https://discourse.processing.org/u/ctbrahmstedt)\
**Replies:** 0\
**Last updated:** [January 19, 2022, 3:30am UTC](https://discourse.processing.org/t/webcam-capture-not-working-on-microsoft-surface/34719 "2022-01-19T03:30:16Z")

</div>

I just bought a brand new Microsoft Surface 8, x64 variety, and I’m trying to get a basic video capture sketch working. I’m using this for a product demo, so this is literally the first app I’m installing on this machine…

---

## [How can we run two programs simultaneously in Processing with one sending data to another?](https://discourse.processing.org/t/how-can-we-run-two-programs-simultaneously-in-processing-with-one-sending-data-to-another/34505)

<div class="topic-metadata">

**Author:** [@Ruchi](https://discourse.processing.org/u/Ruchi)\
**Replies:** 4\
**Last updated:** [January 12, 2022, 6:43pm UTC](https://discourse.processing.org/t/how-can-we-run-two-programs-simultaneously-in-processing-with-one-sending-data-to-another/34505 "2022-01-12T18:43:37Z")

</div>

I want to send json data file from one program to another program with both running simultaneously. Is it possible in processing?

---

## [Change the colour of squares after different lengths of time](https://discourse.processing.org/t/change-the-colour-of-squares-after-different-lengths-of-time/34464)

<div class="topic-metadata">

**Author:** [@teeny13](https://discourse.processing.org/u/teeny13)\
**Replies:** 1\
**Last updated:** [January 12, 2022, 6:36pm UTC](https://discourse.processing.org/t/change-the-colour-of-squares-after-different-lengths-of-time/34464 "2022-01-12T18:36:54Z")

</div>

Hi everyone, I am trying to write code so that my four squares will change colour after different lengths of time with music in the background. Currently, I have created the four squares but they change colour on click…

---

## [Bug related to PImage::copy() of images with transparency?](https://discourse.processing.org/t/bug-related-to-pimage-copy-of-images-with-transparency/34536)

<div class="topic-metadata">

**Author:** [@yodan](https://discourse.processing.org/u/yodan)\
**Replies:** 1\
**Last updated:** [January 9, 2022, 2:13pm UTC](https://discourse.processing.org/t/bug-related-to-pimage-copy-of-images-with-transparency/34536 "2022-01-09T14:13:21Z")

</div>

Hello all I’d like to report what seems to be a bug related to PImage::copy() of images with transparency. There’s an easy hack-fix and I don’t have time to further investigate so I’m just posting this in case this is s…

---

## [External webcam not working with video library](https://discourse.processing.org/t/external-webcam-not-working-with-video-library/34438)

<div class="topic-metadata">

**Author:** [@mortap](https://discourse.processing.org/u/mortap)\
**Replies:** 0\
**Last updated:** [January 3, 2022, 5:09am UTC](https://discourse.processing.org/t/external-webcam-not-working-with-video-library/34438 "2022-01-03T05:09:02Z")

</div>

Hello, I’m having trouble getting Processing to use an external webcam (that is from the Sony ImagingEdge extension) which does work in other apps, like Zoom. It works here: Does the Processing Video library use a si…

---

## [Sound Library: What values to use in sample?](https://discourse.processing.org/t/sound-library-what-values-to-use-in-sample/34418)

<div class="topic-metadata">

**Author:** [@LDB477](https://discourse.processing.org/u/LDB477)\
**Replies:** 3\
**Last updated:** [January 3, 2022, 2:19am UTC](https://discourse.processing.org/t/sound-library-what-values-to-use-in-sample/34418 "2022-01-03T02:19:06Z")

</div>

Just started using the Sound Library and have a quick question. I wasn’t able to find any reference to whether or not the value in each frame in a sample should be a float -1.0 to 1.0, a float 0.0 to 1.0, or if it can b…

---

## [PGS shape union](https://discourse.processing.org/t/pgs-shape-union/34342)

<div class="topic-metadata">

**Author:** [@matheplica](https://discourse.processing.org/u/matheplica)\
**Replies:** 9\
**Last updated:** [December 31, 2021, 8:22pm UTC](https://discourse.processing.org/t/pgs-shape-union/34342 "2021-12-31T20:22:41Z")

</div>

Hi, I’m trying to create a new Shape from 2 more simple. I use the PGS\_library with the function union : output = PGS\_ShapeBoolean.union(shape\[0\].getShape(), shape\[1\].getShape()); The new shape is created but still ke…

---

## [G4P GSpinner number update order](https://discourse.processing.org/t/g4p-gspinner-number-update-order/34329)

<div class="topic-metadata">

**Author:** [@myupctoys](https://discourse.processing.org/u/myupctoys)\
**Replies:** 5\
**Last updated:** [December 28, 2021, 11:33pm UTC](https://discourse.processing.org/t/g4p-gspinner-number-update-order/34329 "2021-12-28T23:33:06Z")

</div>

Hi, I’ve been trying implement GSpinner but having an issue. Easily replicated in the G4P Example Numerical Input unmodified. Load and run the G4P\_NumericalInput example. Click on the up down spinner object. Number get…

---

## [I am trying to express in real time by passing sound data](https://discourse.processing.org/t/i-am-trying-to-express-in-real-time-by-passing-sound-data/34291)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 0\
**Last updated:** [December 26, 2021, 12:30am UTC](https://discourse.processing.org/t/i-am-trying-to-express-in-real-time-by-passing-sound-data/34291 "2021-12-26T00:30:50Z")

</div>

I am trying to express in real time by passing sound data. Mode : JAVA Mode Library : minim //================================================================// import ddf.minim.\*; Minim minim; AudioInput in; Aud…

---

## [Storing data into an array (processing.sound)](https://discourse.processing.org/t/storing-data-into-an-array-processing-sound/34150)

<div class="topic-metadata">

**Author:** [@rebeccajkaye](https://discourse.processing.org/u/rebeccajkaye)\
**Replies:** 13\
**Last updated:** [December 24, 2021, 5:34pm UTC](https://discourse.processing.org/t/storing-data-into-an-array-processing-sound/34150 "2021-12-24T17:34:36Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hello I’m trying to store data from a sound file into an array so that I can use it to draw with. I’ve come a bit further on with my problem bu…

---

## [Draw() inside a class](https://discourse.processing.org/t/draw-inside-a-class/34207)

<div class="topic-metadata">

**Author:** [@Skycstls](https://discourse.processing.org/u/Skycstls)\
**Replies:** 2\
**Last updated:** [December 24, 2021, 2:39pm UTC](https://discourse.processing.org/t/draw-inside-a-class/34207 "2021-12-24T14:39:16Z")

</div>

Hey Processing forum! I’ve been looking the Ani library for animation, was scrolling through the examples for using it and saw this class: class Cirlce { float x = random(0,width); float y = random(0,height); int…

---

## [Processing Eclipse Java P3D Problem](https://discourse.processing.org/t/processing-eclipse-java-p3d-problem/34076)

<div class="topic-metadata">

**Author:** [@Herr\_Nerdstrom](https://discourse.processing.org/u/Herr_Nerdstrom)\
**Replies:** 11\
**Last updated:** [December 20, 2021, 4:34pm UTC](https://discourse.processing.org/t/processing-eclipse-java-p3d-problem/34076 "2021-12-20T16:34:04Z")

</div>

I’m trying to learn how to use the Processing library with Eclipse to solve a puzzle (Rubik’s Cube) my son challenged me with. The main problem seems to be with using P3D in Eclipse. Here is the test code: import proces…

---

## [Processing New GStreamer Error](https://discourse.processing.org/t/processing-new-gstreamer-error/33975)

<div class="topic-metadata">

**Author:** [@jwolkon](https://discourse.processing.org/u/jwolkon)\
**Replies:** 8\
**Last updated:** [December 16, 2021, 7:57pm UTC](https://discourse.processing.org/t/processing-new-gstreamer-error/33975 "2021-12-16T19:57:59Z")

</div>

Hello! It’s been a while since I’ve used Processing, but I just fired back up some old sketches that are no longer working. It appears the issue is with processing.video.Movie objects, and in particular the underlying G…

---

## [Help with sound analysis code](https://discourse.processing.org/t/help-with-sound-analysis-code/34113)

<div class="topic-metadata">

**Author:** [@nata4596](https://discourse.processing.org/u/nata4596)\
**Replies:** 0\
**Last updated:** [December 14, 2021, 5:49pm UTC](https://discourse.processing.org/t/help-with-sound-analysis-code/34113 "2021-12-14T17:49:09Z")

</div>

I need help with this code. This is a program that measures rythm, it works fine. But i need that people lose or win when they reach the bpms of the song. In the last if i tried to do that but it only ends up in people…

---

## [Resizing a ControlP5 text field](https://discourse.processing.org/t/resizing-a-controlp5-text-field/34068)

<div class="topic-metadata">

**Author:** [@F1yin](https://discourse.processing.org/u/F1yin)\
**Replies:** 4\
**Last updated:** [December 12, 2021, 8:59pm UTC](https://discourse.processing.org/t/resizing-a-controlp5-text-field/34068 "2021-12-12T20:59:08Z")

</div>

My goal is simply to be able to resize a ControlP5 text field when the window is resized. import controlP5.\*; ControlP5 cp5; void setup(){ size(1080, 640); background(197,217,227); surface.setResizable(true); …

---

## [Create visual from .wav](https://discourse.processing.org/t/create-visual-from-wav/33720)

<div class="topic-metadata">

**Author:** [@Pyo](https://discourse.processing.org/u/Pyo)\
**Replies:** 1\
**Last updated:** [December 9, 2021, 10:17am UTC](https://discourse.processing.org/t/create-visual-from-wav/33720 "2021-12-09T10:17:50Z")

</div>

Hi, i’m new here and just using Processing a little bit. Started by “messing” with existing code. : ) Now, what i’d like to do is generate statics visuals form the data contained in sound files. For exemple amplitude and…

---

## [Creating a www server with P5 lib processing.net\*](https://discourse.processing.org/t/creating-a-www-server-with-p5-lib-processing-net/8030)

<div class="topic-metadata">

**Author:** [@akenaton](https://discourse.processing.org/u/akenaton)\
**Replies:** 2\
**Last updated:** [December 9, 2021, 3:25am UTC](https://discourse.processing.org/t/creating-a-www-server-with-p5-lib-processing-net/8030 "2021-12-09T03:25:20Z")

</div>

Since a lot of months i am working for an app which is a multiplayer game; gamers can use tablets (android) or desktop computers. I have written a server for the game and of course the app itself, android && desktop vers…

---

## [Alternatives for OpenCV at recognizing facial parts? (eyes, nose, mouth)](https://discourse.processing.org/t/alternatives-for-opencv-at-recognizing-facial-parts-eyes-nose-mouth/34003)

<div class="topic-metadata">

**Author:** [@badbatman](https://discourse.processing.org/u/badbatman)\
**Replies:** 0\
**Last updated:** [December 8, 2021, 1:46pm UTC](https://discourse.processing.org/t/alternatives-for-opencv-at-recognizing-facial-parts-eyes-nose-mouth/34003 "2021-12-08T13:46:25Z")

</div>

After using OpenCv for a while I figured out it does recognize the face very well but not the eyes, nose and mouth. When applying this the detection isn’t stable enough and will create rectangles everywhere. Especially w…

---

## [How do I recognize faces and only output that from camera capture?](https://discourse.processing.org/t/how-do-i-recognize-faces-and-only-output-that-from-camera-capture/33964)

<div class="topic-metadata">

**Author:** [@badbatman](https://discourse.processing.org/u/badbatman)\
**Replies:** 2\
**Last updated:** [December 8, 2021, 1:08pm UTC](https://discourse.processing.org/t/how-do-i-recognize-faces-and-only-output-that-from-camera-capture/33964 "2021-12-08T13:08:08Z")

</div>

I would like to only output faces and not anything else from a camera capture. So basicly a zoom in on the face only. Does anyone know how to do it or where I should start? Thank you.

---

## [Where can I find XMLpro library/How to read XML data with Processing?](https://discourse.processing.org/t/where-can-i-find-xmlpro-library-how-to-read-xml-data-with-processing/33985)

<div class="topic-metadata">

**Author:** [@sebastian](https://discourse.processing.org/u/sebastian)\
**Replies:** 1\
**Last updated:** [December 8, 2021, 11:44am UTC](https://discourse.processing.org/t/where-can-i-find-xmlpro-library-how-to-read-xml-data-with-processing/33985 "2021-12-08T11:44:14Z")

</div>

please format code with \</\> button \* homework policy \* asking questions I’’m following this course on LinkedIn and in chapter 10.4 the topic is: Processing: Interactive Data Visualization. I can not find the proXML d…

---

## [How to upload a mp4 file in p5 and then set it as background](https://discourse.processing.org/t/how-to-upload-a-mp4-file-in-p5-and-then-set-it-as-background/33949)

<div class="topic-metadata">

**Author:** [@anjali](https://discourse.processing.org/u/anjali)\
**Replies:** 0\
**Last updated:** [December 6, 2021, 2:04am UTC](https://discourse.processing.org/t/how-to-upload-a-mp4-file-in-p5-and-then-set-it-as-background/33949 "2021-12-06T02:04:33Z")

</div>

how to upload a mp4 file in p5 and then set it as background

---

## [Is possible Shared drawing canvas between Processing (on MAC) and P5.js?](https://discourse.processing.org/t/is-possible-shared-drawing-canvas-between-processing-on-mac-and-p5-js/33909)

<div class="topic-metadata">

**Author:** [@Stefano](https://discourse.processing.org/u/Stefano)\
**Replies:** 0\
**Last updated:** [December 3, 2021, 10:16pm UTC](https://discourse.processing.org/t/is-possible-shared-drawing-canvas-between-processing-on-mac-and-p5-js/33909 "2021-12-03T22:16:10Z")

</div>

Hello everybody, I want do the example of the Network Library of Processing “Shared drawing canvas” using my MAC with the processing code as a server and my IPad with Processing.app (p5.js) as a client, how can this be…

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

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