# Libraries

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

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

**Page:** 7

---

## [Img.mask() doesn't always work when applied to Movie object](https://discourse.processing.org/t/img-mask-doesnt-always-work-when-applied-to-movie-object/44234)

<div class="topic-metadata">

**Author:** [@lucedan](https://discourse.processing.org/u/lucedan)\
**Replies:** 4\
**Last updated:** [April 5, 2024, 7:59am UTC](https://discourse.processing.org/t/img-mask-doesnt-always-work-when-applied-to-movie-object/44234 "2024-04-05T07:59:52Z")

</div>

Hello, I am trying to randomly extract parts of a playing video and display them at different draw() cycles. The code works for most cycles, but sometimes the mask() function looks like it is not applied to the image, …

---

## [G4P full screen issue with Java2D renderer](https://discourse.processing.org/t/g4p-full-screen-issue-with-java2d-renderer/44178)

<div class="topic-metadata">

**Author:** [@Norilla](https://discourse.processing.org/u/Norilla)\
**Replies:** 3\
**Last updated:** [March 30, 2024, 2:02pm UTC](https://discourse.processing.org/t/g4p-full-screen-issue-with-java2d-renderer/44178 "2024-03-30T14:02:47Z")

</div>

We are using G4P to create a second window. We were wondering if there is a way to make GWindow fullscreen using JAVA2D as the renderer . We have our code as below: window1 = GWindow.getWindow(this, "NoRILLA Template P…

---

## [Issue with Intel RealSense Camera and Processing "Failed to Set Power State"](https://discourse.processing.org/t/issue-with-intel-realsense-camera-and-processing-failed-to-set-power-state/39663)

<div class="topic-metadata">

**Author:** [@CaseyJ](https://discourse.processing.org/u/CaseyJ)\
**Replies:** 4\
**Last updated:** [March 20, 2024, 12:18pm UTC](https://discourse.processing.org/t/issue-with-intel-realsense-camera-and-processing-failed-to-set-power-state/39663 "2024-03-20T12:18:52Z")

</div>

IMHO the Intel RealSense D400 series cameras are the new Kinect. However, today, after unboxing the camera from last year, it no longer works… See screenshot. I see an error message after trying out the examples sketch…

---

## [Help with HTTP requests - POST](https://discourse.processing.org/t/help-with-http-requests-post/44119)

<div class="topic-metadata">

**Author:** [@chatNoir](https://discourse.processing.org/u/chatNoir)\
**Replies:** 3\
**Last updated:** [March 19, 2024, 1:25pm UTC](https://discourse.processing.org/t/help-with-http-requests-post/44119 "2024-03-19T13:25:40Z")

</div>

I need some help with rest api from Processing. I’m using HTTP Request for Processing library, but I can’t get addFile() to locate my image file. Image file is saved in data folder. Error message received: “I/O exceptio…

---

## [G4P elements missing mouse actions?](https://discourse.processing.org/t/g4p-elements-missing-mouse-actions/44028)

<div class="topic-metadata">

**Author:** [@matwolf](https://discourse.processing.org/u/matwolf)\
**Replies:** 10\
**Last updated:** [March 12, 2024, 10:49am UTC](https://discourse.processing.org/t/g4p-elements-missing-mouse-actions/44028 "2024-03-12T10:49:41Z")

</div>

Hi! It seems, mouse clicks are being missed quite often. In this trivial test 4 out of 10 clicks showed the yellow flash of the button when clicked, but the counter didn’t change. I can’t tell anything about other elem…

---

## [Using Minim to Deconstruct Waveform for Machine Troubleshooting](https://discourse.processing.org/t/using-minim-to-deconstruct-waveform-for-machine-troubleshooting/44041)

<div class="topic-metadata">

**Author:** [@soundzgud](https://discourse.processing.org/u/soundzgud)\
**Replies:** 2\
**Last updated:** [March 8, 2024, 8:07pm UTC](https://discourse.processing.org/t/using-minim-to-deconstruct-waveform-for-machine-troubleshooting/44041 "2024-03-08T20:07:27Z")

</div>

Hi, I’m new to this forum. Currently trying to characterize different sounds in a mechanical process for troubleshooting purposes. My current approach utilizes a combination of the example script offlineAnalysis in the …

---

## [G4P gui-builder caused trouble](https://discourse.processing.org/t/g4p-gui-builder-caused-trouble/44030)

<div class="topic-metadata">

**Author:** [@matwolf](https://discourse.processing.org/u/matwolf)\
**Replies:** 2\
**Last updated:** [March 5, 2024, 5:35pm UTC](https://discourse.processing.org/t/g4p-gui-builder-caused-trouble/44030 "2024-03-05T17:35:23Z")

</div>

Hi! This one might be serious: Right in the middle of the development of a project, the gui-builder “broke down”, meaning, it all of a sudden wasn’t any longer able to open the gui for design. The project itself continu…

---

## [G4P and perspective()](https://discourse.processing.org/t/g4p-and-perspective/44027)

<div class="topic-metadata">

**Author:** [@matwolf](https://discourse.processing.org/u/matwolf)\
**Replies:** 6\
**Last updated:** [March 5, 2024, 2:32pm UTC](https://discourse.processing.org/t/g4p-and-perspective/44027 "2024-03-05T14:32:25Z")

</div>

Hi! Recently I stumbled over G4P and I love it! Ta so much, Peter, for this fine library! Especially the gui-builder is a knock-out (and in my case it knocked out ControlP5, which, to the best of my knowledge, lacks a g…

---

## [Timestretching sound clips](https://discourse.processing.org/t/timestretching-sound-clips/44008)

<div class="topic-metadata">

**Author:** [@larsh](https://discourse.processing.org/u/larsh)\
**Replies:** 3\
**Last updated:** [March 1, 2024, 12:36pm UTC](https://discourse.processing.org/t/timestretching-sound-clips/44008 "2024-03-01T12:36:12Z")

</div>

Hi all, I’m quite new to Processing and coding in general. I am developing a sketch where I want the user to be able to play the same sound clip at various speeds without altering the pitch - I believe this is called “ti…

---

## [How to import processing4-video into a java project?](https://discourse.processing.org/t/how-to-import-processing4-video-into-a-java-project/44004)

<div class="topic-metadata">

**Author:** [@kflak](https://discourse.processing.org/u/kflak)\
**Replies:** 6\
**Last updated:** [February 29, 2024, 1:31pm UTC](https://discourse.processing.org/t/how-to-import-processing4-video-into-a-java-project/44004 "2024-02-29T13:31:19Z")

</div>

Hi, I’m trying to get processing working within the context of a java project. So far I’ve succesfully managed to pull in processing-core using maven, but I’m struggling with processing-video. I am a total noob when it …

---

## [Drag and dropping an image into a running sketch and reading its info](https://discourse.processing.org/t/drag-and-dropping-an-image-into-a-running-sketch-and-reading-its-info/43993)

<div class="topic-metadata">

**Author:** [@Sayoregg](https://discourse.processing.org/u/Sayoregg)\
**Replies:** 1\
**Last updated:** [February 26, 2024, 11:39am UTC](https://discourse.processing.org/t/drag-and-dropping-an-image-into-a-running-sketch-and-reading-its-info/43993 "2024-02-26T11:39:32Z")

</div>

I want to create a sketch where you can drag and drop an image into the window, which then sets the window size to that of the image and then draws the image in the center of the window. I already found how to dynamical…

---

## [Setting Pixels of a Webcam Capture](https://discourse.processing.org/t/setting-pixels-of-a-webcam-capture/43976)

<div class="topic-metadata">

**Author:** [@dswayne92](https://discourse.processing.org/u/dswayne92)\
**Replies:** 4\
**Last updated:** [February 23, 2024, 1:02pm UTC](https://discourse.processing.org/t/setting-pixels-of-a-webcam-capture/43976 "2024-02-23T13:02:29Z")

</div>

Hello everyone, I’m working on a ‘pixel mask’ sketch which would take a Capture camera input, compare the color of pixels to a tracked color (retrieved by mousePressed()), then ‘mask’ those pixels by setting their alpha…

---

## [JAR won't load in Processing 4.3 but did in 4.2](https://discourse.processing.org/t/jar-wont-load-in-processing-4-3-but-did-in-4-2/43973)

<div class="topic-metadata">

**Author:** [@Philip](https://discourse.processing.org/u/Philip)\
**Replies:** 6\
**Last updated:** [February 22, 2024, 6:49pm UTC](https://discourse.processing.org/t/jar-wont-load-in-processing-4-3-but-did-in-4-2/43973 "2024-02-22T18:49:34Z")

</div>

Hi, sketch works fine under 4.2 but with 4.3, I get “The package “javax.mail” does not exist. You might be missing a library.” javax.mail.jar still resides in code folder next to the sketch. Any ideas? Thanks, Philip …

---

## [G4P - how I can keep open a dropdown list?](https://discourse.processing.org/t/g4p-how-i-can-keep-open-a-dropdown-list/43947)

<div class="topic-metadata">

**Author:** [@qualidat](https://discourse.processing.org/u/qualidat)\
**Replies:** 1\
**Last updated:** [February 20, 2024, 9:56am UTC](https://discourse.processing.org/t/g4p-how-i-can-keep-open-a-dropdown-list/43947 "2024-02-20T09:56:15Z")

</div>

G4P does not contain a list box. The dropdownlist shows closest. But it is not nice to always open them first. Is there a trick to keep a dropdownlist open permanently? As a replacement for a list box …

---

## [Kinect for Processing. Unable on Windows 10!](https://discourse.processing.org/t/kinect-for-processing-unable-on-windows-10/43830)

<div class="topic-metadata">

**Author:** [@edugimeno](https://discourse.processing.org/u/edugimeno)\
**Replies:** 0\
**Last updated:** [February 4, 2024, 6:58pm UTC](https://discourse.processing.org/t/kinect-for-processing-unable-on-windows-10/43830 "2024-02-04T18:58:31Z")

</div>

Hi There! I had a program on Processing that I developed for a client 2 years ago. It was used to measure depth of a surface and show a scale of colors. Its using Kinect V1. It was running fine on an older computer (W …

---

## [Usb webcam " Internal data stream error"](https://discourse.processing.org/t/usb-webcam-internal-data-stream-error/39073)

<div class="topic-metadata">

**Author:** [@blippr](https://discourse.processing.org/u/blippr)\
**Replies:** 4\
**Last updated:** [January 28, 2024, 4:25pm UTC](https://discourse.processing.org/t/usb-webcam-internal-data-stream-error/39073 "2024-01-28T16:25:37Z")

</div>

Hi, I have trouble trying to get Processing to recognise usb webcams. This camera works in Quicktime and other apps like PureData on the same computer. What am I doing wrong? Processing console: Processing video libra…

---

## [Development setup](https://discourse.processing.org/t/development-setup/43657)

<div class="topic-metadata">

**Author:** [@faisu](https://discourse.processing.org/u/faisu)\
**Replies:** 1\
**Last updated:** [January 9, 2024, 1:49pm UTC](https://discourse.processing.org/t/development-setup/43657 "2024-01-09T13:49:04Z")

</div>

This the line where I am getting error in: It is in server/server.js line 32: “const MongoStore = connectMongo(session);” The error is TypeError: Class constructor MongoStore cannot be invoked without ‘new’

---

## [Shapes3D Change measurements of Box](https://discourse.processing.org/t/shapes3d-change-measurements-of-box/43631)

<div class="topic-metadata">

**Author:** [@SgtRoflol](https://discourse.processing.org/u/SgtRoflol)\
**Replies:** 1\
**Last updated:** [January 7, 2024, 11:26am UTC](https://discourse.processing.org/t/shapes3d-change-measurements-of-box/43631 "2024-01-07T11:26:52Z")

</div>

I am currently working on a visualisation, where I have several Box Objects from the Shapes3D library which I want to animate. I want to change the height of the Boxes over a period of time using the lerp() function spec…

---

## [How can I get my Processing Program to connect to the Steam Client and Give Achievements?](https://discourse.processing.org/t/how-can-i-get-my-processing-program-to-connect-to-the-steam-client-and-give-achievements/27574)

<div class="topic-metadata">

**Author:** [@CosmicCrowMC](https://discourse.processing.org/u/CosmicCrowMC)\
**Replies:** 1\
**Last updated:** [January 6, 2024, 9:29pm UTC](https://discourse.processing.org/t/how-can-i-get-my-processing-program-to-connect-to-the-steam-client-and-give-achievements/27574 "2024-01-06T21:29:00Z")

</div>

Hello there! This is a pretty big and highly-specific question, but I’m running out of ideas and definitely don’t have the computer science expertise to figure this out on my own, let alone understand what exactly I’m do…

---

## [STL export for 3D printing](https://discourse.processing.org/t/stl-export-for-3d-printing/43581)

<div class="topic-metadata">

**Author:** [@asymmetric](https://discourse.processing.org/u/asymmetric)\
**Replies:** 8\
**Last updated:** [January 2, 2024, 1:30am UTC](https://discourse.processing.org/t/stl-export-for-3d-printing/43581 "2024-01-02T01:30:51Z")

</div>

Happy Holidays, Processing Community! I have been making bump maps from images with processing.js for the past year and I was wondering if there is a way to translate that code so that it can export to an .STL file to 3…

---

## [Error in compile Processing file through polargraphcontroller](https://discourse.processing.org/t/error-in-compile-processing-file-through-polargraphcontroller/43472)

<div class="topic-metadata">

**Author:** [@freesheida1984](https://discourse.processing.org/u/freesheida1984)\
**Replies:** 5\
**Last updated:** [December 26, 2023, 12:51pm UTC](https://discourse.processing.org/t/error-in-compile-processing-file-through-polargraphcontroller/43472 "2023-12-26T12:51:50Z")

</div>

hi everyone, I want to run a processing code through polargraphcontroller but I got this error, what seems to be the problem? the code is n existed processing code in this polargraphcontroller but it is not working …

---

## [Moving and closing PApplets (Processing 4.2)](https://discourse.processing.org/t/moving-and-closing-papplets-processing-4-2/43547)

<div class="topic-metadata">

**Author:** [@Edenstudent](https://discourse.processing.org/u/Edenstudent)\
**Replies:** 7\
**Last updated:** [December 24, 2023, 6:52pm UTC](https://discourse.processing.org/t/moving-and-closing-papplets-processing-4-2/43547 "2023-12-24T18:52:05Z")

</div>

I have a program I am trying to make that requires opening multiple additional windows on the screen and using them, setting them up in specific locations, and closing them… The issue is that, although I’ve been trying …

---

## [Doubled lines with SVG export](https://discourse.processing.org/t/doubled-lines-with-svg-export/43539)

<div class="topic-metadata">

**Author:** [@okelk](https://discourse.processing.org/u/okelk)\
**Replies:** 5\
**Last updated:** [December 22, 2023, 10:08pm UTC](https://discourse.processing.org/t/doubled-lines-with-svg-export/43539 "2023-12-22T22:08:47Z")

</div>

Hi! I have a problem with exporting SVGs. The code underneath is a adaptation of the star example . I added SVG export but have the problem theat the resulting lines are doubled on top of each other. this might be in…

---

## [Is it possible to include a library in IDE Processing that is not in the repository?](https://discourse.processing.org/t/is-it-possible-to-include-a-library-in-ide-processing-that-is-not-in-the-repository/43497)

<div class="topic-metadata">

**Author:** [@sanja404](https://discourse.processing.org/u/sanja404)\
**Replies:** 1\
**Last updated:** [December 18, 2023, 8:19pm UTC](https://discourse.processing.org/t/is-it-possible-to-include-a-library-in-ide-processing-that-is-not-in-the-repository/43497 "2023-12-18T20:19:35Z")

</div>

For example, I need to access the JSON library. I didn’t find it in the repository import org.json.simple.JSONObject; import org.json.simple.parser.JSONParser; How can I contact her in another way?

---

## [Visualization tools](https://discourse.processing.org/t/visualization-tools/43485)

<div class="topic-metadata">

**Author:** [@kmll](https://discourse.processing.org/u/kmll)\
**Replies:** 6\
**Last updated:** [December 18, 2023, 4:36pm UTC](https://discourse.processing.org/t/visualization-tools/43485 "2023-12-18T16:36:17Z")

</div>

I am looking for some good libraries to use for data visualization. Any suggestion where I should start?

---

## [Wav file won't play](https://discourse.processing.org/t/wav-file-wont-play/43283)

<div class="topic-metadata">

**Author:** [@Vanish87](https://discourse.processing.org/u/Vanish87)\
**Replies:** 4\
**Last updated:** [December 9, 2023, 4:52pm UTC](https://discourse.processing.org/t/wav-file-wont-play/43283 "2023-12-09T16:52:20Z")

</div>

Processing suddenly won’t play a wav file that was working fine, here is some data on the matter: INFO: JSyn: default output latency set to 80 msec for Windows 11 javax.sound.sampled.LineUnavailableException: line with…

---

## [Clicking and dragging an image](https://discourse.processing.org/t/clicking-and-dragging-an-image/43403)

<div class="topic-metadata">

**Author:** [@lib](https://discourse.processing.org/u/lib)\
**Replies:** 4\
**Last updated:** [December 6, 2023, 1:01pm UTC](https://discourse.processing.org/t/clicking-and-dragging-an-image/43403 "2023-12-06T13:01:01Z")

</div>

So I have a lot of images set up that change slightly with a mouse press (it’s like a day to night party scene) and I have an image of a person I made that I want to be able to click and drag along one x-axis line… any h…

---

## [FX2D ignoring display settings (scale)](https://discourse.processing.org/t/fx2d-ignoring-display-settings-scale/43334)

<div class="topic-metadata">

**Author:** [@adrinalino](https://discourse.processing.org/u/adrinalino)\
**Replies:** 0\
**Last updated:** [November 28, 2023, 8:25am UTC](https://discourse.processing.org/t/fx2d-ignoring-display-settings-scale/43334 "2023-11-28T08:25:26Z")

</div>

The FX2D renderer has a clear speed advantage over P2D And I’d like to use it a lot. For readability I set the display scale (Windows) to 125%. This gets ignored by the renderer resulting in seeing only part of the full…

---

## [Themidibus - can't receive input](https://discourse.processing.org/t/themidibus-cant-receive-input/33512)

<div class="topic-metadata">

**Author:** [@Louwo](https://discourse.processing.org/u/Louwo)\
**Replies:** 5\
**Last updated:** [November 27, 2023, 1:29pm UTC](https://discourse.processing.org/t/themidibus-cant-receive-input/33512 "2023-11-27T13:29:05Z")

</div>

Hello everyone, I’m trying to connect my digital piano to processing, with the themidibus library. I have no problem for sending messages to my piano but I can’t receive any information from it. I used the example code …

---

## [3d Record Project by Amanda Ghassei](https://discourse.processing.org/t/3d-record-project-by-amanda-ghassei/43317)

<div class="topic-metadata">

**Author:** [@Kerem72](https://discourse.processing.org/u/Kerem72)\
**Replies:** 2\
**Last updated:** [November 26, 2023, 6:55pm UTC](https://discourse.processing.org/t/3d-record-project-by-amanda-ghassei/43317 "2023-11-26T18:55:19Z")

</div>

Hello all. I’m new to Processing and I’ll be glad if you help me with my problem. I use a pde program in order to convert text files to stl format for creating 3d vinyl records. However, I constantly get this error messa…

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

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