# Libraries

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

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

**Page:** 44

---

## [Cannot find a class or type named "ControlFrame"](https://discourse.processing.org/t/cannot-find-a-class-or-type-named-controlframe/18868)

<div class="topic-metadata">

**Author:** [@lucluc1](https://discourse.processing.org/u/lucluc1)\
**Replies:** 5\
**Last updated:** [March 22, 2020, 12:14pm UTC](https://discourse.processing.org/t/cannot-find-a-class-or-type-named-controlframe/18868 "2020-03-22T12:14:51Z")

</div>

hi, I’m try an example find on : “http://www.sojamo.de/libraries/controlP5/examples/extra/ControlP5frame/ControlP5frame.pde” and obtain an error code: cannot find a class or type named “ControlFrame”. Does someone hav…

---

## [Not enough memory while referencing array](https://discourse.processing.org/t/not-enough-memory-while-referencing-array/18787)

<div class="topic-metadata">

**Author:** [@BongoTurtle](https://discourse.processing.org/u/BongoTurtle)\
**Replies:** 2\
**Last updated:** [March 19, 2020, 10:43pm UTC](https://discourse.processing.org/t/not-enough-memory-while-referencing-array/18787 "2020-03-19T22:43:04Z")

</div>

I am trying to create a simulation of an ocean and I need to be able to move fish around based on a background fluid. When I try to do this I get a message saying “Could not run the sketch (Target VM failed to initialize…

---

## [How to deal with conflicting classes](https://discourse.processing.org/t/how-to-deal-with-conflicting-classes/18794)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 4\
**Last updated:** [March 19, 2020, 6:09pm UTC](https://discourse.processing.org/t/how-to-deal-with-conflicting-classes/18794 "2020-03-19T18:09:15Z")

</div>

I have imported the poi library, a library which deals with parsing word documents, however the library itself uses a class called table which is shared with the main processing library, which I would also like to make u…

---

## [How to add methods to imported library or class](https://discourse.processing.org/t/how-to-add-methods-to-imported-library-or-class/18527)

<div class="topic-metadata">

**Author:** [@ffd8](https://discourse.processing.org/u/ffd8)\
**Replies:** 6\
**Last updated:** [March 16, 2020, 11:54am UTC](https://discourse.processing.org/t/how-to-add-methods-to-imported-library-or-class/18527 "2020-03-16T11:54:40Z")

</div>

Wondering if there’s a basic technique to add/overwrite methods to an imported library and class instance? Maybe this is possible with extends/implements, which I don’t totally understand… I’m messing with the Hershey f…

---

## [How to use cad file to render realistically in 3D](https://discourse.processing.org/t/how-to-use-cad-file-to-render-realistically-in-3d/18334)

<div class="topic-metadata">

**Author:** [@adaptinnovative](https://discourse.processing.org/u/adaptinnovative)\
**Replies:** 6\
**Last updated:** [March 13, 2020, 7:56pm UTC](https://discourse.processing.org/t/how-to-use-cad-file-to-render-realistically-in-3d/18334 "2020-03-13T19:56:08Z")

</div>

Is there any way to take a cad file and render it in 3D using processing?

---

## [The function setTrackOffset() doesn't exist?](https://discourse.processing.org/t/the-function-settrackoffset-doesnt-exist/18570)

<div class="topic-metadata">

**Author:** [@Houssam](https://discourse.processing.org/u/Houssam)\
**Replies:** 1\
**Last updated:** [March 13, 2020, 3:30am UTC](https://discourse.processing.org/t/the-function-settrackoffset-doesnt-exist/18570 "2020-03-13T03:30:27Z")

</div>

Hi everyone ! I wonder why the public member function setTrackOffset ( float \* offset \* ) doesn’t work . note that i am using G4P library is there any solution ! kb.setTrackOffset(0.0f);

---

## [Unable to load file using Minim::loadFileStream() and others using Minim (without Processing)](https://discourse.processing.org/t/unable-to-load-file-using-minim-loadfilestream-and-others-using-minim-without-processing/18631)

<div class="topic-metadata">

**Author:** [@minim\_minimalist](https://discourse.processing.org/u/minim_minimalist)\
**Replies:** 1\
**Last updated:** [March 13, 2020, 2:21am UTC](https://discourse.processing.org/t/unable-to-load-file-using-minim-loadfilestream-and-others-using-minim-without-processing/18631 "2020-03-13T02:21:37Z")

</div>

Hey all, I am trying to use Minim without Processing and running into some errors. I am compiling correctly, but am unable to load a file that exists. I have added a MinimWrapper class which has the sketchPath and crea…

---

## [controlP5 – Get selected dropdown item text as string?](https://discourse.processing.org/t/controlp5-get-selected-dropdown-item-text-as-string/11236)

<div class="topic-metadata">

**Author:** [@ER-PIP](https://discourse.processing.org/u/ER-PIP)\
**Replies:** 2\
**Last updated:** [March 12, 2020, 5:49pm UTC](https://discourse.processing.org/t/controlp5-get-selected-dropdown-item-text-as-string/11236 "2020-03-12T17:49:59Z")

</div>

UPDATE- Needed to read some Java docs on how to use Map– here is my solution: cwDropdown.getItem((int)val).get("text") Though it returns as an Object rather than a String… Hi- I’m having a heck of a time getting th…

---

## [Scale video to fit canvas size](https://discourse.processing.org/t/scale-video-to-fit-canvas-size/18597)

<div class="topic-metadata">

**Author:** [@ElwoodBlues](https://discourse.processing.org/u/ElwoodBlues)\
**Replies:** 2\
**Last updated:** [March 11, 2020, 2:13pm UTC](https://discourse.processing.org/t/scale-video-to-fit-canvas-size/18597 "2020-03-11T14:13:49Z")

</div>

Hello, I’m running processing on my RaspberryPi 4 with the RaspberryPi Camera Module v2.1. I am currently just capturing a video stream - see code below. My problem is that when I run the sketch, the video is very zoomed…

---

## [How to avoid drawing over oneself while drawing something from loop?](https://discourse.processing.org/t/how-to-avoid-drawing-over-oneself-while-drawing-something-from-loop/18557)

<div class="topic-metadata">

**Author:** [@Samizen](https://discourse.processing.org/u/Samizen)\
**Replies:** 3\
**Last updated:** [March 10, 2020, 12:32pm UTC](https://discourse.processing.org/t/how-to-avoid-drawing-over-oneself-while-drawing-something-from-loop/18557 "2020-03-10T12:32:57Z")

</div>

I am drawing a visualization map. I have connected a slider with the number of counts of my tables. While increasing the slider, the date I displayed as text draws over itself. How can I avoid it? I’ll place a photo of m…

---

## [Sound library constructor with cache doesn't exist](https://discourse.processing.org/t/sound-library-constructor-with-cache-doesnt-exist/18526)

<div class="topic-metadata">

**Author:** [@AkaiKenshi](https://discourse.processing.org/u/AkaiKenshi)\
**Replies:** 2\
**Last updated:** [March 9, 2020, 6:46pm UTC](https://discourse.processing.org/t/sound-library-constructor-with-cache-doesnt-exist/18526 "2020-03-09T18:46:45Z")

</div>

hey so in the documentation for the library in processing.org the SoundFile class has a constructor with three values one of those being the cache… how ever I’ve tried to use it and it seems to no longer be on the librar…

---

## [Receiving error but cannot debug: ArrayIndexOutOfBoundsException](https://discourse.processing.org/t/receiving-error-but-cannot-debug-arrayindexoutofboundsexception/18415)

<div class="topic-metadata">

**Author:** [@firetryer](https://discourse.processing.org/u/firetryer)\
**Replies:** 38\
**Last updated:** [March 9, 2020, 4:45am UTC](https://discourse.processing.org/t/receiving-error-but-cannot-debug-arrayindexoutofboundsexception/18415 "2020-03-09T04:45:08Z")

</div>

int currentScreen; PImage img; PImage img0; PImage img1; import processing.sound.\*; SoundFile file; void setup() { size (1000, 683); noStroke(); smooth(); img = loadImage ("batman.jpeg"); img0 = loadImage ("jo…

---

## [Fisica's FGearJoint](https://discourse.processing.org/t/fisicas-fgearjoint/18037)

<div class="topic-metadata">

**Author:** [@ilinx](https://discourse.processing.org/u/ilinx)\
**Replies:** 2\
**Last updated:** [March 8, 2020, 9:56pm UTC](https://discourse.processing.org/t/fisicas-fgearjoint/18037 "2020-03-08T21:56:01Z")

</div>

Hi all, does anyone have experience with setting up an FGearJoint in Fisica properly? I have attached a little study in which I try to connect two FRevoluteJoints by an FGearJoint. Unfortunately, the Constructor of the…

---

## [\[cp5\] ControlP5 buttons over each others on different page, problem to differenciate them](https://discourse.processing.org/t/cp5-controlp5-buttons-over-each-others-on-different-page-problem-to-differenciate-them/18383)

<div class="topic-metadata">

**Author:** [@anon71376789](https://discourse.processing.org/u/anon71376789)\
**Replies:** 3\
**Last updated:** [March 8, 2020, 9:17pm UTC](https://discourse.processing.org/t/cp5-controlp5-buttons-over-each-others-on-different-page-problem-to-differenciate-them/18383 "2020-03-08T21:17:04Z")

</div>

When I click on “Changer” button, I want to change page, that works. But problem is that I create new buttons and I need them to be the exact same position than those from previous pages but still they need to be distin…

---

## [How to generate waveform or image of entire sound file?](https://discourse.processing.org/t/how-to-generate-waveform-or-image-of-entire-sound-file/7405)

<div class="topic-metadata">

**Author:** [@tkomforty](https://discourse.processing.org/u/tkomforty)\
**Replies:** 3\
**Last updated:** [March 8, 2020, 7:10pm UTC](https://discourse.processing.org/t/how-to-generate-waveform-or-image-of-entire-sound-file/7405 "2020-03-08T19:10:46Z")

</div>

I am fairly comfortable with real-time audio visualizers. However, I am wondering how to go about coding something that would pre-read the whole audio file and generate a visualization based off that. Static instead of r…

---

## [How can I use the Argon2 KDF in Processing?](https://discourse.processing.org/t/how-can-i-use-the-argon2-kdf-in-processing/18420)

<div class="topic-metadata">

**Author:** [@anon68884268](https://discourse.processing.org/u/anon68884268)\
**Replies:** 6\
**Last updated:** [March 8, 2020, 3:31pm UTC](https://discourse.processing.org/t/how-can-i-use-the-argon2-kdf-in-processing/18420 "2020-03-08T15:31:56Z")

</div>

Hello, I am trying to write a simple Messenger myself, and of course I can’t simply send the password of the user to the backend. I found this GitHub repo, but I’m not quite sure how to use it. Cloning it with git and p…

---

## [Pixel flow teleporting test object](https://discourse.processing.org/t/pixel-flow-teleporting-test-object/18395)

<div class="topic-metadata">

**Author:** [@BongoTurtle](https://discourse.processing.org/u/BongoTurtle)\
**Replies:** 2\
**Last updated:** [March 7, 2020, 8:02pm UTC](https://discourse.processing.org/t/pixel-flow-teleporting-test-object/18395 "2020-03-07T20:02:00Z")

</div>

Can someone tell me why sometimes it looks like the circle will teleport? import com.thomasdiewald.pixelflow.java.DwPixelFlow; import com.thomasdiewald.pixelflow.java.dwgl.DwGLTexture; import com.thomasdiewald.pixelflow…

---

## [PixelFlow Examples work on 3.1.x but in 3.5 some things are not drawing can you explain why?](https://discourse.processing.org/t/pixelflow-examples-work-on-3-1-x-but-in-3-5-some-things-are-not-drawing-can-you-explain-why/18376)

<div class="topic-metadata">

**Author:** [@kendrick90](https://discourse.processing.org/u/kendrick90)\
**Replies:** 4\
**Last updated:** [March 7, 2020, 7:12pm UTC](https://discourse.processing.org/t/pixelflow-examples-work-on-3-1-x-but-in-3-5-some-things-are-not-drawing-can-you-explain-why/18376 "2020-03-07T19:12:41Z")

</div>

I am using PixelFlow - Fluid\_Basic as my starting point and I noticed that some elements for example the outer boundary are not drawn in recent versions of processing. Can someone explain to me why it won’t draw the obst…

---

## [Processing listening to wrong IP address when receiving UDP message](https://discourse.processing.org/t/processing-listening-to-wrong-ip-address-when-receiving-udp-message/8175)

<div class="topic-metadata">

**Author:** [@saadjumani](https://discourse.processing.org/u/saadjumani)\
**Replies:** 2\
**Last updated:** [March 7, 2020, 8:44am UTC](https://discourse.processing.org/t/processing-listening-to-wrong-ip-address-when-receiving-udp-message/8175 "2020-03-07T08:44:36Z")

</div>

Hi everyone, I have been trying to connect my NodeMCU device to Processing 3 running on my pc through OSCP5 library through which I am trying to recieve OSC message through UDP port over my local wifi. The problem is th…

---

## [Mixing 2d code and 3d (with kinect and touchboard)](https://discourse.processing.org/t/mixing-2d-code-and-3d-with-kinect-and-touchboard/18353)

<div class="topic-metadata">

**Author:** [@aradeea](https://discourse.processing.org/u/aradeea)\
**Replies:** 2\
**Last updated:** [March 6, 2020, 7:42pm UTC](https://discourse.processing.org/t/mixing-2d-code-and-3d-with-kinect-and-touchboard/18353 "2020-03-06T19:42:48Z")

</div>

Hi there, I have some doubts about an installation project I’m doing. This project involves music, video, a touchboard and a kinect. Here’s what the code is supposed to do: Whenever someone touches one of the touchboa…

---

## [Try-catch structure problem](https://discourse.processing.org/t/try-catch-structure-problem/18437)

<div class="topic-metadata">

**Author:** [@JohnC](https://discourse.processing.org/u/JohnC)\
**Replies:** 1\
**Last updated:** [March 6, 2020, 7:07am UTC](https://discourse.processing.org/t/try-catch-structure-problem/18437 "2020-03-06T07:07:15Z")

</div>

here is a minimise code import processing.video.\*; Movie m; boolean error = false; void setup(){ size(200,200); } void draw(){ background(0); if (error){ background(255,0,0); } } void keyPressed(){ if (k…

---

## [External cameras available for capture?](https://discourse.processing.org/t/external-cameras-available-for-capture/17875)

<div class="topic-metadata">

**Author:** [@mortap](https://discourse.processing.org/u/mortap)\
**Replies:** 5\
**Last updated:** [March 5, 2020, 9:35pm UTC](https://discourse.processing.org/t/external-cameras-available-for-capture/17875 "2020-03-05T21:35:34Z")

</div>

I am planning to purchase a new camera soon (possibly the Sony DSC-RX mark IV, for example). How can I tell ahead of time if Processing will recognize it when I attach it over USB to the computer?

---

## [Initializing values in the ControlP5 button library](https://discourse.processing.org/t/initializing-values-in-the-controlp5-button-library/17578)

<div class="topic-metadata">

**Author:** [@spflanze](https://discourse.processing.org/u/spflanze)\
**Replies:** 5\
**Last updated:** [March 5, 2020, 9:20pm UTC](https://discourse.processing.org/t/initializing-values-in-the-controlp5-button-library/17578 "2020-03-05T21:20:55Z")

</div>

In the below code snippet I find the “.setValue(0)” line triggers the “BrowseOpenOutputFile()” event handler.This caused an undesired file browser dialog (called in the event handler code) to appear at sketch startup. Is…

---

## [Sending value through osc](https://discourse.processing.org/t/sending-value-through-osc/18390)

<div class="topic-metadata">

**Author:** [@chakkourism](https://discourse.processing.org/u/chakkourism)\
**Replies:** 5\
**Last updated:** [March 5, 2020, 7:41pm UTC](https://discourse.processing.org/t/sending-value-through-osc/18390 "2020-03-05T19:41:56Z")

</div>

Hello everyone, I am working on a project and i would like to understand how to write if value = 0, don’t send osc message, or instead send another value. if anyone could help me with this, it would mean a lot . Have …

---

## [Prevent Unfolding Map from panning off screen](https://discourse.processing.org/t/prevent-unfolding-map-from-panning-off-screen/18328)

<div class="topic-metadata">

**Author:** [@wcneill](https://discourse.processing.org/u/wcneill)\
**Replies:** 6\
**Last updated:** [March 5, 2020, 6:24pm UTC](https://discourse.processing.org/t/prevent-unfolding-map-from-panning-off-screen/18328 "2020-03-05T18:24:12Z")

</div>

When I using unfolding maps, there is no limit on how far you can pan. When you pan too far, however, this happens: I have tried restricting panning via the method setPanningRestriction(center, maxdistance), however t…

---

## [ControlP5 - Button's Transparency?](https://discourse.processing.org/t/controlp5-buttons-transparency/18393)

<div class="topic-metadata">

**Author:** [@iamjustcurious](https://discourse.processing.org/u/iamjustcurious)\
**Replies:** 1\
**Last updated:** [March 5, 2020, 2:48pm UTC](https://discourse.processing.org/t/controlp5-buttons-transparency/18393 "2020-03-05T14:48:50Z")

</div>

Hello, How can I change the transparency of a button in ControlP5 library?

---

## [Getting webcam to turn on with video library](https://discourse.processing.org/t/getting-webcam-to-turn-on-with-video-library/18207)

<div class="topic-metadata">

**Author:** [@Coton](https://discourse.processing.org/u/Coton)\
**Replies:** 2\
**Last updated:** [March 4, 2020, 9:13pm UTC](https://discourse.processing.org/t/getting-webcam-to-turn-on-with-video-library/18207 "2020-03-04T21:13:16Z")

</div>

Hi! I’m still very new to processing, I haven’t used it in a while and I’ve changed computer since the last time I was experimenting with it. I’m trying to get the built in webcam on my 2013 Macbook Pro Retina to show …

---

## [Saving Handy outputs as vectors](https://discourse.processing.org/t/saving-handy-outputs-as-vectors/18380)

<div class="topic-metadata">

**Author:** [@epiphany](https://discourse.processing.org/u/epiphany)\
**Replies:** 4\
**Last updated:** [March 4, 2020, 3:04pm UTC](https://discourse.processing.org/t/saving-handy-outputs-as-vectors/18380 "2020-03-04T15:04:19Z")

</div>

I normally use PDF export method to save my outputs as vector files. beginRecord and endRecord always are enough to do this. However I am unable to save Handy Library (https://github.com/gicentre/handy) outputs as PDFs. …

---

## [Need output from bandpass filter](https://discourse.processing.org/t/need-output-from-bandpass-filter/18214)

<div class="topic-metadata">

**Author:** [@stupidquestion](https://discourse.processing.org/u/stupidquestion)\
**Replies:** 1\
**Last updated:** [March 4, 2020, 2:52pm UTC](https://discourse.processing.org/t/need-output-from-bandpass-filter/18214 "2020-03-04T14:52:24Z")

</div>

I need to get at least a number (preferably amplitude/loudness) from a bandpass filter. right now I’m just using the processing sound library. is this adequate? if so; how do I do this? can I do this multiple times in t…

---

## [Game Control Plus not getting any value from joystick](https://discourse.processing.org/t/game-control-plus-not-getting-any-value-from-joystick/18352)

<div class="topic-metadata">

**Author:** [@Noor](https://discourse.processing.org/u/Noor)\
**Replies:** 3\
**Last updated:** [March 4, 2020, 11:40am UTC](https://discourse.processing.org/t/game-control-plus-not-getting-any-value-from-joystick/18352 "2020-03-04T11:40:58Z")

</div>

I am using Game Control Plus for a “Generic USB Joystick”. In the Gpc\_Congigurator, I can easily get the X Axis and Y Axis values from the joystick. I’m trying to just print the values of the X and Y axis but just get…

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

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