# Libraries

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

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

**Page:** 51

---

## [Sending dmx output? (not enttec)](https://discourse.processing.org/t/sending-dmx-output-not-enttec/14984)

<div class="topic-metadata">

**Author:** [@bananana](https://discourse.processing.org/u/bananana)\
**Replies:** 0\
**Last updated:** [October 28, 2019, 4:07pm UTC](https://discourse.processing.org/t/sending-dmx-output-not-enttec/14984 "2019-10-28T16:07:56Z")

</div>

Anyone have suggestions for usb devices that can send DMX and work with Processing? I have an enttec usb pro which works well but looking for something cheaper that I can use. Thanks!

---

## [Resizing Kinect depth image for use as 'reveal mask'](https://discourse.processing.org/t/resizing-kinect-depth-image-for-use-as-reveal-mask/14764)

<div class="topic-metadata">

**Author:** [@dbvm](https://discourse.processing.org/u/dbvm)\
**Replies:** 2\
**Last updated:** [October 28, 2019, 10:09am UTC](https://discourse.processing.org/t/resizing-kinect-depth-image-for-use-as-reveal-mask/14764 "2019-10-28T10:09:12Z")

</div>

Hello all I’ve been programming interactive apps using a Kinect v2 model 1520 using Processing 3.5.3. This app will be for a top-down projection that uses a persons blob to reveal an image below another. In effect, the …

---

## [Random video generated for every mouse click](https://discourse.processing.org/t/random-video-generated-for-every-mouse-click/14958)

<div class="topic-metadata">

**Author:** [@szb1](https://discourse.processing.org/u/szb1)\
**Replies:** 6\
**Last updated:** [October 27, 2019, 1:51am UTC](https://discourse.processing.org/t/random-video-generated-for-every-mouse-click/14958 "2019-10-27T01:51:12Z")

</div>

Hi, I am trying to get a random video to play from an array but a selected number only for when I press the left or right click. For this I created two seperate variables to generate a random number. Every time I click…

---

## [NullPointerException when after 2 secconds](https://discourse.processing.org/t/nullpointerexception-when-after-2-secconds/14871)

<div class="topic-metadata">

**Author:** [@DatSoi](https://discourse.processing.org/u/DatSoi)\
**Replies:** 4\
**Last updated:** [October 23, 2019, 7:57am UTC](https://discourse.processing.org/t/nullpointerexception-when-after-2-secconds/14871 "2019-10-23T07:57:57Z")

</div>

Hi so my code seems to give me NullPointerException when i get to the 86th line. Im not sure why could you help. import gab.opencv.\*; import processing.video.\*; import java.awt.\*; int maxImages = 61; //61 Frames int im…

---

## [Concurrent Modification Exception question](https://discourse.processing.org/t/concurrent-modification-exception-question/14905)

<div class="topic-metadata">

**Author:** [@robbyc23](https://discourse.processing.org/u/robbyc23)\
**Replies:** 5\
**Last updated:** [October 25, 2019, 10:43am UTC](https://discourse.processing.org/t/concurrent-modification-exception-question/14905 "2019-10-25T10:43:04Z")

</div>

Hello, I’ve been figuring out the cause of my issue (adding to an array while simultaneously deleting from it), but can’t figure out how to work around it…yet. I’ve repurposed some code from Shiffman’s Nature of Code t…

---

## [Metadata-extractor](https://discourse.processing.org/t/metadata-extractor/14798)

<div class="topic-metadata">

**Author:** [@m47k0](https://discourse.processing.org/u/m47k0)\
**Replies:** 6\
**Last updated:** [October 24, 2019, 7:34pm UTC](https://discourse.processing.org/t/metadata-extractor/14798 "2019-10-24T19:34:28Z")

</div>

hi looking to read exif data & found: which led to metadata-extractor. https://drewnoakes.com/code/exif/ I appear to be able to import the jar after setting it up in the Processing library, but then it fails at…

---

## [Is there a way to tell if an element is being hovered in G4P?](https://discourse.processing.org/t/is-there-a-way-to-tell-if-an-element-is-being-hovered-in-g4p/14897)

<div class="topic-metadata">

**Author:** [@carbonne](https://discourse.processing.org/u/carbonne)\
**Replies:** 2\
**Last updated:** [October 24, 2019, 9:33am UTC](https://discourse.processing.org/t/is-there-a-way-to-tell-if-an-element-is-being-hovered-in-g4p/14897 "2019-10-24T09:33:16Z")

</div>

I’m using this amazing library for the first time and the only thing it doesn’t have is a menu. So I’m trying to build my own menu using the elements provided by the library and I’m wondering if there is a simple way th…

---

## [Webcam doesn't work on OSX Sierra 10.12.6](https://discourse.processing.org/t/webcam-doesnt-work-on-osx-sierra-10-12-6/14903)

<div class="topic-metadata">

**Author:** [@yrd214](https://discourse.processing.org/u/yrd214)\
**Replies:** 1\
**Last updated:** [October 23, 2019, 8:43pm UTC](https://discourse.processing.org/t/webcam-doesnt-work-on-osx-sierra-10-12-6/14903 "2019-10-23T20:43:51Z")

</div>

I’m trying to capture my webcam in Processing, but it doesn’t work. I’m using Processing 3.5.3 OSX Sierra 10.12.6 I used the code from the reference: import processing.video.\*; Capture cam; void setup() { size(640…

---

## [Kinect getting raw data and value](https://discourse.processing.org/t/kinect-getting-raw-data-and-value/14737)

<div class="topic-metadata">

**Author:** [@luonglinhle](https://discourse.processing.org/u/luonglinhle)\
**Replies:** 2\
**Last updated:** [October 20, 2019, 6:52pm UTC](https://discourse.processing.org/t/kinect-getting-raw-data-and-value/14737 "2019-10-20T18:52:45Z")

</div>

Hello! I am a newbie. I was wondering if anyone know how to get raw values that measure distance in Kinect V1 and V2? I am also working via MacBook so I wonder if it makes much different in processing program. My purpo…

---

## [Changing the PImage colour if images overlap](https://discourse.processing.org/t/changing-the-pimage-colour-if-images-overlap/14817)

<div class="topic-metadata">

**Author:** [@DatSoi](https://discourse.processing.org/u/DatSoi)\
**Replies:** 0\
**Last updated:** [October 20, 2019, 8:39am UTC](https://discourse.processing.org/t/changing-the-pimage-colour-if-images-overlap/14817 "2019-10-20T08:39:26Z")

</div>

How do i change the tint() of an PImage if the detected face is next to the PImage. import gab.opencv.\*; import processing.video.\*; import java.awt.\*; PImage img; PImage background; PImage imgCoral; color colCoral; …

---

## [Changing colour depending on location](https://discourse.processing.org/t/changing-colour-depending-on-location/14799)

<div class="topic-metadata">

**Author:** [@DatSoi](https://discourse.processing.org/u/DatSoi)\
**Replies:** 10\
**Last updated:** [October 20, 2019, 7:11am UTC](https://discourse.processing.org/t/changing-colour-depending-on-location/14799 "2019-10-20T07:11:25Z")

</div>

Hi there, im a huge beginner to processing, but i was wondering how you could go about changin the colour of an image depending on the location of an object, (a users face location which is being located by OpenCV). Tha…

---

## [Adding the Spout code to my sketch (audio input visualizer)](https://discourse.processing.org/t/adding-the-spout-code-to-my-sketch-audio-input-visualizer/14531)

<div class="topic-metadata">

**Author:** [@addybart](https://discourse.processing.org/u/addybart)\
**Replies:** 1\
**Last updated:** [October 19, 2019, 3:42am UTC](https://discourse.processing.org/t/adding-the-spout-code-to-my-sketch-audio-input-visualizer/14531 "2019-10-19T03:42:03Z")

</div>

Hello there. I’m new to Processing and struggling to add the Spout code to my sketch (an audio input visualizer) to get it to show up in Resolume 6. I can get the Spout demo to work in Resolume but it’s pure guesswork a…

---

## [Imported .dae file not showing properly](https://discourse.processing.org/t/imported-dae-file-not-showing-properly/14714)

<div class="topic-metadata">

**Author:** [@agp](https://discourse.processing.org/u/agp)\
**Replies:** 9\
**Last updated:** [October 18, 2019, 9:14am UTC](https://discourse.processing.org/t/imported-dae-file-not-showing-properly/14714 "2019-10-18T09:14:42Z")

</div>

What I am trying to do is export from Blender a .dae file of an animated object and then import this file on processing and use it there. I created a rotating cube, baked action and exported it as .dae file. the problem …

---

## [Wanting to change the saturation of an image depending on location](https://discourse.processing.org/t/wanting-to-change-the-saturation-of-an-image-depending-on-location/14629)

<div class="topic-metadata">

**Author:** [@DatSoi](https://discourse.processing.org/u/DatSoi)\
**Replies:** 1\
**Last updated:** [October 16, 2019, 10:55pm UTC](https://discourse.processing.org/t/wanting-to-change-the-saturation-of-an-image-depending-on-location/14629 "2019-10-16T22:55:10Z")

</div>

Hi, so im looking to change the saturation of the “coral” im my code. I have the image connected to open CV so it tracks your face. Im wanting to have the colour of the coral be in greyscale when the tracking image is in…

---

## [Minim: Play a random song out of an array](https://discourse.processing.org/t/minim-play-a-random-song-out-of-an-array/14683)

<div class="topic-metadata">

**Author:** [@QueenBee](https://discourse.processing.org/u/QueenBee)\
**Replies:** 7\
**Last updated:** [October 16, 2019, 4:35am UTC](https://discourse.processing.org/t/minim-play-a-random-song-out-of-an-array/14683 "2019-10-16T04:35:34Z")

</div>

Hey! I’m trying to make a sketch that plays a random sound out of a pre-loaded AudioPlayer array in certain for loop conditions. My problem is that for some reason ALL 3 items in the array play at once when I use – (in…

---

## [Transferring variables using network library](https://discourse.processing.org/t/transferring-variables-using-network-library/14705)

<div class="topic-metadata">

**Author:** [@111foxman111](https://discourse.processing.org/u/111foxman111)\
**Replies:** 3\
**Last updated:** [October 15, 2019, 6:56pm UTC](https://discourse.processing.org/t/transferring-variables-using-network-library/14705 "2019-10-15T18:56:24Z")

</div>

I am making a game in which there I need several variables to be transferred from the client to the server and vice-versa. This also involves variables located in a class. I have made the game work in on a single proje…

---

## [Selecting & Moving 3D Primitives - urgent](https://discourse.processing.org/t/selecting-moving-3d-primitives-urgent/14702)

<div class="topic-metadata">

**Author:** [@hmaz](https://discourse.processing.org/u/hmaz)\
**Replies:** 9\
**Last updated:** [October 15, 2019, 3:46pm UTC](https://discourse.processing.org/t/selecting-moving-3d-primitives-urgent/14702 "2019-10-15T15:46:27Z")

</div>

Following on from my topic about selecting and moving 2D primitives, i am now looking for guidance as to how i can achieve this with 3D primitives. There are three items id like assistance with in this script: (A) - How…

---

## [Selecting & Moving 2D Primitives](https://discourse.processing.org/t/selecting-moving-2d-primitives/14686)

<div class="topic-metadata">

**Author:** [@hmaz](https://discourse.processing.org/u/hmaz)\
**Replies:** 7\
**Last updated:** [October 14, 2019, 10:20pm UTC](https://discourse.processing.org/t/selecting-moving-2d-primitives/14686 "2019-10-14T22:20:43Z")

</div>

Can someone please help me develop my script so that i can select individual entities and move them around the canvas using the mouse. Thankyou SCRIPT: //LIBRARIES import controlP5.\*; //VARIABLES int c = color(100); //…

---

## [Using oscP5 with Buttons](https://discourse.processing.org/t/using-oscp5-with-buttons/14620)

<div class="topic-metadata">

**Author:** [@SarcasticIrony](https://discourse.processing.org/u/SarcasticIrony)\
**Replies:** 3\
**Last updated:** [October 14, 2019, 6:43pm UTC](https://discourse.processing.org/t/using-oscp5-with-buttons/14620 "2019-10-14T18:43:43Z")

</div>

Hi, I’d like to change the background color of the second sketch using buttons from the first one. I get them to talk to each other using mouse click back and forth, but I’m struggling to switch it to a button. I first s…

---

## [Tracking user location in a physical grid using a webcam?](https://discourse.processing.org/t/tracking-user-location-in-a-physical-grid-using-a-webcam/14607)

<div class="topic-metadata">

**Author:** [@JPG](https://discourse.processing.org/u/JPG)\
**Replies:** 3\
**Last updated:** [October 14, 2019, 3:35pm UTC](https://discourse.processing.org/t/tracking-user-location-in-a-physical-grid-using-a-webcam/14607 "2019-10-14T15:35:47Z")

</div>

Below is an image of a basic grid that I have in processing. I want to map a users physical location in a space to a location on a grid in processing in real time. Can anyone tell me if it is possible to track a users ph…

---

## [Some problems Using HE\_Mesh library](https://discourse.processing.org/t/some-problems-using-he-mesh-library/14689)

<div class="topic-metadata">

**Author:** [@jlnsrtr](https://discourse.processing.org/u/jlnsrtr)\
**Replies:** 2\
**Last updated:** [October 14, 2019, 1:58pm UTC](https://discourse.processing.org/t/some-problems-using-he-mesh-library/14689 "2019-10-14T13:58:43Z")

</div>

Hi guys! Just started working with Processing for my thesis project, a research on generative and procedural expressions used in graphic design. I’m using the CANGenerativeTypography by Anon Owen folder to make some ex…

---

## [PoseNet + Processing Error: JSONArray\[0\] is not a JSONObject](https://discourse.processing.org/t/posenet-processing-error-jsonarray-0-is-not-a-jsonobject/14302)

<div class="topic-metadata">

**Author:** [@QueenBee](https://discourse.processing.org/u/QueenBee)\
**Replies:** 10\
**Last updated:** [October 14, 2019, 6:56am UTC](https://discourse.processing.org/t/posenet-processing-error-jsonarray-0-is-not-a-jsonobject/14302 "2019-10-14T06:56:58Z")

</div>

Hi! I’ve been following Daniel Shiffman’s Runway tutorial on using PoseNet with processing (as an alternative to the ever finnicky Kinect!) I’m getting the following error right at the end of the tutorial: …

---

## [Puzzle with ControlP5](https://discourse.processing.org/t/puzzle-with-controlp5/14643)

<div class="topic-metadata">

**Author:** [@nimbinensis](https://discourse.processing.org/u/nimbinensis)\
**Replies:** 7\
**Last updated:** [October 13, 2019, 2:59am UTC](https://discourse.processing.org/t/puzzle-with-controlp5/14643 "2019-10-13T02:59:56Z")

</div>

Hello all. I have a question about CP5 events. Here’s small program: import controlP5.\*; ControlP5 cp5; boolean looping; void setup() { size(200, 200); cp5 = new ControlP5(this); cp5.addToggle("Click") …

---

## [Use web socket to transfer a String](https://discourse.processing.org/t/use-web-socket-to-transfer-a-string/14642)

<div class="topic-metadata">

**Author:** [@zly1994411](https://discourse.processing.org/u/zly1994411)\
**Replies:** 2\
**Last updated:** [October 13, 2019, 12:45am UTC](https://discourse.processing.org/t/use-web-socket-to-transfer-a-string/14642 "2019-10-13T00:45:32Z")

</div>

Hey guys, I was trying to transfer a String from Node server to processing, the data do come in but when I do the conditional check, the msg == “8” returns false? Can anyone help me with this? Is there a datatype differe…

---

## [Analyzing two SoundFile objects at the same time](https://discourse.processing.org/t/analyzing-two-soundfile-objects-at-the-same-time/14616)

<div class="topic-metadata">

**Author:** [@Brunehilde](https://discourse.processing.org/u/Brunehilde)\
**Replies:** 3\
**Last updated:** [October 11, 2019, 8:25pm UTC](https://discourse.processing.org/t/analyzing-two-soundfile-objects-at-the-same-time/14616 "2019-10-11T20:25:20Z")

</div>

Hi there, I was setting up a test scene to, well, test stuff, when I stumbled across this problem : it would seem that I can’t analyze two SoundFile objects at the same time. I’ve tried with a WhiteNoise and an AudioIn a…

---

## [Adding an Array but gets NullPointException](https://discourse.processing.org/t/adding-an-array-but-gets-nullpointexception/14595)

<div class="topic-metadata">

**Author:** [@DatSoi](https://discourse.processing.org/u/DatSoi)\
**Replies:** 1\
**Last updated:** [October 11, 2019, 3:48am UTC](https://discourse.processing.org/t/adding-an-array-but-gets-nullpointexception/14595 "2019-10-11T03:48:32Z")

</div>

Hi, so im working on a code where it will track a users face through the OpenCV library. At the moment the code works with a single image and will trace the users face. However when i add an Array to it to add a element …

---

## [Mirror video doodles. ArrayIndexOutOfBoundsException](https://discourse.processing.org/t/mirror-video-doodles-arrayindexoutofboundsexception/14557)

<div class="topic-metadata">

**Author:** [@elom1213](https://discourse.processing.org/u/elom1213)\
**Replies:** 2\
**Last updated:** [October 10, 2019, 9:17am UTC](https://discourse.processing.org/t/mirror-video-doodles-arrayindexoutofboundsexception/14557 "2019-10-10T09:17:38Z")

</div>

While I’m studying the book ‘Learning processing’, written by Daniel Shiffman, there’s keep error on my code. import processing.video.\*; Capture video; float x; float y; void setup() { size(352, 288); background(2…

---

## [Rotating Object with Leap Motion](https://discourse.processing.org/t/rotating-object-with-leap-motion/14560)

<div class="topic-metadata">

**Author:** [@hamishryan6](https://discourse.processing.org/u/hamishryan6)\
**Replies:** 1\
**Last updated:** [October 10, 2019, 12:05am UTC](https://discourse.processing.org/t/rotating-object-with-leap-motion/14560 "2019-10-10T00:05:20Z")

</div>

Hi All, I am having trouble using Processing with my Leap Motion device. I want to be able to rotate an image depending on where my pinky is on the screen. Therefore, I am trying to find the angle between my thumb (wher…

---

## [Leap Motion - Detect the number of hands visible](https://discourse.processing.org/t/leap-motion-detect-the-number-of-hands-visible/14514)

<div class="topic-metadata">

**Author:** [@hamishryan6](https://discourse.processing.org/u/hamishryan6)\
**Replies:** 1\
**Last updated:** [October 8, 2019, 12:03pm UTC](https://discourse.processing.org/t/leap-motion-detect-the-number-of-hands-visible/14514 "2019-10-08T12:03:37Z")

</div>

Hi All, I have only just started using Leap Motion in Processing and I was wondering if there is a way of detecting how many active hands are being detected by the Leap Motion device. I want to make an ellipse appear wh…

---

## [Firing g4p events](https://discourse.processing.org/t/firing-g4p-events/14496)

<div class="topic-metadata">

**Author:** [@jeppius](https://discourse.processing.org/u/jeppius)\
**Replies:** 2\
**Last updated:** [October 7, 2019, 5:37pm UTC](https://discourse.processing.org/t/firing-g4p-events/14496 "2019-10-07T17:37:03Z")

</div>

Hi there, I would like to fire a CLICKED and RELEASED g4p button event by pressing a certain key on the keyboard. That is, I would like the same visual feedback as if I had manually clicked the button with the mouse. W…

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

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