# Libraries

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

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

**Page:** 17

---

## [Video Export Library / Export Error](https://discourse.processing.org/t/video-export-library-export-error/38256)

<div class="topic-metadata">

**Author:** [@searchingforananswer](https://discourse.processing.org/u/searchingforananswer)\
**Replies:** 4\
**Last updated:** [August 7, 2022, 4:45pm UTC](https://discourse.processing.org/t/video-export-library-export-error/38256 "2022-08-07T16:45:24Z")

</div>

Hello everyone! I want to export my work at the bottom as a video with “video export” library. But when i run it, it gives me this error: " RuntimeException: java.lang.NoSuchFieldError: frame java.lang.RuntimeException…

---

## [Resize and image -\> cropping](https://discourse.processing.org/t/resize-and-image-cropping/38255)

<div class="topic-metadata">

**Author:** [@ishback](https://discourse.processing.org/u/ishback)\
**Replies:** 1\
**Last updated:** [August 6, 2022, 11:10pm UTC](https://discourse.processing.org/t/resize-and-image-cropping/38255 "2022-08-06T23:10:06Z")

</div>

Hi, I’m trying to resize a video before displaying it. The original video is 100x200px. If I resize to 100x100px it crops the top part, looks good. If I resize to 50x100px (50% proportionally for each dimension), …

---

## [How to fix ClassCastException error in Processing?](https://discourse.processing.org/t/how-to-fix-classcastexception-error-in-processing/38208)

<div class="topic-metadata">

**Author:** [@michele\_rinaldi](https://discourse.processing.org/u/michele_rinaldi)\
**Replies:** 1\
**Last updated:** [August 3, 2022, 2:24pm UTC](https://discourse.processing.org/t/how-to-fix-classcastexception-error-in-processing/38208 "2022-08-03T14:24:35Z")

</div>

Hi! I’m working on a project that involves two PCs that simultaneously share and exchange the webcam source and send it, modified, to the other PC. The script I’m relying on I found at https://github.com/torb-xyz/proce…

---

## [Best and fastest way to access objects in real-time for interaction with incoming messages](https://discourse.processing.org/t/best-and-fastest-way-to-access-objects-in-real-time-for-interaction-with-incoming-messages/38107)

<div class="topic-metadata">

**Author:** [@fedpep](https://discourse.processing.org/u/fedpep)\
**Replies:** 12\
**Last updated:** [July 26, 2022, 1:24pm UTC](https://discourse.processing.org/t/best-and-fastest-way-to-access-objects-in-real-time-for-interaction-with-incoming-messages/38107 "2022-07-26T13:24:39Z")

</div>

Hi everybody, I recently started working on a project I had had in mind for quite some time. I have reached a good point but now that I have to integrate the interactive part, I have a doubt. This is the idea: I’m creat…

---

## [Change the appearance of Radio Buttons in ControlP5](https://discourse.processing.org/t/change-the-appearance-of-radio-buttons-in-controlp5/38045)

<div class="topic-metadata">

**Author:** [@Ghostsss](https://discourse.processing.org/u/Ghostsss)\
**Replies:** 10\
**Last updated:** [July 25, 2022, 1:02am UTC](https://discourse.processing.org/t/change-the-appearance-of-radio-buttons-in-controlp5/38045 "2022-07-25T01:02:32Z")

</div>

By default Radio Buttons in ControlP5 are squares. (shown in following figure) In my opinion, they seems to be littile unintiutive for a new user. Is it possible to change their appearance to conventional type radio…

---

## [How to enforce a minimum distance between curves?](https://discourse.processing.org/t/how-to-enforce-a-minimum-distance-between-curves/30875)

<div class="topic-metadata">

**Author:** [@oli](https://discourse.processing.org/u/oli)\
**Replies:** 10\
**Last updated:** [July 23, 2022, 5:51pm UTC](https://discourse.processing.org/t/how-to-enforce-a-minimum-distance-between-curves/30875 "2022-07-23T17:51:16Z")

</div>

I want to learn to draw non-overlapping random curves. I’ve written code that generates random curves on the screen but they currently overlap. In the example above, each curve is drawn by Choosing a random start …

---

## [Kinect v2 library and find Users](https://discourse.processing.org/t/kinect-v2-library-and-find-users/37994)

<div class="topic-metadata">

**Author:** [@potter3366](https://discourse.processing.org/u/potter3366)\
**Replies:** 0\
**Last updated:** [July 16, 2022, 9:50pm UTC](https://discourse.processing.org/t/kinect-v2-library-and-find-users/37994 "2022-07-16T21:50:00Z")

</div>

When I run the app, the user is immediately detected. When he leaves the Kinect sensor field, the app still shows foundUsers = true and kinect.getNumOfUsers()=1. The number of users entering the Kinect field of view doe…

---

## [RuntimeException: Expected a ',' or '}'](https://discourse.processing.org/t/runtimeexception-expected-a-or/37990)

<div class="topic-metadata">

**Author:** [@nanto2016](https://discourse.processing.org/u/nanto2016)\
**Replies:** 2\
**Last updated:** [July 16, 2022, 5:30pm UTC](https://discourse.processing.org/t/runtimeexception-expected-a-or/37990 "2022-07-16T17:30:56Z")

</div>

Hi, i was working on a game, it worked when i last tested it, then i went watch video on youtube, and the sketch doesn’t work anymore, and i really do not understand at all where is the error. it just says in the console…

---

## [myMovie.speed() is not working](https://discourse.processing.org/t/mymovie-speed-is-not-working/11956)

<div class="topic-metadata">

**Author:** [@anty](https://discourse.processing.org/u/anty)\
**Replies:** 7\
**Last updated:** [July 16, 2022, 12:52pm UTC](https://discourse.processing.org/t/mymovie-speed-is-not-working/11956 "2022-07-16T12:52:37Z")

</div>

Hi friends, I am Anty and I want to control the movie’s speed by .speed() but it seems not working in my code. Whatever the number I wrote to “.speed(0.5)” “.speed(5)” all of them are the same speed. This is my code: …

---

## [Playing different videos from Serial](https://discourse.processing.org/t/playing-different-videos-from-serial/37705)

<div class="topic-metadata">

**Author:** [@ccheee](https://discourse.processing.org/u/ccheee)\
**Replies:** 1\
**Last updated:** [July 16, 2022, 2:56am UTC](https://discourse.processing.org/t/playing-different-videos-from-serial/37705 "2022-07-16T02:56:55Z")

</div>

I’m very new to Processing, so please forgive me if I’m missing something very basic! I’m trying to use an Arduino/Serial input that will trigger different videos to play in a Processing sketch. The code below is based …

---

## [Cannot play the video after exporting the application](https://discourse.processing.org/t/cannot-play-the-video-after-exporting-the-application/25889)

<div class="topic-metadata">

**Author:** [@caseywang777](https://discourse.processing.org/u/caseywang777)\
**Replies:** 1\
**Last updated:** [December 2, 2020, 4:21pm UTC](https://discourse.processing.org/t/cannot-play-the-video-after-exporting-the-application/25889 "2020-12-02T16:21:23Z")

</div>

Hi, I use the Gstream based video library (import processing.video.\*) to play the video. When I use the IDE to run the application, it works well. (just a minor warning: after I close the window, processing give me a w…

---

## [Tooltip with ControlP5](https://discourse.processing.org/t/tooltip-with-controlp5/37917)

<div class="topic-metadata">

**Author:** [@Ghostsss](https://discourse.processing.org/u/Ghostsss)\
**Replies:** 12\
**Last updated:** [July 15, 2022, 5:26am UTC](https://discourse.processing.org/t/tooltip-with-controlp5/37917 "2022-07-15T05:26:36Z")

</div>

I want to add tooltip to GUI built using ControlP5. I found that some old examples (from around 2011) of tooltip in ControlP5 examples say that tooltip is not working as of now. I want to know if it is still not workin…

---

## [Creating APNG animations with Processing - is this possible?](https://discourse.processing.org/t/creating-apng-animations-with-processing-is-this-possible/37925)

<div class="topic-metadata">

**Author:** [@anrui71](https://discourse.processing.org/u/anrui71)\
**Replies:** 4\
**Last updated:** [July 12, 2022, 5:36pm UTC](https://discourse.processing.org/t/creating-apng-animations-with-processing-is-this-possible/37925 "2022-07-12T17:36:03Z")

</div>

Hello everyone! I am facing the need to create a rather large number of apng animations from png images that I rendered with processing. I found a stand alone tool for that task, which however does not support batch pro…

---

## [Creating simple GUI to change variables in script](https://discourse.processing.org/t/creating-simple-gui-to-change-variables-in-script/37912)

<div class="topic-metadata">

**Author:** [@NikhilPundir](https://discourse.processing.org/u/NikhilPundir)\
**Replies:** 5\
**Last updated:** [July 12, 2022, 1:26pm UTC](https://discourse.processing.org/t/creating-simple-gui-to-change-variables-in-script/37912 "2022-07-12T13:26:13Z")

</div>

I wanted to know if its possible to create a simple GUI to change different variables in the script and Re-Re-Render the image. Currently, I change a variable then run the program again to see result. A GUI to see instan…

---

## [Is it Possible / Best Practices for 4k Video?](https://discourse.processing.org/t/is-it-possible-best-practices-for-4k-video/37700)

<div class="topic-metadata">

**Author:** [@CaseyJ](https://discourse.processing.org/u/CaseyJ)\
**Replies:** 1\
**Last updated:** [July 11, 2022, 8:11pm UTC](https://discourse.processing.org/t/is-it-possible-best-practices-for-4k-video/37700 "2022-07-11T20:11:41Z")

</div>

I am looking to make a simple sketch that plays back 4k video (3840 x 2160) at 60 FPS. I am familiar enough with video in Processing but am curious about any limitations or best practices when it comes to handling large…

---

## [KinectV2 - Getting a rectangle boundary of the body](https://discourse.processing.org/t/kinectv2-getting-a-rectangle-boundary-of-the-body/37905)

<div class="topic-metadata">

**Author:** [@bringmeflowers](https://discourse.processing.org/u/bringmeflowers)\
**Replies:** 0\
**Last updated:** [July 10, 2022, 1:31pm UTC](https://discourse.processing.org/t/kinectv2-getting-a-rectangle-boundary-of-the-body/37905 "2022-07-10T13:31:11Z")

</div>

I am trying to draw a rectangle around the body detected by Kinect. Left most and highest points are detected but have difficulty finding the right most and lowest point. import org.openkinect.processing.\*; Kinect2 ki…

---

## [Loading obj model](https://discourse.processing.org/t/loading-obj-model/37884)

<div class="topic-metadata">

**Author:** [@JoLi](https://discourse.processing.org/u/JoLi)\
**Replies:** 2\
**Last updated:** [July 9, 2022, 1:19pm UTC](https://discourse.processing.org/t/loading-obj-model/37884 "2022-07-09T13:19:09Z")

</div>

Hi, I’ve made a little game (https://github.com/jonli/spacestarprocessing) and now want to convert it to 3D. I’ve done some things with spheres in P3D before, so I’m not completely new to this. But now I’ve encountere…

---

## [Com.github library?](https://discourse.processing.org/t/com-github-library/37843)

<div class="topic-metadata">

**Author:** [@remie92](https://discourse.processing.org/u/remie92)\
**Replies:** 6\
**Last updated:** [July 5, 2022, 12:46pm UTC](https://discourse.processing.org/t/com-github-library/37843 "2022-07-05T12:46:50Z")

</div>

Hello, I am trying to make a sketch using a library from github. Link to the library And in the example it imports a bunch of com.github.? files. but when I try to import them, it justs says: //the import command impo…

---

## [Default Font for ControlP5 lib](https://discourse.processing.org/t/default-font-for-controlp5-lib/37819)

<div class="topic-metadata">

**Author:** [@Ghostsss](https://discourse.processing.org/u/Ghostsss)\
**Replies:** 3\
**Last updated:** [July 5, 2022, 2:12am UTC](https://discourse.processing.org/t/default-font-for-controlp5-lib/37819 "2022-07-05T02:12:43Z")

</div>

Is there a way to change default font of ControlP5 library ?

---

## [How to find more description of ControlP5 lib functions](https://discourse.processing.org/t/how-to-find-more-description-of-controlp5-lib-functions/37766)

<div class="topic-metadata">

**Author:** [@Ghostsss](https://discourse.processing.org/u/Ghostsss)\
**Replies:** 6\
**Last updated:** [July 5, 2022, 12:49am UTC](https://discourse.processing.org/t/how-to-find-more-description-of-controlp5-lib-functions/37766 "2022-07-05T00:49:52Z")

</div>

Hello everyone, I am new to processing. I am using ControlP5 to create GUI. I am looking at examples of ControlP5 lib (which are great) and its website. However I am not able to figure out how to find the description …

---

## [Two problems of using video capture](https://discourse.processing.org/t/two-problems-of-using-video-capture/37801)

<div class="topic-metadata">

**Author:** [@Yifan](https://discourse.processing.org/u/Yifan)\
**Replies:** 0\
**Last updated:** [July 3, 2022, 2:10am UTC](https://discourse.processing.org/t/two-problems-of-using-video-capture/37801 "2022-07-03T02:10:18Z")

</div>

Hello guys, yesterday I first tried to use video capture. I ran the example code in Daniel Shiffman’s book, learning processing, to display live video. But, the live video displayed is very choppy and laggy, meanwhile, t…

---

## [G4P java.lang.IllegalArgumentException: Width (-2) and height (10) cannot be \<= 0](https://discourse.processing.org/t/g4p-java-lang-illegalargumentexception-width-2-and-height-10-cannot-be-0/28841)

<div class="topic-metadata">

**Author:** [@C-Level-Increment](https://discourse.processing.org/u/C-Level-Increment)\
**Replies:** 2\
**Last updated:** [March 26, 2021, 7:54pm UTC](https://discourse.processing.org/t/g4p-java-lang-illegalargumentexception-width-2-and-height-10-cannot-be-0/28841 "2021-03-26T19:54:51Z")

</div>

Hi there, sadly, i already need your help again. Yesterday the last thing i did was to export my grapher-sketch to an executable and after that closed processing. When i tried to open gui builder today to continue worki…

---

## [Serial.list() on Linux doesn't seem to work](https://discourse.processing.org/t/serial-list-on-linux-doesnt-seem-to-work/37075)

<div class="topic-metadata">

**Author:** [@dattasaurabh82](https://discourse.processing.org/u/dattasaurabh82)\
**Replies:** 2\
**Last updated:** [June 30, 2022, 10:01pm UTC](https://discourse.processing.org/t/serial-list-on-linux-doesnt-seem-to-work/37075 "2022-06-30T22:01:52Z")

</div>

OS: Ubuntu 22.04 LTS x86\_64 Kernel: 5.17.8-051708-generic Processing IDE version: 4.0b8 Issue: Serial.list() doesn’t list all the serial ports, just one. Sketch to try for checking: import processing.serial.\*; impor…

---

## [How to capture every frame of a video, manipulate the image using a function, and display the manipulated frames?](https://discourse.processing.org/t/how-to-capture-every-frame-of-a-video-manipulate-the-image-using-a-function-and-display-the-manipulated-frames/37747)

<div class="topic-metadata">

**Author:** [@Alalalala](https://discourse.processing.org/u/Alalalala)\
**Replies:** 2\
**Last updated:** [June 29, 2022, 2:20am UTC](https://discourse.processing.org/t/how-to-capture-every-frame-of-a-video-manipulate-the-image-using-a-function-and-display-the-manipulated-frames/37747 "2022-06-29T02:20:03Z")

</div>

I was looking at the examples in the video library and there is an example that lets you control the video by pressing arrow keys and navigating per frame Is there a way i can store the frame as an image, obtain the col…

---

## [Generate QR code – ZXing library](https://discourse.processing.org/t/generate-qr-code-zxing-library/1250)

<div class="topic-metadata">

**Author:** [@f.m](https://discourse.processing.org/u/f.m)\
**Replies:** 9\
**Last updated:** [June 28, 2022, 4:45pm UTC](https://discourse.processing.org/t/generate-qr-code-zxing-library/1250 "2022-06-28T16:45:39Z")

</div>

Hello, does anyone ever worked with the ZXing library? I am trying to generate QR codes with this library in processing. So when open the example sketch “generateQRCode” there is always the same error: The package “com…

---

## [How to record many Audio Recorder?](https://discourse.processing.org/t/how-to-record-many-audio-recorder/4244)

<div class="topic-metadata">

**Author:** [@cocolembo](https://discourse.processing.org/u/cocolembo)\
**Replies:** 3\
**Last updated:** [June 26, 2022, 9:52pm UTC](https://discourse.processing.org/t/how-to-record-many-audio-recorder/4244 "2022-06-26T21:52:53Z")

</div>

Hi, I’m a beginner in Processing, here is a code to record an audio from micro input. (from minim library) The sketch allow to record an audio but just only one recording. I would like to record a new recording at eac…

---

## [Minim delay & other effects](https://discourse.processing.org/t/minim-delay-other-effects/34707)

<div class="topic-metadata">

**Author:** [@Froschgelb](https://discourse.processing.org/u/Froschgelb)\
**Replies:** 2\
**Last updated:** [June 25, 2022, 1:32am UTC](https://discourse.processing.org/t/minim-delay-other-effects/34707 "2022-06-25T01:32:53Z")

</div>

Hi there, I am writing a small program to record audio and apply some basic effects from the minim library, delay & flanger etc. I have implimented the record feature and it works fine however trying to patch effects is …

---

## [Using p5.play with React?](https://discourse.processing.org/t/using-p5-play-with-react/37658)

<div class="topic-metadata">

**Author:** [@spallis](https://discourse.processing.org/u/spallis)\
**Replies:** 0\
**Last updated:** [June 20, 2022, 7:19pm UTC](https://discourse.processing.org/t/using-p5-play-with-react/37658 "2022-06-20T19:19:08Z")

</div>

I am trying to use p5.play with React (p5.play - a game library for p5.js). I tried following the example listed on the Github, but the example only uses an index.html and sketch.js file. When I tried using in a React co…

---

## [Stream Processing Sketch using NDI](https://discourse.processing.org/t/stream-processing-sketch-using-ndi/37650)

<div class="topic-metadata">

**Author:** [@erkek](https://discourse.processing.org/u/erkek)\
**Replies:** 0\
**Last updated:** [June 20, 2022, 2:13pm UTC](https://discourse.processing.org/t/stream-processing-sketch-using-ndi/37650 "2022-06-20T14:13:44Z")

</div>

Hi, I am currently working on a project in which I want to create an animation using Processing that is modified live by microphone input. The whole thing should be transmitted (preferably via NDI) to an ioversal vertex…

---

## [Need Help / Processing change video if](https://discourse.processing.org/t/need-help-processing-change-video-if/37566)

<div class="topic-metadata">

**Author:** [@Player07781](https://discourse.processing.org/u/Player07781)\
**Replies:** 2\
**Last updated:** [June 16, 2022, 7:09am UTC](https://discourse.processing.org/t/need-help-processing-change-video-if/37566 "2022-06-16T07:09:34Z")

</div>

please format code with \</\> button \* homework policy \* asking questions I have tried using this code but the code I put in 4 videos but the video only plays the first video as if other videos are playing after the fir…

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

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