# Libraries

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

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

**Page:** 72

---

## [Problem with Control P5 font](https://discourse.processing.org/t/problem-with-control-p5-font/3717)

<div class="topic-metadata">

**Author:** [@239ahmf](https://discourse.processing.org/u/239ahmf)\
**Replies:** 8\
**Last updated:** [September 28, 2018, 10:21pm UTC](https://discourse.processing.org/t/problem-with-control-p5-font/3717 "2018-09-28T22:21:31Z")

</div>

Hi there! Im new to processing and I have been trying to run a model however I seem to have run into this problem Is there any solution to this problem? When I first tried to run the model it gave the following errors…

---

## [createShape() and lerp()](https://discourse.processing.org/t/createshape-and-lerp/3392)

<div class="topic-metadata">

**Author:** [@BrokenCode](https://discourse.processing.org/u/BrokenCode)\
**Replies:** 23\
**Last updated:** [September 28, 2018, 5:50pm UTC](https://discourse.processing.org/t/createshape-and-lerp/3392 "2018-09-28T17:50:46Z")

</div>

Hello everyone, from the last topic, I think it’s time to open a new one, because the argument of it it’s totally changed, so, here’s a over simplified code: int points = 3; ArrayList\<PVector\> olPosition; ArrayList\<PVe…

---

## [How to download the video library manually](https://discourse.processing.org/t/how-to-download-the-video-library-manually/3905)

<div class="topic-metadata">

**Author:** [@TomB](https://discourse.processing.org/u/TomB)\
**Replies:** 6\
**Last updated:** [September 27, 2018, 7:43pm UTC](https://discourse.processing.org/t/how-to-download-the-video-library-manually/3905 "2018-09-27T19:43:24Z")

</div>

I can’t install the processing-video library via the Contribution Manager. How would I go about installing manually? I can’t find an URL for download. The GitHub repository doesn’t seem to contain the install.

---

## [Box2D library installation error](https://discourse.processing.org/t/box2d-library-installation-error/3886)

<div class="topic-metadata">

**Author:** [@apac](https://discourse.processing.org/u/apac)\
**Replies:** 6\
**Last updated:** [September 27, 2018, 6:56am UTC](https://discourse.processing.org/t/box2d-library-installation-error/3886 "2018-09-27T06:56:26Z")

</div>

I have used Box2D examples from Nature of Code before. However, when I tried to run an example today, I got these errors: No library found for shiffman.box2d No library found for org.jbox2d.collision.shapes No library…

---

## [Shift camera in live](https://discourse.processing.org/t/shift-camera-in-live/3876)

<div class="topic-metadata">

**Author:** [@Hoshi](https://discourse.processing.org/u/Hoshi)\
**Replies:** 2\
**Last updated:** [September 27, 2018, 12:50am UTC](https://discourse.processing.org/t/shift-camera-in-live/3876 "2018-09-27T00:50:26Z")

</div>

Hello ! I’m a french student in art, and i’m trying to program the shift diffusion of a video captured by a webcam in live. I don’t know how to do, how to program this. Thanks for your help!

---

## [How can I get center point of each a bunch of red points](https://discourse.processing.org/t/how-can-i-get-center-point-of-each-a-bunch-of-red-points/3823)

<div class="topic-metadata">

**Author:** [@leereset](https://discourse.processing.org/u/leereset)\
**Replies:** 5\
**Last updated:** [September 25, 2018, 8:28pm UTC](https://discourse.processing.org/t/how-can-i-get-center-point-of-each-a-bunch-of-red-points/3823 "2018-09-25T20:28:23Z")

</div>

Hi I’m using processing to make some good project. explanation of project: Detect hand based on depth and draw the circle on each hand. Progress: I can find center but there’s issue. If two bunch of pixels exist, i…

---

## [Stereo output w. Minim](https://discourse.processing.org/t/stereo-output-w-minim/3837)

<div class="topic-metadata">

**Author:** [@jeppius](https://discourse.processing.org/u/jeppius)\
**Replies:** 0\
**Last updated:** [September 25, 2018, 6:12pm UTC](https://discourse.processing.org/t/stereo-output-w-minim/3837 "2018-09-25T18:12:53Z")

</div>

Hi, what would be the general approach to send audio independently to either the Right or the Left channel of an AudioOutput object?

---

## [Feedback on my code](https://discourse.processing.org/t/feedback-on-my-code/3764)

<div class="topic-metadata">

**Author:** [@jonaspower](https://discourse.processing.org/u/jonaspower)\
**Replies:** 7\
**Last updated:** [September 25, 2018, 5:35pm UTC](https://discourse.processing.org/t/feedback-on-my-code/3764 "2018-09-25T17:35:16Z")

</div>

Hi im new to processing and i have made this program (Its a timer/alarm) here is the code (probably doesnt work because of the sound thing but to make it work remember to have the sound and put a file next to the code c…

---

## [\[SOLVED\] \[Cp5\] Do something as textfield loses focus](https://discourse.processing.org/t/solved-cp5-do-something-as-textfield-loses-focus/3757)

<div class="topic-metadata">

**Author:** [@delsey](https://discourse.processing.org/u/delsey)\
**Replies:** 3\
**Last updated:** [September 25, 2018, 5:11pm UTC](https://discourse.processing.org/t/solved-cp5-do-something-as-textfield-loses-focus/3757 "2018-09-25T17:11:22Z")

</div>

I would like to check the value of cp5 textfields as soon as they lose focus. The only thing I found regarding this, it that textfields have an .isFocus() method, but I cant think of a smart way to utilize this. You wou…

---

## [The Somewhat Possible Game by Kristoffer Pauly](https://discourse.processing.org/t/the-somewhat-possible-game-by-kristoffer-pauly/3739)

<div class="topic-metadata">

**Author:** [@tefa](https://discourse.processing.org/u/tefa)\
**Replies:** 3\
**Last updated:** [September 25, 2018, 2:42am UTC](https://discourse.processing.org/t/the-somewhat-possible-game-by-kristoffer-pauly/3739 "2018-09-25T02:42:08Z")

</div>

Hello Dear Processors, I found an awesome game I want to learn from https://www.dropbox.com/s/6yvuv1i84u41j0m/The\_Somewhat\_Possible\_Game.zip?dl=0 but it is throwing an ArrayIndexOutOfBoundsException: 3 error and highligh…

---

## [How to use the Processing XML class in other Java Editors?](https://discourse.processing.org/t/how-to-use-the-processing-xml-class-in-other-java-editors/3700)

<div class="topic-metadata">

**Author:** [@Paul94](https://discourse.processing.org/u/Paul94)\
**Replies:** 3\
**Last updated:** [September 24, 2018, 1:28pm UTC](https://discourse.processing.org/t/how-to-use-the-processing-xml-class-in-other-java-editors/3700 "2018-09-24T13:28:48Z")

</div>

Hello, I want to use the XML class in BlueJ but it doesn’t work. I have tried several others like PFont for example which does work. As I found out the class XML is part of the core library.

---

## [Playing videos frame by frame](https://discourse.processing.org/t/playing-videos-frame-by-frame/2900)

<div class="topic-metadata">

**Author:** [@grumo](https://discourse.processing.org/u/grumo)\
**Replies:** 4\
**Last updated:** [September 24, 2018, 2:25am UTC](https://discourse.processing.org/t/playing-videos-frame-by-frame/2900 "2018-09-24T02:25:45Z")

</div>

I found a few posts in older forums but I can’t find a definitive answer. I have multiple videos in a collage. I want to save the frame of the whole composition to render it in a sequence of PNGs. The thing is: I can’t…

---

## [Focus on item from ArrayList in zty.pe like game](https://discourse.processing.org/t/focus-on-item-from-arraylist-in-zty-pe-like-game/3522)

<div class="topic-metadata">

**Author:** [@Pyrros](https://discourse.processing.org/u/Pyrros)\
**Replies:** 14\
**Last updated:** [September 22, 2018, 10:52pm UTC](https://discourse.processing.org/t/focus-on-item-from-arraylist-in-zty-pe-like-game/3522 "2018-09-22T22:52:21Z")

</div>

I am in the process of making a zty.pe game, and I have defined classes for own ship, enemies (those meant to be shot with words) as well as a projectile which own ship fires. The Enemy-class item has a string assigned w…

---

## [How to use a variable name that's stored inside the variable? Reflection?](https://discourse.processing.org/t/how-to-use-a-variable-name-thats-stored-inside-the-variable-reflection/3730)

<div class="topic-metadata">

**Author:** [@Luka](https://discourse.processing.org/u/Luka)\
**Replies:** 7\
**Last updated:** [September 22, 2018, 5:12pm UTC](https://discourse.processing.org/t/how-to-use-a-variable-name-thats-stored-inside-the-variable-reflection/3730 "2018-09-22T17:12:26Z")

</div>

I’m trying to control a sketch through OSC from another application (SuperCollider). I want to be able to pass control data (integers) to various variables in the sketch by naming them in the OSC message. For example I …

---

## [Clearing an ArrayList](https://discourse.processing.org/t/clearing-an-arraylist/3697)

<div class="topic-metadata">

**Author:** [@eduzal](https://discourse.processing.org/u/eduzal)\
**Replies:** 12\
**Last updated:** [September 21, 2018, 1:25am UTC](https://discourse.processing.org/t/clearing-an-arraylist/3697 "2018-09-21T01:25:25Z")

</div>

I’ve around this issue a few times. I have a particle system that contains an ArrayList of particles. I use a separate window for the interface programmed using Control P5. usually my particle system lies under a boolea…

---

## [Setting all drum machine buttons to 0 with Minim Library](https://discourse.processing.org/t/setting-all-drum-machine-buttons-to-0-with-minim-library/3516)

<div class="topic-metadata">

**Author:** [@anon57009815](https://discourse.processing.org/u/anon57009815)\
**Replies:** 19\
**Last updated:** [September 20, 2018, 6:52pm UTC](https://discourse.processing.org/t/setting-all-drum-machine-buttons-to-0-with-minim-library/3516 "2018-09-20T18:52:51Z")

</div>

Hello everyone! I am using Processing Audio Library Minim and the example -\> Drum Machine I can post the code here, but it is an example of the library so I dont think its needed :stuck\_out\_tongue: Well, I am trying t…

---

## [Display Console in Text?](https://discourse.processing.org/t/display-console-in-text/3612)

<div class="topic-metadata">

**Author:** [@bardiel13th](https://discourse.processing.org/u/bardiel13th)\
**Replies:** 5\
**Last updated:** [September 18, 2018, 3:58pm UTC](https://discourse.processing.org/t/display-console-in-text/3612 "2018-09-18T15:58:43Z")

</div>

Hi, I’m trying to display the console in my application within a textarea (from controlp5, but this question applies even without the library) in my application, so I can monitor my application’s console after it is pack…

---

## [How to capture live video online in (https://www.openprocessing.org/)](https://discourse.processing.org/t/how-to-capture-live-video-online-in-https-www-openprocessing-org/3623)

<div class="topic-metadata">

**Author:** [@diaaahmed](https://discourse.processing.org/u/diaaahmed)\
**Replies:** 2\
**Last updated:** [September 18, 2018, 1:19pm UTC](https://discourse.processing.org/t/how-to-capture-live-video-online-in-https-www-openprocessing-org/3623 "2018-09-18T13:19:48Z")

</div>

https://www.openprocessing.org/ Dear all, I am trying to capture a live video online by writing codes in openprocessing. Although the code work well in processing itself, it does not work in openprocessing and the mess…

---

## [Minim setting volume of an audioPlayer](https://discourse.processing.org/t/minim-setting-volume-of-an-audioplayer/3596)

<div class="topic-metadata">

**Author:** [@colin](https://discourse.processing.org/u/colin)\
**Replies:** 5\
**Last updated:** [September 18, 2018, 1:16am UTC](https://discourse.processing.org/t/minim-setting-volume-of-an-audioplayer/3596 "2018-09-18T01:16:43Z")

</div>

Hi, Quick question It’s been a long time I didn’t use sound with processing. I wanted to play a file and setting his volume, and I discovered the Sound libraries aren’t working with windows anymore. So I decided to go …

---

## [How to restrict how far an object can decrease size?](https://discourse.processing.org/t/how-to-restrict-how-far-an-object-can-decrease-size/3600)

<div class="topic-metadata">

**Author:** [@MartinM](https://discourse.processing.org/u/MartinM)\
**Replies:** 4\
**Last updated:** [September 17, 2018, 5:31pm UTC](https://discourse.processing.org/t/how-to-restrict-how-far-an-object-can-decrease-size/3600 "2018-09-17T17:31:16Z")

</div>

I currently have a rectangle shrinking its size upon impact with a ball, is there any way I can make sure that once it shrinks to a certain size it stops shrinking and just remains that size? void paddle(PVector pad){; …

---

## [Sound Code in void draw makes me problem](https://discourse.processing.org/t/sound-code-in-void-draw-makes-me-problem/3538)

<div class="topic-metadata">

**Author:** [@TheKillerHD](https://discourse.processing.org/u/TheKillerHD)\
**Replies:** 18\
**Last updated:** [September 16, 2018, 8:23am UTC](https://discourse.processing.org/t/sound-code-in-void-draw-makes-me-problem/3538 "2018-09-16T08:23:58Z")

</div>

I want the sound to be played when the ball touches the player. At the moment I have the sound in void draw and that makes me problems because messages appear in the console and then the game blocks. Can I somehow write…

---

## [Neural style transfer in processing](https://discourse.processing.org/t/neural-style-transfer-in-processing/3497)

<div class="topic-metadata">

**Author:** [@molo32](https://discourse.processing.org/u/molo32)\
**Replies:** 2\
**Last updated:** [September 15, 2018, 12:23am UTC](https://discourse.processing.org/t/neural-style-transfer-in-processing/3497 "2018-09-15T00:23:43Z")

</div>

Does anyone know if it can be done in processing or are there similar examples?

---

## [Adding a function to the "Processing Animation Thread"](https://discourse.processing.org/t/adding-a-function-to-the-processing-animation-thread/3429)

<div class="topic-metadata">

**Author:** [@aframires](https://discourse.processing.org/u/aframires)\
**Replies:** 6\
**Last updated:** [September 13, 2018, 2:23pm UTC](https://discourse.processing.org/t/adding-a-function-to-the-processing-animation-thread/3429 "2018-09-13T14:23:27Z")

</div>

Hello everyone. I have a question regarding adding a function to be ran in the Processing Animation Thread or, in other words, to be ran after draw() in a similar fashion as the keyPressed() and mousePressed() function. …

---

## [Sound library update not working](https://discourse.processing.org/t/sound-library-update-not-working/3473)

<div class="topic-metadata">

**Author:** [@RockyHawk](https://discourse.processing.org/u/RockyHawk)\
**Replies:** 6\
**Last updated:** [September 13, 2018, 1:06pm UTC](https://discourse.processing.org/t/sound-library-update-not-working/3473 "2018-09-13T13:06:32Z")

</div>

So processing was working with my code perfectly before this sound library update (2.0.1). When the code gets to this section (it’s just the first one there so that’s probably why it does the specific section): menus = …

---

## [Cuda programming on processing](https://discourse.processing.org/t/cuda-programming-on-processing/3017)

<div class="topic-metadata">

**Author:** [@shoaibmirza](https://discourse.processing.org/u/shoaibmirza)\
**Replies:** 2\
**Last updated:** [September 11, 2018, 2:19pm UTC](https://discourse.processing.org/t/cuda-programming-on-processing/3017 "2018-09-11T14:19:02Z")

</div>

Hi… basically i am trying to use “CUDA” on processing. is there any “cuda” library/documentation for processing? i have seen discussion on forum and it’s not working. my GPU : GTX 1070 OS : windows 10 thanks

---

## [Why is .plugTo() not setting the initial value with ControlP5?](https://discourse.processing.org/t/why-is-plugto-not-setting-the-initial-value-with-controlp5/3453)

<div class="topic-metadata">

**Author:** [@hamoid](https://discourse.processing.org/u/hamoid)\
**Replies:** 5\
**Last updated:** [September 11, 2018, 9:26am UTC](https://discourse.processing.org/t/why-is-plugto-not-setting-the-initial-value-with-controlp5/3453 "2018-09-11T09:26:23Z")

</div>

Hi! I’m using the controlP5 library to change variables inside an object. I use .plugTo() to specify which object contains the variables to control. The issue is that the slider always shows 0 when the program starts, …

---

## [How to create an application that takes a picture and starts a video](https://discourse.processing.org/t/how-to-create-an-application-that-takes-a-picture-and-starts-a-video/3437)

<div class="topic-metadata">

**Author:** [@Alessandroc93](https://discourse.processing.org/u/Alessandroc93)\
**Replies:** 2\
**Last updated:** [September 10, 2018, 4:59pm UTC](https://discourse.processing.org/t/how-to-create-an-application-that-takes-a-picture-and-starts-a-video/3437 "2018-09-10T16:59:02Z")

</div>

Good morning I am a university student. For a university project I wanted to implement an application that has a basic function. The application starts with a button, which can be the logo of the project. When pressed, t…

---

## [Sound - error when trying to construct any object](https://discourse.processing.org/t/sound-error-when-trying-to-construct-any-object/3283)

<div class="topic-metadata">

**Author:** [@SoundProblems](https://discourse.processing.org/u/SoundProblems)\
**Replies:** 3\
**Last updated:** [September 7, 2018, 4:49am UTC](https://discourse.processing.org/t/sound-error-when-trying-to-construct-any-object/3283 "2018-09-07T04:49:42Z")

</div>

Hi all, I get “ArrayIndexOutOfBoundsException: -1” error when I run the following example code: import processing.sound.\*; SawOsc saw; void setup() { size(640, 360); background(255); // Create square wave os…

---

## [outputDevice in Sound library causing errors when specifying audio channel](https://discourse.processing.org/t/outputdevice-in-sound-library-causing-errors-when-specifying-audio-channel/3222)

<div class="topic-metadata">

**Author:** [@HauntedPliers](https://discourse.processing.org/u/HauntedPliers)\
**Replies:** 5\
**Last updated:** [September 7, 2018, 4:48am UTC](https://discourse.processing.org/t/outputdevice-in-sound-library-causing-errors-when-specifying-audio-channel/3222 "2018-09-07T04:48:51Z")

</div>

Hello, I’m trying to use the Sound library to select which channel of a soundcard to play audio from, but whenever I call the outputDevice command I get some extensive red text no audio. This is the case even when selec…

---

## [Minim Not Working on Ubuntu Server](https://discourse.processing.org/t/minim-not-working-on-ubuntu-server/3004)

<div class="topic-metadata">

**Author:** [@oOoOoO](https://discourse.processing.org/u/oOoOoO)\
**Replies:** 6\
**Last updated:** [September 5, 2018, 4:39pm UTC](https://discourse.processing.org/t/minim-not-working-on-ubuntu-server/3004 "2018-09-05T16:39:41Z")

</div>

Hello! I am trying to port over a processing sketch onto a Ubuntu server. Its being run in a headless mode, and I’m not sure if that has any effect on whats going on. For some reason I get ==== JavaSound Minim Error ==…

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

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