# Libraries

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

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

**Page:** 16

---

## [Web cam capture Win 11 vs Mac OS](https://discourse.processing.org/t/web-cam-capture-win-11-vs-mac-os/33640)

<div class="topic-metadata">

**Author:** [@mario60](https://discourse.processing.org/u/mario60)\
**Replies:** 7\
**Last updated:** [September 29, 2022, 11:09am UTC](https://discourse.processing.org/t/web-cam-capture-win-11-vs-mac-os/33640 "2022-09-29T11:09:12Z")

</div>

Hi on a Win11 machine, to capture a web cam, it seems I need the following line of code: cam = new Capture(this, "pipeline:autovideosrc"); cam.start(); as the following one returns an error that there is not a …

---

## [Library suggestions for making text look nice](https://discourse.processing.org/t/library-suggestions-for-making-text-look-nice/39007)

<div class="topic-metadata">

**Author:** [@dorad](https://discourse.processing.org/u/dorad)\
**Replies:** 2\
**Last updated:** [September 29, 2022, 1:09am UTC](https://discourse.processing.org/t/library-suggestions-for-making-text-look-nice/39007 "2022-09-29T01:09:00Z")

</div>

I’m making a program that will have lots of images and text embedded, and I was wondering if there are any libraries anyone could suggest to make paragraphs of text display as nicely as possible. I know how to use text w…

---

## [G4P: how to prevent ESC-Key](https://discourse.processing.org/t/g4p-how-to-prevent-esc-key/3240)

<div class="topic-metadata">

**Author:** [@MxFxM](https://discourse.processing.org/u/MxFxM)\
**Replies:** 4\
**Last updated:** [September 28, 2022, 12:23am UTC](https://discourse.processing.org/t/g4p-how-to-prevent-esc-key/3240 "2022-09-28T00:23:55Z")

</div>

Hi, I recently discovered that you can stop the ESC-key from closing your program with this code: void keyPressed() { if (key == ESC) { key = 0; } } However when I open a second window with G4P this only works…

---

## [Cp5 library enables and disables textfields](https://discourse.processing.org/t/cp5-library-enables-and-disables-textfields/38979)

<div class="topic-metadata">

**Author:** [@maro](https://discourse.processing.org/u/maro)\
**Replies:** 6\
**Last updated:** [September 27, 2022, 3:45pm UTC](https://discourse.processing.org/t/cp5-library-enables-and-disables-textfields/38979 "2022-09-27T15:45:30Z")

</div>

I am trying to make a textfield with Cp5. I want the user to be able to edit the textfield, only when a button is pressed. If the button is unpressed the user cannot edit the textfield. Is there a method in Textfield th…

---

## [Issue with installing leap motion](https://discourse.processing.org/t/issue-with-installing-leap-motion/38921)

<div class="topic-metadata">

**Author:** [@ajaynischal](https://discourse.processing.org/u/ajaynischal)\
**Replies:** 1\
**Last updated:** [September 23, 2022, 10:05am UTC](https://discourse.processing.org/t/issue-with-installing-leap-motion/38921 "2022-09-23T10:05:58Z")

</div>

I am working on a project and need to install the leap motion libraries I did that and it shows up in contributed libraries however when I run basic code it gives me this error and I am not sure how to solve it. Please a…

---

## [Video library error on PC with non-default renderers](https://discourse.processing.org/t/video-library-error-on-pc-with-non-default-renderers/25333)

<div class="topic-metadata">

**Author:** [@chittyxz](https://discourse.processing.org/u/chittyxz)\
**Replies:** 6\
**Last updated:** [September 22, 2022, 4:40pm UTC](https://discourse.processing.org/t/video-library-error-on-pc-with-non-default-renderers/25333 "2022-09-22T16:40:29Z")

</div>

I wrote a sketch in Processing 3.5.4 that uses a collection of png and mp4 files as inputs, making use of the Video library for videos. On macOS, it runs perfectly. On Windows 10, however, it fails to load videos, either…

---

## [Kinect 2 for Processing](https://discourse.processing.org/t/kinect-2-for-processing/38776)

<div class="topic-metadata">

**Author:** [@madtolla](https://discourse.processing.org/u/madtolla)\
**Replies:** 5\
**Last updated:** [September 20, 2022, 7:28am UTC](https://discourse.processing.org/t/kinect-2-for-processing/38776 "2022-09-20T07:28:40Z")

</div>

hello, I got a bit error when running Kinect 2 with my processing here is the error message ‘ClassNotFoundException: KinectPV2.KinectPV2’ and here is the image of the error \*\*Note I tried every single example cod…

---

## [setWidth() and setHeight() of Textlabel in ControlP5 not working](https://discourse.processing.org/t/setwidth-and-setheight-of-textlabel-in-controlp5-not-working/38662)

<div class="topic-metadata">

**Author:** [@Ghostsss](https://discourse.processing.org/u/Ghostsss)\
**Replies:** 5\
**Last updated:** [September 20, 2022, 12:18am UTC](https://discourse.processing.org/t/setwidth-and-setheight-of-textlabel-in-controlp5-not-working/38662 "2022-09-20T00:18:17Z")

</div>

Hello. I am trying to change widh and height of Textlabel in ControlP5. But I am not being able to change it. Please Help. Here is the code from ControlP5 library example. I changed it a little bit. import controlP5.…

---

## [How can I save an OSC message inside a variable?](https://discourse.processing.org/t/how-can-i-save-an-osc-message-inside-a-variable/38723)

<div class="topic-metadata">

**Author:** [@JoeHut](https://discourse.processing.org/u/JoeHut)\
**Replies:** 1\
**Last updated:** [September 15, 2022, 4:31am UTC](https://discourse.processing.org/t/how-can-i-save-an-osc-message-inside-a-variable/38723 "2022-09-15T04:31:04Z")

</div>

Hi everyone! I’m quite new to processing, so please forgive me if there are any obvious/dumb mistakes here. I’m working on a sketch where I’m trying to have the webcam read a QR code via BoofCV and have oscP5 deliver t…

---

## [Using QR detection to send an osc message to Resolume Arena](https://discourse.processing.org/t/using-qr-detection-to-send-an-osc-message-to-resolume-arena/38708)

<div class="topic-metadata">

**Author:** [@JoeHut](https://discourse.processing.org/u/JoeHut)\
**Replies:** 0\
**Last updated:** [September 11, 2022, 8:26am UTC](https://discourse.processing.org/t/using-qr-detection-to-send-an-osc-message-to-resolume-arena/38708 "2022-09-11T08:26:52Z")

</div>

Hi everyone! Let me start saying that I’m a complete beginner, so I hope this is the right place to ask this question, but I’m (obviously) having some troubles with the code I’m trying to make work… What I’m trying to …

---

## [G4P trouble trying to hide a window when the operating system close button is pressed](https://discourse.processing.org/t/g4p-trouble-trying-to-hide-a-window-when-the-operating-system-close-button-is-pressed/9209)

<div class="topic-metadata">

**Author:** [@graysonh](https://discourse.processing.org/u/graysonh)\
**Replies:** 6\
**Last updated:** [September 10, 2022, 8:57am UTC](https://discourse.processing.org/t/g4p-trouble-trying-to-hide-a-window-when-the-operating-system-close-button-is-pressed/9209 "2022-09-10T08:57:27Z")

</div>

First off, thank you @quark for the great libraries and gui building tools. They have been really helpful recently! I am working on a project that involves several windows, all of which I need to be reusable while the p…

---

## [Java / SpringBoot / Processing - How to launch a PApplet within a Spring Boot application?](https://discourse.processing.org/t/java-springboot-processing-how-to-launch-a-papplet-within-a-spring-boot-application/38688)

<div class="topic-metadata">

**Author:** [@MrJenkins](https://discourse.processing.org/u/MrJenkins)\
**Replies:** 0\
**Last updated:** [September 9, 2022, 10:36am UTC](https://discourse.processing.org/t/java-springboot-processing-how-to-launch-a-papplet-within-a-spring-boot-application/38688 "2022-09-09T10:36:40Z")

</div>

Hi, I’m building a web application in Java, with Spring Boot, including Processing (4) as a library. I’m using Intellij IDEA. I have posted this question on StackOverflow as well: Click I’m stuck with the integration o…

---

## [How to convert a PGraphic into a PImage?](https://discourse.processing.org/t/how-to-convert-a-pgraphic-into-a-pimage/38655)

<div class="topic-metadata">

**Author:** [@michele\_rinaldi](https://discourse.processing.org/u/michele_rinaldi)\
**Replies:** 2\
**Last updated:** [September 7, 2022, 9:37am UTC](https://discourse.processing.org/t/how-to-convert-a-pgraphic-into-a-pimage/38655 "2022-09-07T09:37:07Z")

</div>

Hello, I need to convert a PGraphics into a Pimage in the same script. I tried using the following command, where pg is the elaborate graphics, but it didn’t work: PImage img = pg.get (); Any suggestions? Thanks in …

---

## [Press a key to play a new video over an existing video](https://discourse.processing.org/t/press-a-key-to-play-a-new-video-over-an-existing-video/38646)

<div class="topic-metadata">

**Author:** [@nitrocaphane](https://discourse.processing.org/u/nitrocaphane)\
**Replies:** 2\
**Last updated:** [September 5, 2022, 6:11pm UTC](https://discourse.processing.org/t/press-a-key-to-play-a-new-video-over-an-existing-video/38646 "2022-09-05T18:11:53Z")

</div>

Hi, total newbie here. I’m creating a \[mouth closed / mouth open\] prototype that eventually would be triggered by an infrared (IR) sensor on a Raspberry Pi. mouth0 = mouth closed mouth1 = mouth open It should play mou…

---

## [How to install library without IDE](https://discourse.processing.org/t/how-to-install-library-without-ide/38638)

<div class="topic-metadata">

**Author:** [@superumam](https://discourse.processing.org/u/superumam)\
**Replies:** 5\
**Last updated:** [September 4, 2022, 10:25pm UTC](https://discourse.processing.org/t/how-to-install-library-without-ide/38638 "2022-09-04T22:25:35Z")

</div>

Hello, everyone. I already tried some processing tests on ubuntu OS on my PC, but I installed processing-sound library with IDE. I need to install and use this library on AWS EC2 without IDE GUI. How can I do this m…

---

## [Processing 4 + OpenKinect](https://discourse.processing.org/t/processing-4-openkinect/32781)

<div class="topic-metadata">

**Author:** [@dkessner](https://discourse.processing.org/u/dkessner)\
**Replies:** 11\
**Last updated:** [September 3, 2022, 9:50pm UTC](https://discourse.processing.org/t/processing-4-openkinect/32781 "2022-09-03T21:50:39Z")

</div>

Hello Processing folks! I ran into an error running the Open Kinect examples with Processing 4 (on Mac): NoClassDefFoundError: /com/sun/jna/Library. The issue seems to be with jna.jar. The Java/Contents folder has jna…

---

## [Multitouch screen handling in Processing 4](https://discourse.processing.org/t/multitouch-screen-handling-in-processing-4/38331)

<div class="topic-metadata">

**Author:** [@KickMe](https://discourse.processing.org/u/KickMe)\
**Replies:** 5\
**Last updated:** [September 2, 2022, 5:27pm UTC](https://discourse.processing.org/t/multitouch-screen-handling-in-processing-4/38331 "2022-09-02T17:27:48Z")

</div>

Hi, I’m trying to make multitouch work in Processing 4. Onece upon a time in Processing 2, there was a library which seemed to to just that : SMT for Simple Multi Touch. Unfortunately, Processing 3 dropped the support …

---

## [How to get array from append array](https://discourse.processing.org/t/how-to-get-array-from-append-array/38580)

<div class="topic-metadata">

**Author:** [@RNWA](https://discourse.processing.org/u/RNWA)\
**Replies:** 0\
**Last updated:** [August 31, 2022, 8:14am UTC](https://discourse.processing.org/t/how-to-get-array-from-append-array/38580 "2022-08-31T08:14:07Z")

</div>

import de.bezier.data.sql.\*; String dbHost = "localhost"; // if you are using a using a local database, this should be fine String dbPort = "3306"; // replace with database port, MAMP standard is 8889 String dbUser = "r…

---

## [Among the uibooster library examples, it is related to 'table'. Is it possible to change?](https://discourse.processing.org/t/among-the-uibooster-library-examples-it-is-related-to-table-is-it-possible-to-change/38553)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 4\
**Last updated:** [August 30, 2022, 11:02pm UTC](https://discourse.processing.org/t/among-the-uibooster-library-examples-it-is-related-to-table-is-it-possible-to-change/38553 "2022-08-30T23:02:58Z")

</div>

Among the uibooster library examples, it is related to ‘table’. Is it possible to change? Please refer to the image. source code import uibooster.\*; UiBooster booster; void setup() { size(800, 400); booster =…

---

## [\[UDP Library\] Can you tell if 'udp.send' is successful?](https://discourse.processing.org/t/udp-library-can-you-tell-if-udp-send-is-successful/38554)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 1\
**Last updated:** [August 30, 2022, 5:27am UTC](https://discourse.processing.org/t/udp-library-can-you-tell-if-udp-send-is-successful/38554 "2022-08-30T05:27:30Z")

</div>

'import hypermedia.net.\*; ’ library import hypermedia.net.\*; UDP udp; void setup() { size(300,300); udp = new UDP( this, 12001 ); udp.listen( true ); String message = "test"; String ip = "92.168…

---

## [Unable to build tool for Processing 4.0.1](https://discourse.processing.org/t/unable-to-build-tool-for-processing-4-0-1/38539)

<div class="topic-metadata">

**Author:** [@quark](https://discourse.processing.org/u/quark)\
**Replies:** 0\
**Last updated:** [August 29, 2022, 11:44am UTC](https://discourse.processing.org/t/unable-to-build-tool-for-processing-4-0-1/38539 "2022-08-29T11:44:20Z")

</div>

I am trying to build GUI Builder for Processing 4.0.1 using Eclipse. With PS v3 this has never been a problem but now the pde is compiled to Java 11 (major version 55) so I get import processing.app.Base; \[javac\] …

---

## [Make an ASCII Video](https://discourse.processing.org/t/make-an-ascii-video/38507)

<div class="topic-metadata">

**Author:** [@Roklair](https://discourse.processing.org/u/Roklair)\
**Replies:** 2\
**Last updated:** [August 28, 2022, 7:31am UTC](https://discourse.processing.org/t/make-an-ascii-video/38507 "2022-08-28T07:31:05Z")

</div>

Hello everyone. Recently I got interested in ASCII art, I could see that there was an example created by Ben Fry in the Processing library. My problem is that I want to use this code but with an imported video and not …

---

## [How to change FrameRate](https://discourse.processing.org/t/how-to-change-framerate/38455)

<div class="topic-metadata">

**Author:** [@aladin](https://discourse.processing.org/u/aladin)\
**Replies:** 4\
**Last updated:** [August 26, 2022, 11:03am UTC](https://discourse.processing.org/t/how-to-change-framerate/38455 "2022-08-26T11:03:33Z")

</div>

I am trying to set FrameRate using the framerate() function but it is not working, the actual framerate while running the code ranges between 1.8 - 4 fps , here is my setup code: void setup (){ System.out.println("dis…

---

## [How to make gradient color in controlP5](https://discourse.processing.org/t/how-to-make-gradient-color-in-controlp5/15539)

<div class="topic-metadata">

**Author:** [@yty](https://discourse.processing.org/u/yty)\
**Replies:** 7\
**Last updated:** [August 23, 2022, 1:01am UTC](https://discourse.processing.org/t/how-to-make-gradient-color-in-controlp5/15539 "2022-08-23T01:01:06Z")

</div>

Hello, I’m fairly new to processing therefore I have some issues with my program. I have made a slider using the cp5 library in Processing. However, I have some issues when it comes to changing the color to a gradient…

---

## [Processing camera](https://discourse.processing.org/t/processing-camera/38415)

<div class="topic-metadata">

**Author:** [@madtolla](https://discourse.processing.org/u/madtolla)\
**Replies:** 7\
**Last updated:** [August 21, 2022, 9:36am UTC](https://discourse.processing.org/t/processing-camera/38415 "2022-08-21T09:36:13Z")

</div>

Hello guys I’m trying to run the code below for 2 days to open the camera by using processing and literally tried every single method but I didn’t solve it, plz need your help import processing.video.\*; Capture video; …

---

## [Network module help](https://discourse.processing.org/t/network-module-help/38368)

<div class="topic-metadata">

**Author:** [@Broadcaster](https://discourse.processing.org/u/Broadcaster)\
**Replies:** 5\
**Last updated:** [August 17, 2022, 9:03pm UTC](https://discourse.processing.org/t/network-module-help/38368 "2022-08-17T21:03:29Z")

</div>

Hi! I know this is vage but i have problems using network to get a pastebin post. I tried this: import processing.net.\*; Client myClient; int dataIn; void setup() { size(200, 200); myClient = new Client(this…

---

## [Image Change with Microphone in Image Processing](https://discourse.processing.org/t/image-change-with-microphone-in-image-processing/38387)

<div class="topic-metadata">

**Author:** [@searchingforananswer](https://discourse.processing.org/u/searchingforananswer)\
**Replies:** 0\
**Last updated:** [August 16, 2022, 6:33pm UTC](https://discourse.processing.org/t/image-change-with-microphone-in-image-processing/38387 "2022-08-16T18:33:02Z")

</div>

Hello, I want to change the image already in the code below with another one I have depend on microphone. How can I do this? /\*\* \* Extrusion. \* \* Converts a flat image into spatial data points and rotates the poin…

---

## [Rasterize Image/ Flowfield with Noise values from image Two --- the answer](https://discourse.processing.org/t/rasterize-image-flowfield-with-noise-values-from-image-two-the-answer/38316)

<div class="topic-metadata">

**Author:** [@f42ter](https://discourse.processing.org/u/f42ter)\
**Replies:** 1\
**Last updated:** [August 15, 2022, 4:38pm UTC](https://discourse.processing.org/t/rasterize-image-flowfield-with-noise-values-from-image-two-the-answer/38316 "2022-08-15T16:38:55Z")

</div>

Here is an other solution https://discourse.processing.org/t/rasterize-image-flowfield-with-noise-values-from-image/38176/4 This is for a single video (noLoop) or a video stream. Will be simple to adopt it for pictures…

---

## [Slight pause when reversing video playback speed](https://discourse.processing.org/t/slight-pause-when-reversing-video-playback-speed/38325)

<div class="topic-metadata">

**Author:** [@sm0ldata](https://discourse.processing.org/u/sm0ldata)\
**Replies:** 0\
**Last updated:** [August 12, 2022, 2:28pm UTC](https://discourse.processing.org/t/slight-pause-when-reversing-video-playback-speed/38325 "2022-08-12T14:28:59Z")

</div>

Hi all – I’m working on a project that requrires looping certain portions of a video by sort of scrubbing backwards and forwards over the same portion – i.e. play the video from 00:37 to 00:48, then reverse the speed so …

---

## [Minim library, trying to synchronize waveforms](https://discourse.processing.org/t/minim-library-trying-to-synchronize-waveforms/38318)

<div class="topic-metadata">

**Author:** [@misterbo](https://discourse.processing.org/u/misterbo)\
**Replies:** 0\
**Last updated:** [August 11, 2022, 11:54pm UTC](https://discourse.processing.org/t/minim-library-trying-to-synchronize-waveforms/38318 "2022-08-11T23:54:15Z")

</div>

Hi everyone, I want to create a synth that constantly changes the waveform for a new one each draw() call. The problem is that the waveform will change whenever the array is filled with new values, so there will be a cra…

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

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