# Libraries

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

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

**Page:** 58

---

## [Processing Script very slow or not running at all](https://discourse.processing.org/t/processing-script-very-slow-or-not-running-at-all/11061)

<div class="topic-metadata">

**Author:** [@ernestwzh](https://discourse.processing.org/u/ernestwzh)\
**Replies:** 1\
**Last updated:** [May 12, 2019, 7:40am UTC](https://discourse.processing.org/t/processing-script-very-slow-or-not-running-at-all/11061 "2019-05-12T07:40:01Z")

</div>

Hello, I am trying to get my Kinect to control the framerate and opacity of a video file that is playing. The script either runs really slowly or not at all. I tried troubleshooting: Before using the Kinect, I tried u…

---

## [Run sketch on dedicated gpu](https://discourse.processing.org/t/run-sketch-on-dedicated-gpu/11135)

<div class="topic-metadata">

**Author:** [@b\_and\_z](https://discourse.processing.org/u/b_and_z)\
**Replies:** 2\
**Last updated:** [May 11, 2019, 6:12pm UTC](https://discourse.processing.org/t/run-sketch-on-dedicated-gpu/11135 "2019-05-11T18:12:10Z")

</div>

So my setup is a windows 10 with an integrated gpu (HD Graphics 4600) and a dedicated gpu (NVIDIA GeForce GT 750M). Now I’m trying to VJ with processing\>spout\>VJ software (Resolume). When I run the spout sender example f…

---

## [Creating an ocean simulation using PixelFlow](https://discourse.processing.org/t/creating-an-ocean-simulation-using-pixelflow/11020)

<div class="topic-metadata">

**Author:** [@BongoTurtle](https://discourse.processing.org/u/BongoTurtle)\
**Replies:** 1\
**Last updated:** [May 11, 2019, 6:05pm UTC](https://discourse.processing.org/t/creating-an-ocean-simulation-using-pixelflow/11020 "2019-05-11T18:05:39Z")

</div>

I’m trying to create an interactive desktop background using Processing and I need a simulation of a 2d ocean. The idea is for you to be able to drag on the water creating waves which will move fish. I’ve started using t…

---

## [Video not playing on one particular computer bought only for this project](https://discourse.processing.org/t/video-not-playing-on-one-particular-computer-bought-only-for-this-project/11083)

<div class="topic-metadata">

**Author:** [@DanielHUN](https://discourse.processing.org/u/DanielHUN)\
**Replies:** 2\
**Last updated:** [May 11, 2019, 2:34pm UTC](https://discourse.processing.org/t/video-not-playing-on-one-particular-computer-bought-only-for-this-project/11083 "2019-05-11T14:34:15Z")

</div>

So we bought a machine for simple green screen with webcam should be up and running on an exhibition. I wrote a simple code wich works on any other computer we ve tested on. Not on the one it should. Weirdly enough if we…

---

## [Minim: sound cracks on Pan and Gain](https://discourse.processing.org/t/minim-sound-cracks-on-pan-and-gain/11102)

<div class="topic-metadata">

**Author:** [@morisil](https://discourse.processing.org/u/morisil)\
**Replies:** 6\
**Last updated:** [May 11, 2019, 10:52am UTC](https://discourse.processing.org/t/minim-sound-cracks-on-pan-and-gain/11102 "2019-05-11T10:52:05Z")

</div>

I am having problem with controlling the playback of my audio files. The sound is somehow slightly chopped when pan and gain values are adjusted, especially if it is happening rapidly. Here is the code to reproduce the i…

---

## [Save to SVG with edges visible](https://discourse.processing.org/t/save-to-svg-with-edges-visible/11117)

<div class="topic-metadata">

**Author:** [@pierdr](https://discourse.processing.org/u/pierdr)\
**Replies:** 2\
**Last updated:** [May 11, 2019, 5:43am UTC](https://discourse.processing.org/t/save-to-svg-with-edges-visible/11117 "2019-05-11T05:43:03Z")

</div>

Hi, I’m trying to save a 3D canvas from Processing to SVG. I found great the use of beginRaw and endRaw. But I don’t understand how to save into the SVG just the edges that are visible. What I would like is to export …

---

## [Printing P3D sketch to PDF](https://discourse.processing.org/t/printing-p3d-sketch-to-pdf/10913)

<div class="topic-metadata">

**Author:** [@TobiasReber](https://discourse.processing.org/u/TobiasReber)\
**Replies:** 2\
**Last updated:** [May 10, 2019, 4:58pm UTC](https://discourse.processing.org/t/printing-p3d-sketch-to-pdf/10913 "2019-05-10T16:58:11Z")

</div>

Hi all, first time poster with a newbie question: I’d like to print to PDF the results of some sketches I’m doing with random walkers drawing lots spheres. I took Example 4 from the “Print” tutorial and modified it slig…

---

## [Moving objects with hand detection](https://discourse.processing.org/t/moving-objects-with-hand-detection/10999)

<div class="topic-metadata">

**Author:** [@zxcvbs](https://discourse.processing.org/u/zxcvbs)\
**Replies:** 1\
**Last updated:** [May 10, 2019, 3:57pm UTC](https://discourse.processing.org/t/moving-objects-with-hand-detection/10999 "2019-05-10T15:57:12Z")

</div>

Hi, I’m trying to do something like this: Track each hand motion, and move objects around. I can detect hand blobs with blob scanner, but there are too many blobs. And I don’t know how to differentiate ea…

---

## [No sound in exported java with Beads](https://discourse.processing.org/t/no-sound-in-exported-java-with-beads/10532)

<div class="topic-metadata">

**Author:** [@Peachy](https://discourse.processing.org/u/Peachy)\
**Replies:** 13\
**Last updated:** [May 10, 2019, 4:52am UTC](https://discourse.processing.org/t/no-sound-in-exported-java-with-beads/10532 "2019-05-10T04:52:47Z")

</div>

Hi, I have been using the Beads library in my sketches in MacOS Mojave and Windows 10 with Processing 3.5.3. Everything works fine until I export the sketch to a Java applet. The Java applet no longer has audio ouput. I…

---

## [Repeating and randomizing string arrays](https://discourse.processing.org/t/repeating-and-randomizing-string-arrays/10811)

<div class="topic-metadata">

**Author:** [@AwreetusAwrightus](https://discourse.processing.org/u/AwreetusAwrightus)\
**Replies:** 7\
**Last updated:** [May 10, 2019, 3:29am UTC](https://discourse.processing.org/t/repeating-and-randomizing-string-arrays/10811 "2019-05-10T03:29:52Z")

</div>

hello everyone! it’s quite a simple question, but I tried to repeat values I have on an existing string array and then randomizing their positions. using a ‘for’ method I returned out of bounds, presumably because I di…

---

## [How to make my audio visualizer respond to microphone input instead?](https://discourse.processing.org/t/how-to-make-my-audio-visualizer-respond-to-microphone-input-instead/11039)

<div class="topic-metadata">

**Author:** [@francium401](https://discourse.processing.org/u/francium401)\
**Replies:** 1\
**Last updated:** [May 9, 2019, 12:38pm UTC](https://discourse.processing.org/t/how-to-make-my-audio-visualizer-respond-to-microphone-input-instead/11039 "2019-05-09T12:38:02Z")

</div>

I’ve been trying to use simple examples that have microphone responsiveness as a guide, but can’t seem to get anywhere without the visuals freezing/not appearing at all. I’d much appreciate some help. int radius = 200; …

---

## [Buttons to save and open text file in processing 3](https://discourse.processing.org/t/buttons-to-save-and-open-text-file-in-processing-3/10991)

<div class="topic-metadata">

**Author:** [@light](https://discourse.processing.org/u/light)\
**Replies:** 9\
**Last updated:** [May 9, 2019, 10:19am UTC](https://discourse.processing.org/t/buttons-to-save-and-open-text-file-in-processing-3/10991 "2019-05-09T10:19:48Z")

</div>

hello guys i am a beginner in processing 3 and i want to do some complex programming need your help i want to create 2 buttons 1. which can save the data in text file and 2.which can open that text file in notepad. i a…

---

## [Moving a molecule up and down](https://discourse.processing.org/t/moving-a-molecule-up-and-down/11013)

<div class="topic-metadata">

**Author:** [@CsabaAlbert](https://discourse.processing.org/u/CsabaAlbert)\
**Replies:** 12\
**Last updated:** [May 9, 2019, 9:18am UTC](https://discourse.processing.org/t/moving-a-molecule-up-and-down/11013 "2019-05-09T09:18:51Z")

</div>

I have this water molecule and I wan to move it up and down whit the arow keys. Can someone help me? THX!! Here is the code! import peasy.\*; PeasyCam cam; Atom oxigen; Atom hidrogen1; void setup(){ size(600,600,P3D); …

---

## [Bubble shooting game](https://discourse.processing.org/t/bubble-shooting-game/10919)

<div class="topic-metadata">

**Author:** [@yoyo18](https://discourse.processing.org/u/yoyo18)\
**Replies:** 27\
**Last updated:** [May 8, 2019, 5:00pm UTC](https://discourse.processing.org/t/bubble-shooting-game/10919 "2019-05-08T17:00:16Z")

</div>

hello i start to make code for a game the rules was in 3lines we shoot bubles blue or red and when they meet they dead i need help for the meet code(a friend try to do something in my code as you can see and to do a ran…

---

## [Interaction + Processing question?](https://discourse.processing.org/t/interaction-processing-question/10852)

<div class="topic-metadata">

**Author:** [@crescent13](https://discourse.processing.org/u/crescent13)\
**Replies:** 4\
**Last updated:** [May 8, 2019, 6:29am UTC](https://discourse.processing.org/t/interaction-processing-question/10852 "2019-05-08T06:29:06Z")

</div>

Hi! I’m new to processing and I’m working on a Kinect project. I’m trying to make my interactions with mouseX & Y first, so that I can then translate it over to the Kinect part. I want to make my fish swim away from the…

---

## [Why my letters don't keep their shapes?!](https://discourse.processing.org/t/why-my-letters-dont-keep-their-shapes/10245)

<div class="topic-metadata">

**Author:** [@lolonulu](https://discourse.processing.org/u/lolonulu)\
**Replies:** 21\
**Last updated:** [May 7, 2019, 8:19pm UTC](https://discourse.processing.org/t/why-my-letters-dont-keep-their-shapes/10245 "2019-05-07T20:19:14Z")

</div>

Hello, I managed to deform some letters and to scale them reacting to a sound file using Geomerative and minim libraries, but how can I keep the letters deformed?! Why once the sound position is 100px away the points g…

---

## [Separating Midi Keyboard into Octaves/Sections](https://discourse.processing.org/t/separating-midi-keyboard-into-octaves-sections/10944)

<div class="topic-metadata">

**Author:** [@KIE13579](https://discourse.processing.org/u/KIE13579)\
**Replies:** 3\
**Last updated:** [May 6, 2019, 10:26pm UTC](https://discourse.processing.org/t/separating-midi-keyboard-into-octaves-sections/10944 "2019-05-06T22:26:33Z")

</div>

Hey Guys, Fairly new to coding so apologies if this is an easy fix, I’ve been stumbling my way through this code up until this point. Essentially, the code produces a circle - with size depending on what note it presse…

---

## [Can't construct inside of a class](https://discourse.processing.org/t/cant-construct-inside-of-a-class/10978)

<div class="topic-metadata">

**Author:** [@drezzydrez](https://discourse.processing.org/u/drezzydrez)\
**Replies:** 1\
**Last updated:** [May 6, 2019, 7:14pm UTC](https://discourse.processing.org/t/cant-construct-inside-of-a-class/10978 "2019-05-06T19:14:22Z")

</div>

I have a class that I would like to have an envelop class created with it and only for it. I keep trying to construct an envelop inside it but can’t because new Env(this); won’t work and gives a Constructor doesn’t exist…

---

## [How to Remove the Close Button with G4P](https://discourse.processing.org/t/how-to-remove-the-close-button-with-g4p/10358)

<div class="topic-metadata">

**Author:** [@graysonh](https://discourse.processing.org/u/graysonh)\
**Replies:** 13\
**Last updated:** [May 6, 2019, 3:19am UTC](https://discourse.processing.org/t/how-to-remove-the-close-button-with-g4p/10358 "2019-05-06T03:19:22Z")

</div>

Hello all, I am using G4P to create an application and I would like to either remove completely or simply grey out the gui close button. I know how to stop the window from closing when the close button is pressed, but I…

---

## [How to get rid of click at the beginning of an Audiosample?](https://discourse.processing.org/t/how-to-get-rid-of-click-at-the-beginning-of-an-audiosample/10864)

<div class="topic-metadata">

**Author:** [@Aeggy](https://discourse.processing.org/u/Aeggy)\
**Replies:** 5\
**Last updated:** [May 4, 2019, 12:05am UTC](https://discourse.processing.org/t/how-to-get-rid-of-click-at-the-beginning-of-an-audiosample/10864 "2019-05-04T00:05:39Z")

</div>

Hi. I noticed that audiosamples I play always have a click in the beginning, which is not a good quality for use. To demonstrate it, I play an inaudible 1hz sinewave below. Press d to play the wave and you hear the click…

---

## [Need Help With Ray Casting](https://discourse.processing.org/t/need-help-with-ray-casting/10833)

<div class="topic-metadata">

**Author:** [@TheBigCx](https://discourse.processing.org/u/TheBigCx)\
**Replies:** 1\
**Last updated:** [May 3, 2019, 8:42pm UTC](https://discourse.processing.org/t/need-help-with-ray-casting/10833 "2019-05-03T20:42:22Z")

</div>

I’m currently developing a Minecraft clone, and I’m stuck on block editing. I need to be able to break and place blocks, but can’t figure it out with Ray Casting. I am using QueasyCam to take care of movement.

---

## [Problem using VideoExport in Eclipse](https://discourse.processing.org/t/problem-using-videoexport-in-eclipse/7374)

<div class="topic-metadata">

**Author:** [@vjjv](https://discourse.processing.org/u/vjjv)\
**Replies:** 8\
**Last updated:** [May 3, 2019, 11:19am UTC](https://discourse.processing.org/t/problem-using-videoexport-in-eclipse/7374 "2019-05-03T11:19:47Z")

</div>

hello @hamoid! im trying to use your librarie in Eclipse… but the console show me this error: java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/sun/jna/platform/win32/Wincon at processing.opengl.PSurfaceJ…

---

## [Using Minim to Play Sounds in States](https://discourse.processing.org/t/using-minim-to-play-sounds-in-states/10639)

<div class="topic-metadata">

**Author:** [@danikc8](https://discourse.processing.org/u/danikc8)\
**Replies:** 5\
**Last updated:** [May 2, 2019, 4:49pm UTC](https://discourse.processing.org/t/using-minim-to-play-sounds-in-states/10639 "2019-05-02T16:49:27Z")

</div>

Hi there! This is my first Processing project and I’m having some difficulty with the sounds playing when I want them to. I want the player1 clip to start looping in the stateMainScreen but I can’t figure out how to get …

---

## [Loop a sound by using minim](https://discourse.processing.org/t/loop-a-sound-by-using-minim/10802)

<div class="topic-metadata">

**Author:** [@jensemand](https://discourse.processing.org/u/jensemand)\
**Replies:** 2\
**Last updated:** [May 2, 2019, 3:03pm UTC](https://discourse.processing.org/t/loop-a-sound-by-using-minim/10802 "2019-05-02T15:03:53Z")

</div>

Hi, I am trying to play a sound by using the library: minim when a variable becomes true. The problem occurs when I want to loop the sound when it is done playing so it would be nice if I could get a simple example to s…

---

## [Minim — getLineIn](https://discourse.processing.org/t/minim-getlinein/10801)

<div class="topic-metadata">

**Author:** [@lnp](https://discourse.processing.org/u/lnp)\
**Replies:** 2\
**Last updated:** [May 1, 2019, 9:22am UTC](https://discourse.processing.org/t/minim-getlinein/10801 "2019-05-01T09:22:41Z")

</div>

Hello Preeps! Loving Minim. What a great library! I have no problem reading an mp3 or getting a simple getLineIn() input from the microphone on my mac. All those tests work and my sketch reacts accordingly. My issue now…

---

## [Trying to get webcam feed to affect Pvector Array](https://discourse.processing.org/t/trying-to-get-webcam-feed-to-affect-pvector-array/10675)

<div class="topic-metadata">

**Author:** [@a\_primate](https://discourse.processing.org/u/a_primate)\
**Replies:** 2\
**Last updated:** [May 1, 2019, 1:53am UTC](https://discourse.processing.org/t/trying-to-get-webcam-feed-to-affect-pvector-array/10675 "2019-05-01T01:53:07Z")

</div>

Hello there Processing community! I hope you’re all doing well! :smiley: As the title says, I’m attempting to feed the brightness input from my webcam to a vector array that has certain curves and variations applied to …

---

## [Interactive Mosaic with Processing](https://discourse.processing.org/t/interactive-mosaic-with-processing/10630)

<div class="topic-metadata">

**Author:** [@campbell](https://discourse.processing.org/u/campbell)\
**Replies:** 2\
**Last updated:** [April 30, 2019, 2:54pm UTC](https://discourse.processing.org/t/interactive-mosaic-with-processing/10630 "2019-04-30T14:54:49Z")

</div>

I am currently working on creating a live mosaic mirror in processing with the kinect4WinSDK (Kinect X-box camera). Does anybody have experience working with the kinect or creating mosaic images in processing using a liv…

---

## [The colors of the markers behave strangely?](https://discourse.processing.org/t/the-colors-of-the-markers-behave-strangely/10670)

<div class="topic-metadata">

**Author:** [@kkxxbdm](https://discourse.processing.org/u/kkxxbdm)\
**Replies:** 3\
**Last updated:** [April 30, 2019, 12:48am UTC](https://discourse.processing.org/t/the-colors-of-the-markers-behave-strangely/10670 "2019-04-30T00:48:57Z")

</div>

I was playing around with the simulation of the markers’ movement on a given unfolding map. I did not figure it out yet. Meanwhile, I got a question about the colors of the markers. Please see the following picture. My …

---

## [Display geo position of a mouse pointer in a unfolding map](https://discourse.processing.org/t/display-geo-position-of-a-mouse-pointer-in-a-unfolding-map/10655)

<div class="topic-metadata">

**Author:** [@kkxxbdm](https://discourse.processing.org/u/kkxxbdm)\
**Replies:** 4\
**Last updated:** [April 27, 2019, 8:26am UTC](https://discourse.processing.org/t/display-geo-position-of-a-mouse-pointer-in-a-unfolding-map/10655 "2019-04-27T08:26:00Z")

</div>

Hi, I have the following code to accomplish a simple task, to display the geo-posiition of a mouse in a map. import de.fhpotsdam.unfolding.\*; import de.fhpotsdam.unfolding.geo.\*; import de.fhpotsdam.unfolding.utils.\*; …

---

## [Unfolding map drag and drop markers](https://discourse.processing.org/t/unfolding-map-drag-and-drop-markers/10602)

<div class="topic-metadata">

**Author:** [@kkxxbdm](https://discourse.processing.org/u/kkxxbdm)\
**Replies:** 1\
**Last updated:** [April 29, 2019, 5:19pm UTC](https://discourse.processing.org/t/unfolding-map-drag-and-drop-markers/10602 "2019-04-29T17:19:01Z")

</div>

Hi. I have a great interest in / is impressed by the interactive unfolding map library with processing lately, especially the movement / animation of map markers. I was wondering, is there a way to set up the initial con…

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

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