# Libraries

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

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

**Page:** 12

---

## [Issue with canvas.translate within Syphon library](https://discourse.processing.org/t/issue-with-canvas-translate-within-syphon-library/41197)

<div class="topic-metadata">

**Author:** [@jormetz](https://discourse.processing.org/u/jormetz)\
**Replies:** 2\
**Last updated:** [March 8, 2023, 4:40pm UTC](https://discourse.processing.org/t/issue-with-canvas-translate-within-syphon-library/41197 "2023-03-08T16:40:26Z")

</div>

Hi everybody! I am new to Processing & currently working with the Syphon library to send my sketch to MaxMSP. I’m having a weird issue with translating the canvas in which my sketch is not centered, or some blank canvas…

---

## [How to create a library from projects](https://discourse.processing.org/t/how-to-create-a-library-from-projects/41151)

<div class="topic-metadata">

**Author:** [@urlxd](https://discourse.processing.org/u/urlxd)\
**Replies:** 3\
**Last updated:** [March 6, 2023, 8:48am UTC](https://discourse.processing.org/t/how-to-create-a-library-from-projects/41151 "2023-03-06T08:48:59Z")

</div>

hello, when creating a larger project, I ran into the problem that everything is in one project. I would like to create classes and use it in another project as a library. If there is such an opportunity in “Processing…

---

## [Movie Maker version 4.1.3](https://discourse.processing.org/t/movie-maker-version-4-1-3/41102)

<div class="topic-metadata">

**Author:** [@Kylle](https://discourse.processing.org/u/Kylle)\
**Replies:** 3\
**Last updated:** [March 3, 2023, 9:39am UTC](https://discourse.processing.org/t/movie-maker-version-4-1-3/41102 "2023-03-03T09:39:04Z")

</div>

Hi I am using, for me, a new version of Processing (4.1.3). I have produced a number of image files: 1.png, 2.png… 250.png and have the saved in a special frame folder. When I am running the movie maker it does not …

---

## [Problem with P2D](https://discourse.processing.org/t/problem-with-p2d/41096)

<div class="topic-metadata">

**Author:** [@Omri](https://discourse.processing.org/u/Omri)\
**Replies:** 0\
**Last updated:** [February 28, 2023, 7:27pm UTC](https://discourse.processing.org/t/problem-with-p2d/41096 "2023-02-28T19:27:58Z")

</div>

I’m doing Shiffman’s algorithm of motion detection, but I want to use P2D. I noticed that there are “noise” in my video only when I use P2D, with the normal renderer there isn’t any problem. even when I just read pixel…

---

## [Mapping a video texture on PShape](https://discourse.processing.org/t/mapping-a-video-texture-on-pshape/41014)

<div class="topic-metadata">

**Author:** [@animalfrommars](https://discourse.processing.org/u/animalfrommars)\
**Replies:** 4\
**Last updated:** [February 23, 2023, 4:35pm UTC](https://discourse.processing.org/t/mapping-a-video-texture-on-pshape/41014 "2023-02-23T16:35:13Z")

</div>

Hello, I’m trying to map a video image from a webcam on a PShape. It seems that colors are changing but the video image don’t appear… See my code below. Thank you for your help. import processing.video.\*; import pro…

---

## [Video library for Processing not found](https://discourse.processing.org/t/video-library-for-processing-not-found/40956)

<div class="topic-metadata">

**Author:** [@Kylle](https://discourse.processing.org/u/Kylle)\
**Replies:** 2\
**Last updated:** [February 18, 2023, 1:20pm UTC](https://discourse.processing.org/t/video-library-for-processing-not-found/40956 "2023-02-18T13:20:15Z")

</div>

I just tried the suggestion from Processing to get access to the webcam: However, the program does not recognize: import processing.video.\*; And I can not find the Library anywhere. Error message: The package proces…

---

## [OpenCV facial expressions mapping](https://discourse.processing.org/t/opencv-facial-expressions-mapping/21133)

<div class="topic-metadata">

**Author:** [@rkk16](https://discourse.processing.org/u/rkk16)\
**Replies:** 2\
**Last updated:** [February 15, 2023, 11:04pm UTC](https://discourse.processing.org/t/opencv-facial-expressions-mapping/21133 "2023-02-15T23:04:00Z")

</div>

What would be the best way to detect facial expressions from a live video on processing and map the different expressions into values?

---

## [How can I send a .wav file from a Processing client to a Python server?](https://discourse.processing.org/t/how-can-i-send-a-wav-file-from-a-processing-client-to-a-python-server/40913)

<div class="topic-metadata">

**Author:** [@Alessandro199762](https://discourse.processing.org/u/Alessandro199762)\
**Replies:** 0\
**Last updated:** [February 13, 2023, 2:59pm UTC](https://discourse.processing.org/t/how-can-i-send-a-wav-file-from-a-processing-client-to-a-python-server/40913 "2023-02-13T14:59:45Z")

</div>

Hello. As stated in the header, i need to send a file .wav (but i think any method is suitable for any file) from a processing client to a python server which processes the file and sends it back to the processing clien…

---

## [Quiz with sounds and navigation bar (loading sounds)](https://discourse.processing.org/t/quiz-with-sounds-and-navigation-bar-loading-sounds/40923)

<div class="topic-metadata">

**Author:** [@iinnessic](https://discourse.processing.org/u/iinnessic)\
**Replies:** 2\
**Last updated:** [February 14, 2023, 9:01pm UTC](https://discourse.processing.org/t/quiz-with-sounds-and-navigation-bar-loading-sounds/40923 "2023-02-14T21:01:23Z")

</div>

Hi! So I have this Quiz about a solar cell I need to program. I have a few minor problems, but what really stresses me out right now, is that my code does not work when I import too many sounds… What can I do? These are…

---

## [Cannot import own library](https://discourse.processing.org/t/cannot-import-own-library/40879)

<div class="topic-metadata">

**Author:** [@5dcoded](https://discourse.processing.org/u/5dcoded)\
**Replies:** 2\
**Last updated:** [February 9, 2023, 11:23pm UTC](https://discourse.processing.org/t/cannot-import-own-library/40879 "2023-02-09T23:23:07Z")

</div>

So I made a library and when i try to import it I get the following: The library “mylibary” cannot be used because it contains the processing.core libaries. I am completely lost… how can I fix this??

---

## [Game Control Plus custom function fails to draw on screen](https://discourse.processing.org/t/game-control-plus-custom-function-fails-to-draw-on-screen/40883)

<div class="topic-metadata">

**Author:** [@stixan](https://discourse.processing.org/u/stixan)\
**Replies:** 3\
**Last updated:** [February 9, 2023, 10:23am UTC](https://discourse.processing.org/t/game-control-plus-custom-function-fails-to-draw-on-screen/40883 "2023-02-09T10:23:08Z")

</div>

I’m using the Game Control Plus library to capture inputs from a new NES USB controller. All buttons are mapped correctly and respond to my inputs. I have used .plug() to set up a custom function that is supposed to trig…

---

## [How can i make an empty graph without using csv?](https://discourse.processing.org/t/how-can-i-make-an-empty-graph-without-using-csv/40814)

<div class="topic-metadata">

**Author:** [@Vadimkuzmin](https://discourse.processing.org/u/Vadimkuzmin)\
**Replies:** 6\
**Last updated:** [February 3, 2023, 4:09pm UTC](https://discourse.processing.org/t/how-can-i-make-an-empty-graph-without-using-csv/40814 "2023-02-03T16:09:52Z")

</div>

Good afternoon, I found an example that I would like to edit to fit my values at the moment I can use the graph from the file csv, but how can you do the same with processing tools? import grafica.\*; GPlot plot1, p…

---

## [Imaging an audio file](https://discourse.processing.org/t/imaging-an-audio-file/25006)

<div class="topic-metadata">

**Author:** [@humus](https://discourse.processing.org/u/humus)\
**Replies:** 2\
**Last updated:** [February 3, 2023, 2:46pm UTC](https://discourse.processing.org/t/imaging-an-audio-file/25006 "2023-02-03T14:46:08Z")

</div>

Hi, I would like to realise these things with Processing after importing an audio file of my voice registered (or in real time): Realise a video 1.1. display in a window the spectrogram with colors (for the amplitude…

---

## [How to use SPOUT input with 11.10: Computer Vision: Adding Lifespan to Blobs - Processing Tutorial](https://discourse.processing.org/t/how-to-use-spout-input-with-11-10-computer-vision-adding-lifespan-to-blobs-processing-tutorial/40735)

<div class="topic-metadata">

**Author:** [@marijn](https://discourse.processing.org/u/marijn)\
**Replies:** 11\
**Last updated:** [February 3, 2023, 1:21pm UTC](https://discourse.processing.org/t/how-to-use-spout-input-with-11-10-computer-vision-adding-lifespan-to-blobs-processing-tutorial/40735 "2023-02-03T13:21:23Z")

</div>

Hi, I am relatively new to Processing. I am trying to make the Blobtrack Persistance example (as seen in this video) work with Input from SPOUT receiver instead of the webcam input. Does anybody have an advice for me? …

---

## [Question of how to generate multiple sound by TriOsc](https://discourse.processing.org/t/question-of-how-to-generate-multiple-sound-by-triosc/40522)

<div class="topic-metadata">

**Author:** [@Joygou](https://discourse.processing.org/u/Joygou)\
**Replies:** 2\
**Last updated:** [February 3, 2023, 11:08am UTC](https://discourse.processing.org/t/question-of-how-to-generate-multiple-sound-by-triosc/40522 "2023-02-03T11:08:16Z")

</div>

Hi, I’m trying to do some generating music stuff by processing and the sound library. I am trying to generate note by clicking the mouse, and the note will be played again and agian in draw() function. I want to have a …

---

## [Help on creating orbit simulation (lines fade)](https://discourse.processing.org/t/help-on-creating-orbit-simulation-lines-fade/40746)

<div class="topic-metadata">

**Author:** [@crv74](https://discourse.processing.org/u/crv74)\
**Replies:** 12\
**Last updated:** [February 3, 2023, 10:57am UTC](https://discourse.processing.org/t/help-on-creating-orbit-simulation-lines-fade/40746 "2023-02-03T10:57:09Z")

</div>

Hi there, after my (your basically) last learning process of the surface programming, it came in mind another thing i want to try, but i really don’t knwo how to start it (call me dumb). The idea came, under a video i …

---

## [What is happening? (Sprite sheet)](https://discourse.processing.org/t/what-is-happening-sprite-sheet/40784)

<div class="topic-metadata">

**Author:** [@FelixBrooks](https://discourse.processing.org/u/FelixBrooks)\
**Replies:** 3\
**Last updated:** [February 2, 2023, 11:32am UTC](https://discourse.processing.org/t/what-is-happening-sprite-sheet/40784 "2023-02-02T11:32:35Z")

</div>

PVector pos = new PVector(650, 0); PVector vel = new PVector(0,0); PVector acc = new PVector(0,9.8); //import gifAnimation.\*; //Gif Sprite; //import processing.sound.\*; //SoundFile file; //PImage Background; PIma…

---

## [Using gamepads on Raspberry Pi (Raspbian OS 32 or 64)](https://discourse.processing.org/t/using-gamepads-on-raspberry-pi-raspbian-os-32-or-64/40791)

<div class="topic-metadata">

**Author:** [@MGDSStudio](https://discourse.processing.org/u/MGDSStudio)\
**Replies:** 0\
**Last updated:** [February 2, 2023, 5:23am UTC](https://discourse.processing.org/t/using-gamepads-on-raspberry-pi-raspbian-os-32-or-64/40791 "2023-02-02T05:23:09Z")

</div>

Hello everyone. I got a project from a firma that creates arcade cabinets with retro arcade games (like donkey Kong, pacman and so on). I need to create a videogame that will be controlled via a joystic (air fighter simu…

---

## [Data visualization csv file and change through Processing?](https://discourse.processing.org/t/data-visualization-csv-file-and-change-through-processing/40727)

<div class="topic-metadata">

**Author:** [@Vadimkuzmin](https://discourse.processing.org/u/Vadimkuzmin)\
**Replies:** 4\
**Last updated:** [January 28, 2023, 1:06am UTC](https://discourse.processing.org/t/data-visualization-csv-file-and-change-through-processing/40727 "2023-01-28T01:06:39Z")

</div>

Good afternoon, can you tell me if it is possible to edit data in a csv file through processing through visualization? I found examples of various charts, but how can we change the lines and put dots in this chart for m…

---

## [Challenges in using G4P to create textAreas that are more "text-editor capable"](https://discourse.processing.org/t/challenges-in-using-g4p-to-create-textareas-that-are-more-text-editor-capable/39456)

<div class="topic-metadata">

**Author:** [@kryt](https://discourse.processing.org/u/kryt)\
**Replies:** 5\
**Last updated:** [January 26, 2023, 2:12pm UTC](https://discourse.processing.org/t/challenges-in-using-g4p-to-create-textareas-that-are-more-text-editor-capable/39456 "2023-01-26T14:12:41Z")

</div>

Hello there, first of all, thanks to @quark for making a really easy to use library for GUI elements. It’s also one of the few with any kind of text-areas. I’m in a process of making a simple text-editing tool for writ…

---

## [How to click on an image with data? (ControlP5 SliderList)](https://discourse.processing.org/t/how-to-click-on-an-image-with-data-controlp5-sliderlist/40647)

<div class="topic-metadata">

**Author:** [@Vadimkuzmin](https://discourse.processing.org/u/Vadimkuzmin)\
**Replies:** 0\
**Last updated:** [January 19, 2023, 12:13pm UTC](https://discourse.processing.org/t/how-to-click-on-an-image-with-data-controlp5-sliderlist/40647 "2023-01-19T12:13:45Z")

</div>

Hello, I am using the library. I took two examples from her MenuList and SliderList. One example I remade for myself I remade one example for myself and I can’t make it get the same data when clicking on the picture as…

---

## [Processing video](https://discourse.processing.org/t/processing-video/40599)

<div class="topic-metadata">

**Author:** [@ctremblay](https://discourse.processing.org/u/ctremblay)\
**Replies:** 12\
**Last updated:** [January 16, 2023, 10:32pm UTC](https://discourse.processing.org/t/processing-video/40599 "2023-01-16T22:32:25Z")

</div>

I’m trying to code a movie program even though i could use a premade program to place all the clips together but the program cant find my file. I’m using video library for processing 4. it keeps saying “Could not load …

---

## [Unknown NullPointerException from G4P GUI Builder](https://discourse.processing.org/t/unknown-nullpointerexception-from-g4p-gui-builder/40601)

<div class="topic-metadata">

**Author:** [@exanova](https://discourse.processing.org/u/exanova)\
**Replies:** 1\
**Last updated:** [January 16, 2023, 4:55pm UTC](https://discourse.processing.org/t/unknown-nullpointerexception-from-g4p-gui-builder/40601 "2023-01-16T16:55:24Z")

</div>

Hi there! I want to fix the GUI error for the Magnifying Glass burning simulation program to run smoothly. When changing anything in the GUI from the G4P GUI Builder tool, the program always crashes with a NullPointerE…

---

## [ControlP5 addTab: How to implement tab navigation through pictures?](https://discourse.processing.org/t/controlp5-addtab-how-to-implement-tab-navigation-through-pictures/40537)

<div class="topic-metadata">

**Author:** [@Vadimkuzmin](https://discourse.processing.org/u/Vadimkuzmin)\
**Replies:** 1\
**Last updated:** [January 15, 2023, 8:00am UTC](https://discourse.processing.org/t/controlp5-addtab-how-to-implement-tab-navigation-through-pictures/40537 "2023-01-15T08:00:53Z")

</div>

Good afternoon, I seem to have succeeded in replacing the tabs with pictures, but there is a problem, I deliberately let the pictures go down to show that the tabs are not clickable through them! How else can you get aro…

---

## [Video Compiling Error?](https://discourse.processing.org/t/video-compiling-error/40583)

<div class="topic-metadata">

**Author:** [@JHPC](https://discourse.processing.org/u/JHPC)\
**Replies:** 0\
**Last updated:** [January 14, 2023, 3:16pm UTC](https://discourse.processing.org/t/video-compiling-error/40583 "2023-01-14T15:16:02Z")

</div>

Dear Processing Community, I’ve used code from the Processing textbook for a video imaging exercise that detects presence and compares a new frame to a previously saved frame. On my iMac, I get a grey screen only and wi…

---

## [Installing P4 on Codespaces](https://discourse.processing.org/t/installing-p4-on-codespaces/40553)

<div class="topic-metadata">

**Author:** [@x13420x](https://discourse.processing.org/u/x13420x)\
**Replies:** 0\
**Last updated:** [January 11, 2023, 3:37pm UTC](https://discourse.processing.org/t/installing-p4-on-codespaces/40553 "2023-01-11T15:37:40Z")

</div>

I would like help installing Processing 4 on a virtual machine on codespaces. I cloned 3 gits ant, p4 and temurin. Then installed JDK8 by accident and then JDK17 in the temurin branch. I am not sure how to install ant…

---

## [OSC listening port already in use after running program once](https://discourse.processing.org/t/osc-listening-port-already-in-use-after-running-program-once/40567)

<div class="topic-metadata">

**Author:** [@philmon7](https://discourse.processing.org/u/philmon7)\
**Replies:** 1\
**Last updated:** [January 13, 2023, 10:10am UTC](https://discourse.processing.org/t/osc-listening-port-already-in-use-after-running-program-once/40567 "2023-01-13T10:10:52Z")

</div>

I have a setup where I’m sending data from SuperCollider to Processing (and vice versa) using OSC messages. The code looks like this: osc = new OscP5(this, 12000); address = new NetAddress("127.0.0.1",57120); OscM…

---

## [How to make slider in application window?](https://discourse.processing.org/t/how-to-make-slider-in-application-window/40548)

<div class="topic-metadata">

**Author:** [@Vadimkuzmin](https://discourse.processing.org/u/Vadimkuzmin)\
**Replies:** 8\
**Last updated:** [January 13, 2023, 6:34am UTC](https://discourse.processing.org/t/how-to-make-slider-in-application-window/40548 "2023-01-13T06:34:51Z")

</div>

Good afternoon, when using the examples, I could not implement a slider for the entire scrolling of these applications. How can I make a slider that scrolls data in a window with an image background, regardless of the s…

---

## [Exported app not working macOS](https://discourse.processing.org/t/exported-app-not-working-macos/8501)

<div class="topic-metadata">

**Author:** [@tobeheard](https://discourse.processing.org/u/tobeheard)\
**Replies:** 5\
**Last updated:** [January 10, 2023, 4:48pm UTC](https://discourse.processing.org/t/exported-app-not-working-macos/8501 "2023-01-10T16:48:44Z")

</div>

Hello and thank you community, I have a problem with my exported app. It does not open. I’ve tried the control open and double click. They both flash the icon, yet nothing happens. my code is using the following librari…

---

## [Trying to add an image to the fractal code i am studying](https://discourse.processing.org/t/trying-to-add-an-image-to-the-fractal-code-i-am-studying/40533)

<div class="topic-metadata">

**Author:** [@vrtx](https://discourse.processing.org/u/vrtx)\
**Replies:** 5\
**Last updated:** [January 10, 2023, 5:36am UTC](https://discourse.processing.org/t/trying-to-add-an-image-to-the-fractal-code-i-am-studying/40533 "2023-01-10T05:36:27Z")

</div>

Hi guys… I got this code from the processing page as exemple and I am trying to add an image/piture to the effect. I did try many ways . This is the near i have got. The image only flash when start. /\*\* \* Mixture G…

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

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