# Libraries

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

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

**Page:** 66

---

## [Export to PDF will not render vectors](https://discourse.processing.org/t/export-to-pdf-will-not-render-vectors/7064)

<div class="topic-metadata">

**Author:** [@Hub33s](https://discourse.processing.org/u/Hub33s)\
**Replies:** 13\
**Last updated:** [January 3, 2019, 5:09pm UTC](https://discourse.processing.org/t/export-to-pdf-will-not-render-vectors/7064 "2019-01-03T17:09:14Z")

</div>

I am new to processing and was motivated to work on something I found interesting, things are coming along just fine but I can’t export vector based output from my sketch. I am using the Hype libraries hypeframework-dot-…

---

## [Issues with sound output](https://discourse.processing.org/t/issues-with-sound-output/7104)

<div class="topic-metadata">

**Author:** [@mllobet](https://discourse.processing.org/u/mllobet)\
**Replies:** 2\
**Last updated:** [January 3, 2019, 8:49am UTC](https://discourse.processing.org/t/issues-with-sound-output/7104 "2019-01-03T08:49:54Z")

</div>

I’m new in this stuff and my code can’t sound. Someone can help me to make that code sound? Thank you import ddf.minim.\*; import ddf.minim.ugens.\*; Minim minim; AudioOutput out; void setup(){ minim = new Minim(this); …

---

## [OpenCV contour get specific point X Y values](https://discourse.processing.org/t/opencv-contour-get-specific-point-x-y-values/7079)

<div class="topic-metadata">

**Author:** [@felloduarte](https://discourse.processing.org/u/felloduarte)\
**Replies:** 2\
**Last updated:** [January 2, 2019, 11:35am UTC](https://discourse.processing.org/t/opencv-contour-get-specific-point-x-y-values/7079 "2019-01-02T11:35:39Z")

</div>

Hi all! i’m a bit of a newbie here i’m working with openCV Library and i’m trying to make a sketch that draw lines between points of a contour. I have no experience working with array lists and pvectors, but basicaly i…

---

## [Exporting program doesnt seem to work properly](https://discourse.processing.org/t/exporting-program-doesnt-seem-to-work-properly/7044)

<div class="topic-metadata">

**Author:** [@siccoblue](https://discourse.processing.org/u/siccoblue)\
**Replies:** 1\
**Last updated:** [January 1, 2019, 3:11am UTC](https://discourse.processing.org/t/exporting-program-doesnt-seem-to-work-properly/7044 "2019-01-01T03:11:08Z")

</div>

hey folks, im not really any sort of coder myself, i wont pretend to be, (although im in the early stages of learning js) rather im following a tutorial called adalight, making a backlit monitor that tracks colors on the…

---

## [How to replace "noise" with "music"?](https://discourse.processing.org/t/how-to-replace-noise-with-music/7001)

<div class="topic-metadata">

**Author:** [@aewan](https://discourse.processing.org/u/aewan)\
**Replies:** 2\
**Last updated:** [December 30, 2018, 6:17pm UTC](https://discourse.processing.org/t/how-to-replace-noise-with-music/7001 "2018-12-30T18:17:41Z")

</div>

Hi everyone! I really love sketches like these two: They are based off the noise function in processing, but I would like to try and change them to work off music files. Using Minim to play an audio file, I’ve t…

---

## [I don't know if the result is the right result for a penteract( aka: 5D"cube")](https://discourse.processing.org/t/i-dont-know-if-the-result-is-the-right-result-for-a-penteract-aka-5d-cube/6981)

<div class="topic-metadata">

**Author:** [@ExellentCoin2044](https://discourse.processing.org/u/ExellentCoin2044)\
**Replies:** 3\
**Last updated:** [December 30, 2018, 5:34pm UTC](https://discourse.processing.org/t/i-dont-know-if-the-result-is-the-right-result-for-a-penteract-aka-5d-cube/6981 "2018-12-30T17:34:53Z")

</div>

Hello First, I created a cube in a 2D engine (processing) slightly inspired by Daniel Shiffmann. Then I made I Hypercube also inspired by him. In that video he talks about the fact that you could take further and make a…

---

## [Using "get" to save pictures, but they come up in color](https://discourse.processing.org/t/using-get-to-save-pictures-but-they-come-up-in-color/6944)

<div class="topic-metadata">

**Author:** [@laptophead](https://discourse.processing.org/u/laptophead)\
**Replies:** 8\
**Last updated:** [December 30, 2018, 12:51am UTC](https://discourse.processing.org/t/using-get-to-save-pictures-but-they-come-up-in-color/6944 "2018-12-30T00:51:01Z")

</div>

I wrote this event triggered picture saving sketch. I want to put the pics in the tenser flow later. I have 2 cameras connected in the same time and after I bring the video in, I turn it into grayscale right away with …

---

## [How to translate Mouse to MIDI?](https://discourse.processing.org/t/how-to-translate-mouse-to-midi/6927)

<div class="topic-metadata">

**Author:** [@tootha](https://discourse.processing.org/u/tootha)\
**Replies:** 1\
**Last updated:** [December 28, 2018, 2:24am UTC](https://discourse.processing.org/t/how-to-translate-mouse-to-midi/6927 "2018-12-28T02:24:17Z")

</div>

Hey guys, I am a beginner and try to read out a mouse to translate it into MIDI signals, but I have a few problems. First of all I dont know why the mouse output to the left and right is not the same. It should be equal…

---

## [Sound and Random Shape Typing](https://discourse.processing.org/t/sound-and-random-shape-typing/6877)

<div class="topic-metadata">

**Author:** [@vale](https://discourse.processing.org/u/vale)\
**Replies:** 3\
**Last updated:** [December 24, 2018, 6:35pm UTC](https://discourse.processing.org/t/sound-and-random-shape-typing/6877 "2018-12-24T18:35:13Z")

</div>

Hi everyone, I am editing an example of the Processing sound library. I would like that each time that a key has pressed an ellipse will be generated in a random position. I am stuck because the circle is generated rand…

---

## [Drawing lines through openCV edge detection pixels](https://discourse.processing.org/t/drawing-lines-through-opencv-edge-detection-pixels/6833)

<div class="topic-metadata">

**Author:** [@heaversm](https://discourse.processing.org/u/heaversm)\
**Replies:** 0\
**Last updated:** [December 23, 2018, 1:03am UTC](https://discourse.processing.org/t/drawing-lines-through-opencv-edge-detection-pixels/6833 "2018-12-23T01:03:49Z")

</div>

I am doing canny edge detection with opencv in processing (source, webcam source) add coloring edge pixels a certain color. However, what I would like to do is draw curved lines through edges that have neighboring pixels…

---

## [Processing program using OSC messages](https://discourse.processing.org/t/processing-program-using-osc-messages/6147)

<div class="topic-metadata">

**Author:** [@justin](https://discourse.processing.org/u/justin)\
**Replies:** 9\
**Last updated:** [December 21, 2018, 8:10pm UTC](https://discourse.processing.org/t/processing-program-using-osc-messages/6147 "2018-12-21T20:10:53Z")

</div>

Hello friends, I am beginner in this programming platform.Can anybody help me with a code to convert the below described program with OSC message using accelerometer data from an android phone.It is a simple program whi…

---

## [Need help going around "wall" with pathfinder](https://discourse.processing.org/t/need-help-going-around-wall-with-pathfinder/6785)

<div class="topic-metadata">

**Author:** [@Whahahahaha](https://discourse.processing.org/u/Whahahahaha)\
**Replies:** 2\
**Last updated:** [December 21, 2018, 8:48am UTC](https://discourse.processing.org/t/need-help-going-around-wall-with-pathfinder/6785 "2018-12-21T08:48:42Z")

</div>

I need help with the library for path planning from @quark, although it may not actually be specific for the library. I have the program from this thread: https://discourse.processing.org/t/path-finder-java-pathfinder-l…

---

## [Put and Select an object variables in a list](https://discourse.processing.org/t/put-and-select-an-object-variables-in-a-list/6764)

<div class="topic-metadata">

**Author:** [@vjjv](https://discourse.processing.org/u/vjjv)\
**Replies:** 1\
**Last updated:** [December 20, 2018, 5:31am UTC](https://discourse.processing.org/t/put-and-select-an-object-variables-in-a-list/6764 "2018-12-20T05:31:22Z")

</div>

hello! i need some help to figure it out how can i put a few object variables into a list. What i want is to have a list with the names of the variables, select the variable and with a slider change it value. Here\`s my c…

---

## [Looking for a library to make tree plots](https://discourse.processing.org/t/looking-for-a-library-to-make-tree-plots/6393)

<div class="topic-metadata">

**Author:** [@solub](https://discourse.processing.org/u/solub)\
**Replies:** 7\
**Last updated:** [December 19, 2018, 10:18pm UTC](https://discourse.processing.org/t/looking-for-a-library-to-make-tree-plots/6393 "2018-12-19T22:18:10Z")

</div>

Hi, Do you know if there’s a Processing library to make node-based tree graphs (other than the correlation library that is unfortunaltely not P3 compatible) ? Thanks.

---

## [Creating animated Triangle Patterns](https://discourse.processing.org/t/creating-animated-triangle-patterns/6702)

<div class="topic-metadata">

**Author:** [@mmrpl](https://discourse.processing.org/u/mmrpl)\
**Replies:** 3\
**Last updated:** [December 19, 2018, 9:10pm UTC](https://discourse.processing.org/t/creating-animated-triangle-patterns/6702 "2018-12-19T21:10:30Z")

</div>

Hi there, I’d like to create a loop animation of a triangle mesh or pattern - like this. I started looking through toxiclibs and voronoi in general. My problem though is that I don’t really know where to start and what’…

---

## [Custom world map how to draw country shapes](https://discourse.processing.org/t/custom-world-map-how-to-draw-country-shapes/6712)

<div class="topic-metadata">

**Author:** [@carlesgutierrez](https://discourse.processing.org/u/carlesgutierrez)\
**Replies:** 2\
**Last updated:** [December 19, 2018, 12:26am UTC](https://discourse.processing.org/t/custom-world-map-how-to-draw-country-shapes/6712 "2018-12-19T00:26:21Z")

</div>

Hi all, I’m wondering if anyone has an idea how to create a dynamic world map… I would love to get all the countries as vector of polygon, then redraw them in different shapes styles and positions. After this I want to…

---

## [Trying to connect an ELP Camera , but i get an error](https://discourse.processing.org/t/trying-to-connect-an-elp-camera-but-i-get-an-error/6499)

<div class="topic-metadata">

**Author:** [@laptophead](https://discourse.processing.org/u/laptophead)\
**Replies:** 5\
**Last updated:** [December 18, 2018, 10:34pm UTC](https://discourse.processing.org/t/trying-to-connect-an-elp-camera-but-i-get-an-error/6499 "2018-12-18T22:34:53Z")

</div>

(java.exe:4496): GStreamer-CRITICAL \*\*: Trying to dispose element Video Capture, but it is in READY instead of the NULL state. You need to explicitly set elements to the NULL state before dropping the final reference,…

---

## [Instagram geolocate](https://discourse.processing.org/t/instagram-geolocate/6728)

<div class="topic-metadata">

**Author:** [@MarsatAE](https://discourse.processing.org/u/MarsatAE)\
**Replies:** 3\
**Last updated:** [December 18, 2018, 4:31pm UTC](https://discourse.processing.org/t/instagram-geolocate/6728 "2018-12-18T16:31:46Z")

</div>

Hello I want to work with instagram, and i want to know where someone will repost (or comment) my project. Do you know how to do it ? it’s easy with twitter but i have no clue about it on instagram :confused: Thank yo…

---

## [Face recognition](https://discourse.processing.org/t/face-recognition/6571)

<div class="topic-metadata">

**Author:** [@hadigh](https://discourse.processing.org/u/hadigh)\
**Replies:** 5\
**Last updated:** [December 18, 2018, 5:37am UTC](https://discourse.processing.org/t/face-recognition/6571 "2018-12-18T05:37:25Z")

</div>

Hello I have a project in image processing to detect faces from a webcam on you laptop and give ID or names to these face based on previous images saved Can anyone please help me? I’m done with the part where I can det…

---

## [Can a PeasyCam cube have clickable faces? (Plus other small PeasyCam questions)](https://discourse.processing.org/t/can-a-peasycam-cube-have-clickable-faces-plus-other-small-peasycam-questions/6549)

<div class="topic-metadata">

**Author:** [@rumeauc1](https://discourse.processing.org/u/rumeauc1)\
**Replies:** 4\
**Last updated:** [December 17, 2018, 9:40pm UTC](https://discourse.processing.org/t/can-a-peasycam-cube-have-clickable-faces-plus-other-small-peasycam-questions/6549 "2018-12-17T21:40:11Z")

</div>

Hi guys, I;m pretty sure I haven’t seen any questions similar enough to my problem. I’m wondering if I can, using the PeasyCam library for Processing v3.4, make each face of the cube a clickable button? I’m familiar with…

---

## [Sounds bugging out when I try to play a lot of them](https://discourse.processing.org/t/sounds-bugging-out-when-i-try-to-play-a-lot-of-them/6527)

<div class="topic-metadata">

**Author:** [@Haxorouse](https://discourse.processing.org/u/Haxorouse)\
**Replies:** 8\
**Last updated:** [December 17, 2018, 8:05pm UTC](https://discourse.processing.org/t/sounds-bugging-out-when-i-try-to-play-a-lot-of-them/6527 "2018-12-17T20:05:45Z")

</div>

I have a project where I am trying to play a sound every time an enemy shoots at you, The only problem is that when too many sounds are played they all get super distorted and never actually stop playing, I will try to i…

---

## [Code using Face OSC](https://discourse.processing.org/t/code-using-face-osc/6509)

<div class="topic-metadata">

**Author:** [@eunseooooo](https://discourse.processing.org/u/eunseooooo)\
**Replies:** 1\
**Last updated:** [December 16, 2018, 10:44pm UTC](https://discourse.processing.org/t/code-using-face-osc/6509 "2018-12-16T22:44:46Z")

</div>

Anybody knows about Face OSC? This is a code that enters some texts in the mouth and alters to another word when the mouth is closed. But I don’t know why it doesn’t work. Please helpp…:frowning: import codeanticode.s…

---

## [Not sure how to fix this](https://discourse.processing.org/t/not-sure-how-to-fix-this/6660)

<div class="topic-metadata">

**Author:** [@charmypatel](https://discourse.processing.org/u/charmypatel)\
**Replies:** 23\
**Last updated:** [December 16, 2018, 9:01pm UTC](https://discourse.processing.org/t/not-sure-how-to-fix-this/6660 "2018-12-16T21:01:19Z")

</div>

Hi I’m transferred my Processing code into Eclipse to run it and I keep getting this error, I’m not sure what it means or how to fix it. I tried seeing if similar people were getting this error on Github but was not able…

---

## [Not sure how to work with Minim's FFT feature](https://discourse.processing.org/t/not-sure-how-to-work-with-minims-fft-feature/6638)

<div class="topic-metadata">

**Author:** [@Tsskyx](https://discourse.processing.org/u/Tsskyx)\
**Replies:** 2\
**Last updated:** [December 16, 2018, 9:53am UTC](https://discourse.processing.org/t/not-sure-how-to-work-with-minims-fft-feature/6638 "2018-12-16T09:53:30Z")

</div>

So, this is my code: import ddf.minim.\*; import ddf.minim.analysis.\*; Minim minim; AudioPlayer sound; FFT spectrum; void setup() { size(600, 600); noStroke(); fill(255); minim = new Minim(this); sound = mini…

---

## [Increase the number of circles detected in an image using the BlobDetection library](https://discourse.processing.org/t/increase-the-number-of-circles-detected-in-an-image-using-the-blobdetection-library/6557)

<div class="topic-metadata">

**Author:** [@Fausto](https://discourse.processing.org/u/Fausto)\
**Replies:** 4\
**Last updated:** [December 15, 2018, 10:54pm UTC](https://discourse.processing.org/t/increase-the-number-of-circles-detected-in-an-image-using-the-blobdetection-library/6557 "2018-12-15T22:54:10Z")

</div>

I have been trying to increase the maximum number of blobs detected with the BlobDetection library from the default 1000 to 2000. I can successfully detect up to 1000 blobs/circles, can read their x and y position and s…

---

## [PeasyCam minimum/maximum distance](https://discourse.processing.org/t/peasycam-minimum-maximum-distance/6635)

<div class="topic-metadata">

**Author:** [@rumeauc1](https://discourse.processing.org/u/rumeauc1)\
**Replies:** 1\
**Last updated:** [December 15, 2018, 8:18pm UTC](https://discourse.processing.org/t/peasycam-minimum-maximum-distance/6635 "2018-12-15T20:18:27Z")

</div>

Hi, I have been looking around for answers to this question but I haven’t seen any particularly for how PeasyCam works. In my code, my objects are being cut off when I rotate the camera. I have fiddled with the cam.setM…

---

## [Song Code Not Running not sure how to fix](https://discourse.processing.org/t/song-code-not-running-not-sure-how-to-fix/6621)

<div class="topic-metadata">

**Author:** [@starkid](https://discourse.processing.org/u/starkid)\
**Replies:** 5\
**Last updated:** [December 15, 2018, 6:15pm UTC](https://discourse.processing.org/t/song-code-not-running-not-sure-how-to-fix/6621 "2018-12-15T18:15:08Z")

</div>

I’m trying to get this code to run but I’m getting an error saying bufferSize does not exist and .in & .left cannot be recognized/exist. Not sure how to fix this error any suggestions? I’m trying to move the wave length …

---

## [Low framerate when my line is fading away?](https://discourse.processing.org/t/low-framerate-when-my-line-is-fading-away/6582)

<div class="topic-metadata">

**Author:** [@JulietteP](https://discourse.processing.org/u/JulietteP)\
**Replies:** 15\
**Last updated:** [December 15, 2018, 5:52pm UTC](https://discourse.processing.org/t/low-framerate-when-my-line-is-fading-away/6582 "2018-12-15T17:52:54Z")

</div>

Hi there, I’m struggling with something that is supposed to be quite simple, any form of help is welcome! A horizon line draws a mountain range shape itself depending on the amplitude of the ambiant sound. There’s also…

---

## [FFT frequencies](https://discourse.processing.org/t/fft-frequencies/6626)

<div class="topic-metadata">

**Author:** [@FurryNightShade](https://discourse.processing.org/u/FurryNightShade)\
**Replies:** 1\
**Last updated:** [December 15, 2018, 2:00pm UTC](https://discourse.processing.org/t/fft-frequencies/6626 "2018-12-15T14:00:56Z")

</div>

Hello, I use the stock libraries. I am working on a visualizer and I have 2 questions: What is the frequency distribution of the FFT. If I set it to 512 bands, what frequencies it returns values for? How do I use th…

---

## [Not sure why everything disappeared](https://discourse.processing.org/t/not-sure-why-everything-disappeared/6461)

<div class="topic-metadata">

**Author:** [@charmypatel](https://discourse.processing.org/u/charmypatel)\
**Replies:** 4\
**Last updated:** [December 15, 2018, 1:34am UTC](https://discourse.processing.org/t/not-sure-why-everything-disappeared/6461 "2018-12-15T01:34:14Z")

</div>

UPDATE:: I have a button in this code that lets the user pick the song but I can’t get it to show up, not sure why any suggestions? //minim is the audio library allowing for us to play and pull the music in import ddf.m…

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

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