# Libraries

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

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

**Page:** 69

---

## [Airfoil has holes in it](https://discourse.processing.org/t/airfoil-has-holes-in-it/5420)

<div class="topic-metadata">

**Author:** [@HackinHarry](https://discourse.processing.org/u/HackinHarry)\
**Replies:** 10\
**Last updated:** [November 12, 2018, 9:39pm UTC](https://discourse.processing.org/t/airfoil-has-holes-in-it/5420 "2018-11-12T21:39:34Z")

</div>

I’m playing around with PixelFlow and the Wind Tunnel LIC example. I went to UUIC airfoil database and grabbed the coordinates for the Eppler 193 airfoil which is a good one for model airplanes. I wrote a little sketch…

---

## [GameControlPlus Joystick polling issue](https://discourse.processing.org/t/gamecontrolplus-joystick-polling-issue/5386)

<div class="topic-metadata">

**Author:** [@metype](https://discourse.processing.org/u/metype)\
**Replies:** 2\
**Last updated:** [November 12, 2018, 4:44pm UTC](https://discourse.processing.org/t/gamecontrolplus-joystick-polling-issue/5386 "2018-11-12T16:44:00Z")

</div>

So this isn’t an issue for most, but I’m trying to add support for both a joystick and a keyboard, I want a way to test if there is a joystick without showing the box if there isn’t one that matches the config file.

---

## [Width (0) and height (0) cannot be \<= 0](https://discourse.processing.org/t/width-0-and-height-0-cannot-be-0/5459)

<div class="topic-metadata">

**Author:** [@ProcessingSuzanne](https://discourse.processing.org/u/ProcessingSuzanne)\
**Replies:** 9\
**Last updated:** [November 12, 2018, 11:48am UTC](https://discourse.processing.org/t/width-0-and-height-0-cannot-be-0/5459 "2018-11-12T11:48:34Z")

</div>

I am working on a very simple BackgroundSubtraction code on processing. In the beginning everything was woking fine but now I get the “Width (0) and height (0) cannot be \<= 0” error every time I try to play the code. Her…

---

## [Problem with slitscan effect for pre-recorded video](https://discourse.processing.org/t/problem-with-slitscan-effect-for-pre-recorded-video/5456)

<div class="topic-metadata">

**Author:** [@KarlKlimpe](https://discourse.processing.org/u/KarlKlimpe)\
**Replies:** 4\
**Last updated:** [November 11, 2018, 11:04pm UTC](https://discourse.processing.org/t/problem-with-slitscan-effect-for-pre-recorded-video/5456 "2018-11-11T23:04:08Z")

</div>

Hello everyone I am trying do slitscan effects, but instead of sourcing the feed from a webcam i want to apply the effect on pre-recorded video. I run into some problems with the copy command. I can load the sketch, b…

---

## [Problems adding Papaya Library](https://discourse.processing.org/t/problems-adding-papaya-library/5372)

<div class="topic-metadata">

**Author:** [@Mick](https://discourse.processing.org/u/Mick)\
**Replies:** 2\
**Last updated:** [November 11, 2018, 6:21pm UTC](https://discourse.processing.org/t/problems-adding-papaya-library/5372 "2018-11-11T18:21:41Z")

</div>

Hi fellow programmers, I want to use statistics in my code and therefore I’m trying to add the Papaya library to Processing. I added the library to the library folder of processing, but for some reason it doesn’t work. …

---

## [How can i get and set a cookie from a web browser with client.write and client.read?](https://discourse.processing.org/t/how-can-i-get-and-set-a-cookie-from-a-web-browser-with-client-write-and-client-read/5443)

<div class="topic-metadata">

**Author:** [@Quix](https://discourse.processing.org/u/Quix)\
**Replies:** 1\
**Last updated:** [November 11, 2018, 5:24pm UTC](https://discourse.processing.org/t/how-can-i-get-and-set-a-cookie-from-a-web-browser-with-client-write-and-client-read/5443 "2018-11-11T17:24:06Z")

</div>

Hi i want to know if i can get a cookie from client.write and client.readstring? here is my code import processing.net.\*; import processing.video.\*; import java.io.File; Server myServer; int nb = 0; byte\[\] logo; void…

---

## [Graphica DateTimeStamp](https://discourse.processing.org/t/graphica-datetimestamp/5450)

<div class="topic-metadata">

**Author:** [@pacolux](https://discourse.processing.org/u/pacolux)\
**Replies:** 1\
**Last updated:** [November 11, 2018, 3:58pm UTC](https://discourse.processing.org/t/graphica-datetimestamp/5450 "2018-11-11T15:58:20Z")

</div>

Does anyone know if the Graphica library can have a datetimestamp as one of its axis? I see years being used in an example but cannot seem to find datetime used. Tia!

---

## [Toxiclibs + GPU (openGL) processing 3](https://discourse.processing.org/t/toxiclibs-gpu-opengl-processing-3/5378)

<div class="topic-metadata">

**Author:** [@bryan](https://discourse.processing.org/u/bryan)\
**Replies:** 14\
**Last updated:** [November 11, 2018, 2:32pm UTC](https://discourse.processing.org/t/toxiclibs-gpu-opengl-processing-3/5378 "2018-11-11T14:32:07Z")

</div>

Hi! Does anyone know how to create surfaces with toxiclibs using low level OpenGL functions? i’ve seen documentation but only for processing 2 or below, but can’t figure out how to make it work. with big surfaces the fr…

---

## [controlP5TextField+Keypressed event](https://discourse.processing.org/t/controlp5textfield-keypressed-event/5442)

<div class="topic-metadata">

**Author:** [@Gui](https://discourse.processing.org/u/Gui)\
**Replies:** 0\
**Last updated:** [November 11, 2018, 12:30pm UTC](https://discourse.processing.org/t/controlp5textfield-keypressed-event/5442 "2018-11-11T12:30:03Z")

</div>

Hey, so I’ve been having some problems with this: I want to have a box where I can write and the text appears while I write, so I used the TextField. The thing is, at the same time, when I press a key it’s supposed to ma…

---

## [Error in every ControlWindow function](https://discourse.processing.org/t/error-in-every-controlwindow-function/5398)

<div class="topic-metadata">

**Author:** [@sukh](https://discourse.processing.org/u/sukh)\
**Replies:** 3\
**Last updated:** [November 11, 2018, 11:20am UTC](https://discourse.processing.org/t/error-in-every-controlwindow-function/5398 "2018-11-11T11:20:32Z")

</div>

While running this line of code: controlWindow.hideCoordinates(); controlWindow.setTitle("Decoding Parameters"); It says: The function “hideCoordinates()” does not exist The function “setTitle(String)” does not exist

---

## [Problem with audio in a long video mp4 file](https://discourse.processing.org/t/problem-with-audio-in-a-long-video-mp4-file/5421)

<div class="topic-metadata">

**Author:** [@Treedom](https://discourse.processing.org/u/Treedom)\
**Replies:** 0\
**Last updated:** [November 11, 2018, 4:37am UTC](https://discourse.processing.org/t/problem-with-audio-in-a-long-video-mp4-file/5421 "2018-11-11T04:37:50Z")

</div>

The code below works with normally shorter MP4 files, however when I attempt to use the code for a very long MP4 of about 12 hours in length, the video plays without any problems however the audio does not play. I am new…

---

## [PixelFlow does not work](https://discourse.processing.org/t/pixelflow-does-not-work/5365)

<div class="topic-metadata">

**Author:** [@HackinHarry](https://discourse.processing.org/u/HackinHarry)\
**Replies:** 6\
**Last updated:** [November 10, 2018, 1:32am UTC](https://discourse.processing.org/t/pixelflow-does-not-work/5365 "2018-11-10T01:32:20Z")

</div>

It used to work before I reinstalled windows10 and updated Java about 2 months ago. When it did work, I was able to run the Wind Tunnel examples. I’m not sure if I ever tried it in Processing 2.2.1, but it does not wor…

---

## [Kinect v2 was working but installed zadig drivers and now won't run on any program](https://discourse.processing.org/t/kinect-v2-was-working-but-installed-zadig-drivers-and-now-wont-run-on-any-program/5749)

<div class="topic-metadata">

**Author:** [@moonspacedancer](https://discourse.processing.org/u/moonspacedancer)\
**Replies:** 0\
**Last updated:** [November 9, 2018, 8:00am UTC](https://discourse.processing.org/t/kinect-v2-was-working-but-installed-zadig-drivers-and-now-wont-run-on-any-program/5749 "2018-11-09T08:00:00Z")

</div>

I wanted to run a sketch I had for a v1 using openkinect library but it didnt work and everyone said install the driver on zadig. I did that and it still did not work, but gave no error. so I was like, hey I will just gi…

---

## [Path finder java pathfinder library processing](https://discourse.processing.org/t/path-finder-java-pathfinder-library-processing/2947)

<div class="topic-metadata">

**Author:** [@ctrembla](https://discourse.processing.org/u/ctrembla)\
**Replies:** 8\
**Last updated:** [November 8, 2018, 11:28pm UTC](https://discourse.processing.org/t/path-finder-java-pathfinder-library-processing/2947 "2018-11-08T23:28:59Z")

</div>

OK, so I’ve got where I the path goes from point a to b but idk how to make it avoid objects. I want to make a tower defense game where different maps appear & the enemy gotta find its way through or to the item it wants…

---

## [G4P can´t continue with saved work](https://discourse.processing.org/t/g4p-can-t-continue-with-saved-work/5267)

<div class="topic-metadata">

**Author:** [@Tomas](https://discourse.processing.org/u/Tomas)\
**Replies:** 16\
**Last updated:** [November 8, 2018, 6:12pm UTC](https://discourse.processing.org/t/g4p-can-t-continue-with-saved-work/5267 "2018-11-08T18:12:32Z")

</div>

Hello, I created a GUI with G4P tool, I saved it and after I opened it again I had the code in the GUI tab, but when I opened the G4P tool it overwrited the GUI tab to the default/blank template. How can I run the tool w…

---

## [Audio (amplitude) analysis](https://discourse.processing.org/t/audio-amplitude-analysis/5320)

<div class="topic-metadata">

**Author:** [@IdoPlumes](https://discourse.processing.org/u/IdoPlumes)\
**Replies:** 2\
**Last updated:** [November 8, 2018, 11:14am UTC](https://discourse.processing.org/t/audio-amplitude-analysis/5320 "2018-11-08T11:14:21Z")

</div>

Hi everyone :slight\_smile: So i am currently at the stage of having audio load and play when i run the code in my sketch, although i would like to then use the amplitude data to manipulate the graphics. However all the…

---

## [If you are using the g4p button, can not change the cursor?](https://discourse.processing.org/t/if-you-are-using-the-g4p-button-can-not-change-the-cursor/5080)

<div class="topic-metadata">

**Author:** [@seo](https://discourse.processing.org/u/seo)\
**Replies:** 3\
**Last updated:** [November 8, 2018, 4:15am UTC](https://discourse.processing.org/t/if-you-are-using-the-g4p-button-can-not-change-the-cursor/5080 "2018-11-08T04:15:43Z")

</div>

If you are using the g4p button, can not change the cursor? noCursor, coursor (HAND) … etc

---

## [Midibus in a seperate thread - Feedback loop detected](https://discourse.processing.org/t/midibus-in-a-seperate-thread-feedback-loop-detected/5126)

<div class="topic-metadata">

**Author:** [@fschober](https://discourse.processing.org/u/fschober)\
**Replies:** 4\
**Last updated:** [November 7, 2018, 4:40pm UTC](https://discourse.processing.org/t/midibus-in-a-seperate-thread-feedback-loop-detected/5126 "2018-11-07T16:40:16Z")

</div>

Dear forum members! I am just writing a patch to sonficate solar wind data i am rexeiving out of a txt file from a server. I have managed to get the data parsed and send it to an external program via midibus. Now i go…

---

## [How to increase sive wave with keypress rather than moving the mouse](https://discourse.processing.org/t/how-to-increase-sive-wave-with-keypress-rather-than-moving-the-mouse/5299)

<div class="topic-metadata">

**Author:** [@admbdr](https://discourse.processing.org/u/admbdr)\
**Replies:** 6\
**Last updated:** [November 7, 2018, 12:52pm UTC](https://discourse.processing.org/t/how-to-increase-sive-wave-with-keypress-rather-than-moving-the-mouse/5299 "2018-11-07T12:52:38Z")

</div>

import ddf.minim.; import ddf.minim.ugens.; Minim minim; AudioOutput out; Oscil wave; void setup() { size(512, 200, P3D); minim = new Minim(this); // use the getLineOut method of the Minim object to …

---

## [Quarks Shape3d - BezTube Editor Generating Wrong Code](https://discourse.processing.org/t/quarks-shape3d-beztube-editor-generating-wrong-code/4961)

<div class="topic-metadata">

**Author:** [@ZigZag](https://discourse.processing.org/u/ZigZag)\
**Replies:** 15\
**Last updated:** [November 6, 2018, 5:50pm UTC](https://discourse.processing.org/t/quarks-shape3d-beztube-editor-generating-wrong-code/4961 "2018-11-06T17:50:07Z")

</div>

Hello, I have been exploring the (excellent) Shapes3D library by Quark. I attempted to reply to a thread from a post on this same topic last year where this exact problem was discussed but keep getting kicked back to th…

---

## [ Playing video backwards (ogg file does not load)](https://discourse.processing.org/t/playing-video-backwards-ogg-file-does-not-load/5243)

<div class="topic-metadata">

**Author:** [@eda](https://discourse.processing.org/u/eda)\
**Replies:** 1\
**Last updated:** [November 6, 2018, 12:36pm UTC](https://discourse.processing.org/t/playing-video-backwards-ogg-file-does-not-load/5243 "2018-11-06T12:36:14Z")

</div>

Hello, I am trying to play a video backwards and forwards. As advised on the video library - speed (https://processing.org/reference/libraries/video/Movie\_speed\_.html ), I managed to convert the video from a mp4 to ogg f…

---

## [Referencing a variable of any data type](https://discourse.processing.org/t/referencing-a-variable-of-any-data-type/5213)

<div class="topic-metadata">

**Author:** [@Mchar7](https://discourse.processing.org/u/Mchar7)\
**Replies:** 4\
**Last updated:** [November 5, 2018, 5:19am UTC](https://discourse.processing.org/t/referencing-a-variable-of-any-data-type/5213 "2018-11-05T05:19:48Z")

</div>

So, I am trying to make a function that will display a certain picture OR play a video depending on whether the variable passed to the function as an argument is a picture (data type PImage) or a video (data type Movie).…

---

## [Refreshing a SoundFile](https://discourse.processing.org/t/refreshing-a-soundfile/5198)

<div class="topic-metadata">

**Author:** [@LapnLook](https://discourse.processing.org/u/LapnLook)\
**Replies:** 0\
**Last updated:** [November 4, 2018, 8:38pm UTC](https://discourse.processing.org/t/refreshing-a-soundfile/5198 "2018-11-04T20:38:41Z")

</div>

Hi I’m playing around with the sound library of Processing to create a very basic synthesizer of sorts. My sketch right now displays a few draggable sliders, using which the user can define a waveform. When the “t” key …

---

## [Playing video backwards (ogg file does not load)](https://discourse.processing.org/t/playing-video-backwards-ogg-file-does-not-load/5194)

<div class="topic-metadata">

**Author:** [@eda](https://discourse.processing.org/u/eda)\
**Replies:** 0\
**Last updated:** [November 4, 2018, 7:14pm UTC](https://discourse.processing.org/t/playing-video-backwards-ogg-file-does-not-load/5194 "2018-11-04T19:14:57Z")

</div>

Hello, I am trying to play a video backwards and forwards. As advised on the video library - speed (https://processing.org/reference/libraries/video/Movie\_speed\_.html), I managed to convert the video from a mp4 to ogg fi…

---

## [oscP5 TCPIP stop in client cant disconnect from server](https://discourse.processing.org/t/oscp5-tcpip-stop-in-client-cant-disconnect-from-server/5178)

<div class="topic-metadata">

**Author:** [@GeorgeJava](https://discourse.processing.org/u/GeorgeJava)\
**Replies:** 1\
**Last updated:** [November 4, 2018, 9:34am UTC](https://discourse.processing.org/t/oscp5-tcpip-stop-in-client-cant-disconnect-from-server/5178 "2018-11-04T09:34:38Z")

</div>

Hello, i want to stop and start new connection, but oscP5tcpClient.stop(); not working… Can i somehow disconnect from the server ? and create new connection ? CLIENT import oscP5.\*; OscP5 oscP5tcpClient; OscMessage m;…

---

## ["couldn't run the sketch" while using sound](https://discourse.processing.org/t/couldnt-run-the-sketch-while-using-sound/5106)

<div class="topic-metadata">

**Author:** [@meiyangjie](https://discourse.processing.org/u/meiyangjie)\
**Replies:** 1\
**Last updated:** [November 4, 2018, 4:40am UTC](https://discourse.processing.org/t/couldnt-run-the-sketch-while-using-sound/5106 "2018-11-04T04:40:14Z")

</div>

Hi, guys, when I want to use the sound to play a music, it comes to some problems and I don’t what to do. here is the problem.

---

## [Trouble pushing a box with another box, collision detection](https://discourse.processing.org/t/trouble-pushing-a-box-with-another-box-collision-detection/4551)

<div class="topic-metadata">

**Author:** [@ddownn](https://discourse.processing.org/u/ddownn)\
**Replies:** 9\
**Last updated:** [November 3, 2018, 3:11am UTC](https://discourse.processing.org/t/trouble-pushing-a-box-with-another-box-collision-detection/4551 "2018-11-03T03:11:00Z")

</div>

Hello. I have been trying to find a way to get a box to push another box from any of its sides. This seems to almost work, but it keeps failing for some reason. Pushing from the top and right seem to work better than the…

---

## [Drawing waveform into Wavetable from Minim](https://discourse.processing.org/t/drawing-waveform-into-wavetable-from-minim/5052)

<div class="topic-metadata">

**Author:** [@anon57009815](https://discourse.processing.org/u/anon57009815)\
**Replies:** 0\
**Last updated:** [October 31, 2018, 2:11pm UTC](https://discourse.processing.org/t/drawing-waveform-into-wavetable-from-minim/5052 "2018-10-31T14:11:51Z")

</div>

Hello and good afternoon! I am having some issues inserting this method into the wavetable examples in Minim library. I’d like to draw the waveform like pure data when plotting the waveform. Maybe with the mousePresse…

---

## [Minim Library NullPointerException upon loading file](https://discourse.processing.org/t/minim-library-nullpointerexception-upon-loading-file/5051)

<div class="topic-metadata">

**Author:** [@Marcus152](https://discourse.processing.org/u/Marcus152)\
**Replies:** 0\
**Last updated:** [October 31, 2018, 2:05pm UTC](https://discourse.processing.org/t/minim-library-nullpointerexception-upon-loading-file/5051 "2018-10-31T14:05:05Z")

</div>

Hi again, I seem to be having a problem with the minim library in Processing 3.0b5. I’ve properly loaded in my audio files, but when I start the game, it gives me this error in the syntax each time: ==== JavaSound Minim…

---

## [Button automatically clicked once at the beginning of the program](https://discourse.processing.org/t/button-automatically-clicked-once-at-the-beginning-of-the-program/4995)

<div class="topic-metadata">

**Author:** [@AllenLiu574](https://discourse.processing.org/u/AllenLiu574)\
**Replies:** 3\
**Last updated:** [October 30, 2018, 6:55pm UTC](https://discourse.processing.org/t/button-automatically-clicked-once-at-the-beginning-of-the-program/4995 "2018-10-30T18:55:04Z")

</div>

The following is part of the testing code I’m working on: I was trying to implement the button, and when it is clicked, it will print out the message “Button pressed”. I ran the program by clicking the run button on the…

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

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