# Libraries

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

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

**Page:** 40

---

## [Help with double spherical pendulum animation](https://discourse.processing.org/t/help-with-double-spherical-pendulum-animation/21229)

<div class="topic-metadata">

**Author:** [@SamuelCobb](https://discourse.processing.org/u/SamuelCobb)\
**Replies:** 9\
**Last updated:** [May 26, 2020, 12:19pm UTC](https://discourse.processing.org/t/help-with-double-spherical-pendulum-animation/21229 "2020-05-26T12:19:09Z")

</div>

Hey guys, I’m kinda new to processing and I’m struggling on a project that I’m working on. My project (as already stated in the title) is programming and animating a double spherical pendulum. I used Mathematica to sol…

---

## [How to trigger an animation based on realtime audio](https://discourse.processing.org/t/how-to-trigger-an-animation-based-on-realtime-audio/21066)

<div class="topic-metadata">

**Author:** [@rkk16](https://discourse.processing.org/u/rkk16)\
**Replies:** 3\
**Last updated:** [May 26, 2020, 8:23am UTC](https://discourse.processing.org/t/how-to-trigger-an-animation-based-on-realtime-audio/21066 "2020-05-26T08:23:52Z")

</div>

Trying to build a face with moving lips as someone speaks realtime, any idea how to use audio as a trigger like if(mousePressed) - instead being if a threshold of amplitude is received, then perform {block of code}?

---

## [PeasyCam automatic camera movements](https://discourse.processing.org/t/peasycam-automatic-camera-movements/20515)

<div class="topic-metadata">

**Author:** [@alejo\_rgb](https://discourse.processing.org/u/alejo_rgb)\
**Replies:** 5\
**Last updated:** [May 25, 2020, 7:31pm UTC](https://discourse.processing.org/t/peasycam-automatic-camera-movements/20515 "2020-05-25T19:31:48Z")

</div>

hi. Im trying to automate movement with peasy cam. Right now with this code i have to manuale position the camera in 5 diferent places and by pressing the keys from 1 to 5, it sets those positions. Then by pressing the k…

---

## [G4P GUI Builder - how to export](https://discourse.processing.org/t/g4p-gui-builder-how-to-export/21277)

<div class="topic-metadata">

**Author:** [@rkk16](https://discourse.processing.org/u/rkk16)\
**Replies:** 3\
**Last updated:** [May 25, 2020, 5:06pm UTC](https://discourse.processing.org/t/g4p-gui-builder-how-to-export/21277 "2020-05-25T17:06:04Z")

</div>

Hey, I was initially making a lot of the sliders and buttons myself but this ended up in hundreds of classes as I’m working on a complex project, so I downloaded the GUI builder tool. If anyone’s used this before, my que…

---

## [Using fisica and geomerative to add physics to typography](https://discourse.processing.org/t/using-fisica-and-geomerative-to-add-physics-to-typography/21225)

<div class="topic-metadata">

**Author:** [@hiphophooray](https://discourse.processing.org/u/hiphophooray)\
**Replies:** 5\
**Last updated:** [May 24, 2020, 9:11pm UTC](https://discourse.processing.org/t/using-fisica-and-geomerative-to-add-physics-to-typography/21225 "2020-05-24T21:11:36Z")

</div>

Hi guys. I have this idea for a project but I can’t really figured it out and the documentation for both of these libraries (fisica and geomerative) that I want to use are not that good. Does anyone know how can this be…

---

## [Another question about dropdown lists in G4P](https://discourse.processing.org/t/another-question-about-dropdown-lists-in-g4p/21090)

<div class="topic-metadata">

**Author:** [@David](https://discourse.processing.org/u/David)\
**Replies:** 5\
**Last updated:** [May 24, 2020, 1:40pm UTC](https://discourse.processing.org/t/another-question-about-dropdown-lists-in-g4p/21090 "2020-05-24T13:40:52Z")

</div>

I’ve noticed that if I click on a dropdown list and select the current selection, no event is triggered. Is this the intended behaviour? In most cases, this is OK because no action needs to be taken, but in some cases I …

---

## [Help Needed: oscP5 sending null:0](https://discourse.processing.org/t/help-needed-oscp5-sending-null-0/21107)

<div class="topic-metadata">

**Author:** [@mattmorris](https://discourse.processing.org/u/mattmorris)\
**Replies:** 1\
**Last updated:** [May 23, 2020, 11:28pm UTC](https://discourse.processing.org/t/help-needed-oscp5-sending-null-0/21107 "2020-05-23T23:28:15Z")

</div>

Hi, I am currently working on a project where Processing and the oscP5 library will be used to send OSC messages to companion. I am sending an OSC string as follows: OscMessage message= new OscMessage("/press/bank/1/2"…

---

## [ArrayOutOfBounds in bonified Shiffman tutorial](https://discourse.processing.org/t/arrayoutofbounds-in-bonified-shiffman-tutorial/21144)

<div class="topic-metadata">

**Author:** [@clarbar9](https://discourse.processing.org/u/clarbar9)\
**Replies:** 6\
**Last updated:** [May 22, 2020, 9:55pm UTC](https://discourse.processing.org/t/arrayoutofbounds-in-bonified-shiffman-tutorial/21144 "2020-05-22T21:55:52Z")

</div>

I was following Dan Shiffman’s tutorial on Motion Detection and kept getting an ArrayOutOfBounds error. I couldn’t figure out why so I decided to test the exact same code copied directly from the Coding Train github acc…

---

## [Dropbox API to link files shared between 2 files](https://discourse.processing.org/t/dropbox-api-to-link-files-shared-between-2-files/20994)

<div class="topic-metadata">

**Author:** [@Student2020](https://discourse.processing.org/u/Student2020)\
**Replies:** 2\
**Last updated:** [May 21, 2020, 12:48am UTC](https://discourse.processing.org/t/dropbox-api-to-link-files-shared-between-2-files/20994 "2020-05-21T00:48:16Z")

</div>

Hello, I am trying to access a folder in dropbox for a data file (.csv) and also a folder where an image generated in the code will be saved. I then have a second code which needs to read this csv file and load the cre…

---

## [Create a 3d box inside a 2d project](https://discourse.processing.org/t/create-a-3d-box-inside-a-2d-project/21051)

<div class="topic-metadata">

**Author:** [@cwr0ng](https://discourse.processing.org/u/cwr0ng)\
**Replies:** 3\
**Last updated:** [May 19, 2020, 2:35pm UTC](https://discourse.processing.org/t/create-a-3d-box-inside-a-2d-project/21051 "2020-05-19T14:35:48Z")

</div>

Hello guys, I’m a processing beginner. I’d like to plot a 3d spectrum inside my 2d application (it will be an equalizer at the end). This is my setup, I’d like to have the second half of the application plotting a spec…

---

## [G4P GKnob rotation direction](https://discourse.processing.org/t/g4p-gknob-rotation-direction/20299)

<div class="topic-metadata">

**Author:** [@PhilHaw](https://discourse.processing.org/u/PhilHaw)\
**Replies:** 12\
**Last updated:** [May 18, 2020, 8:46pm UTC](https://discourse.processing.org/t/g4p-gknob-rotation-direction/20299 "2020-05-18T20:46:09Z")

</div>

When I use MyKnob.setTurnMode(GKnob.CTRL\_VERTICAL); dragging the mouse up turns the knob anti-clockwise and the value decreases and vice versa when I drag down. I think it would be more ‘natural’ to have ‘drag up’ -\> r…

---

## [Comparing an image with a pattern one](https://discourse.processing.org/t/comparing-an-image-with-a-pattern-one/20626)

<div class="topic-metadata">

**Author:** [@erwrow](https://discourse.processing.org/u/erwrow)\
**Replies:** 8\
**Last updated:** [May 18, 2020, 3:21pm UTC](https://discourse.processing.org/t/comparing-an-image-with-a-pattern-one/20626 "2020-05-18T15:21:36Z")

</div>

Hi everyone! As the title suggest, i need to compare an image (could be from the live feed of a camera) with a few patterns in memory, and be able to tell if this image is like one of the patterns (and wich) and hopeful…

---

## [Tobii 4C library - Processing disappeared](https://discourse.processing.org/t/tobii-4c-library-processing-disappeared/20821)

<div class="topic-metadata">

**Author:** [@Johan](https://discourse.processing.org/u/Johan)\
**Replies:** 15\
**Last updated:** [May 18, 2020, 9:48am UTC](https://discourse.processing.org/t/tobii-4c-library-processing-disappeared/20821 "2020-05-18T09:48:07Z")

</div>

The link http://hci.soc.napier.ac.uk/GazeTrack/ seems to be down and I cannot reach Mr. Esteves. First it appeared in the library list of processing but it couldn’t been loaded. Now it has completely disappeared. Do yo…

---

## [Processing setup](https://discourse.processing.org/t/processing-setup/20885)

<div class="topic-metadata">

**Author:** [@mike\_z](https://discourse.processing.org/u/mike_z)\
**Replies:** 3\
**Last updated:** [May 17, 2020, 9:48pm UTC](https://discourse.processing.org/t/processing-setup/20885 "2020-05-17T21:48:28Z")

</div>

I just downloaded Processing and intend to use it to design GUI’s for Arduino projects. My question is in regards to how to set up a Processing file structure on my home network. I have a number of computers that I use w…

---

## [Getting java exception in G4P while creating child window](https://discourse.processing.org/t/getting-java-exception-in-g4p-while-creating-child-window/20882)

<div class="topic-metadata">

**Author:** [@David](https://discourse.processing.org/u/David)\
**Replies:** 6\
**Last updated:** [May 17, 2020, 6:19pm UTC](https://discourse.processing.org/t/getting-java-exception-in-g4p-while-creating-child-window/20882 "2020-05-17T18:19:10Z")

</div>

I think I know what the problem is, I just wanted to get a second opinion. This is by far the most complex window I’ve tried to create so far. Sometimes it comes up OK and sometimes I get a “java.util.ConcurrentModificat…

---

## [Help with Shapes3D](https://discourse.processing.org/t/help-with-shapes3d/20930)

<div class="topic-metadata">

**Author:** [@lilqtip](https://discourse.processing.org/u/lilqtip)\
**Replies:** 1\
**Last updated:** [May 16, 2020, 7:33am UTC](https://discourse.processing.org/t/help-with-shapes3d/20930 "2020-05-16T07:33:05Z")

</div>

I am new to using libraries, to be frank, this is my first time trying. Now I am trying to use shapes3D to well, make 3D shapes and I can’t figure out how to work it. I have used their website ‘http://www.lagers.org.uk…

---

## [Shapes3d library terrain](https://discourse.processing.org/t/shapes3d-library-terrain/20929)

<div class="topic-metadata">

**Author:** [@Mark962](https://discourse.processing.org/u/Mark962)\
**Replies:** 4\
**Last updated:** [May 16, 2020, 10:55pm UTC](https://discourse.processing.org/t/shapes3d-library-terrain/20929 "2020-05-16T22:55:07Z")

</div>

Has anyone used the terrain class in V3.0 of shapes3d? It is substantially different from what was done in V2 and I haven’t seen any V3.0 examples. Mark

---

## [Question regarding resetting animation for tank game](https://discourse.processing.org/t/question-regarding-resetting-animation-for-tank-game/20857)

<div class="topic-metadata">

**Author:** [@Pepbaggen](https://discourse.processing.org/u/Pepbaggen)\
**Replies:** 1\
**Last updated:** [May 16, 2020, 5:45am UTC](https://discourse.processing.org/t/question-regarding-resetting-animation-for-tank-game/20857 "2020-05-16T05:45:32Z")

</div>

Hi! I can fire my gun and hit the other tank, but when i shoot once, i cannot reset the code so i can shoot again… I need to stop the program and hit play again. Help? Thanks! import controlP5.\*; //library voor de power…

---

## [Adding a column of an array to a scrollable list with controlp5](https://discourse.processing.org/t/adding-a-column-of-an-array-to-a-scrollable-list-with-controlp5/20791)

<div class="topic-metadata">

**Author:** [@Stokbrood](https://discourse.processing.org/u/Stokbrood)\
**Replies:** 3\
**Last updated:** [May 16, 2020, 4:37am UTC](https://discourse.processing.org/t/adding-a-column-of-an-array-to-a-scrollable-list-with-controlp5/20791 "2020-05-16T04:37:41Z")

</div>

I’m trying to make a program where you can type in a couple of strings, and I want a button to place all these strings in an array, and then add all the strings as a single item in a scrollable list. I just can’t figure …

---

## [How to use server for better video quality](https://discourse.processing.org/t/how-to-use-server-for-better-video-quality/20916)

<div class="topic-metadata">

**Author:** [@trubel](https://discourse.processing.org/u/trubel)\
**Replies:** 0\
**Last updated:** [May 15, 2020, 4:23pm UTC](https://discourse.processing.org/t/how-to-use-server-for-better-video-quality/20916 "2020-05-15T16:23:09Z")

</div>

I have a robot with an manipulator (arm), to which a camera is attached . The arm is controlled by an arduino wannabe (arbotix), which in turn is controlled over usb by a processing 3 sketch with G4P GUI. The Processin…

---

## [Send an audio with server](https://discourse.processing.org/t/send-an-audio-with-server/20513)

<div class="topic-metadata">

**Author:** [@Hydent](https://discourse.processing.org/u/Hydent)\
**Replies:** 1\
**Last updated:** [May 15, 2020, 5:47pm UTC](https://discourse.processing.org/t/send-an-audio-with-server/20513 "2020-05-15T17:47:34Z")

</div>

I want to create a program to send an audio with server and receive like discord but on LAN. Here is the code who is for start import processing.net.\*; import processing.sound.\*; Server server; Client client; String …

---

## [Problem with video portrait](https://discourse.processing.org/t/problem-with-video-portrait/20908)

<div class="topic-metadata">

**Author:** [@dragoneo](https://discourse.processing.org/u/dragoneo)\
**Replies:** 6\
**Last updated:** [May 15, 2020, 1:55pm UTC](https://discourse.processing.org/t/problem-with-video-portrait/20908 "2020-05-15T13:55:11Z")

</div>

For my actual project I have to display on a screen in Portrait mode videos and pictures which are also in portrait mode. The videos and pictures got exactly the same size (they have done by a smartphone). I get no prob…

---

## [Sharing Image variables between PApplets](https://discourse.processing.org/t/sharing-image-variables-between-papplets/19877)

<div class="topic-metadata">

**Author:** [@chuchu](https://discourse.processing.org/u/chuchu)\
**Replies:** 8\
**Last updated:** [May 14, 2020, 2:05pm UTC](https://discourse.processing.org/t/sharing-image-variables-between-papplets/19877 "2020-05-14T14:05:04Z")

</div>

Hello Processing Discourse! I am trying to select a portion of video from a video capture by dragging a rectangle and then display that to a second window (a new PApplet). My question is how do I pass the captured cropp…

---

## [Question about GTextArea.setText() in G4P](https://discourse.processing.org/t/question-about-gtextarea-settext-in-g4p/20856)

<div class="topic-metadata">

**Author:** [@David](https://discourse.processing.org/u/David)\
**Replies:** 3\
**Last updated:** [May 14, 2020, 10:55am UTC](https://discourse.processing.org/t/question-about-gtextarea-settext-in-g4p/20856 "2020-05-14T10:55:57Z")

</div>

I have a question about GTextArea.setText(). I wrote a function that loads some lines from a text file and then uses GTextArea.setText() to load the lines into a text area. It seemed to be skipping empty lines, and at fi…

---

## [How to play Gif after mousePressed?](https://discourse.processing.org/t/how-to-play-gif-after-mousepressed/20718)

<div class="topic-metadata">

**Author:** [@Neev](https://discourse.processing.org/u/Neev)\
**Replies:** 3\
**Last updated:** [May 12, 2020, 4:04pm UTC](https://discourse.processing.org/t/how-to-play-gif-after-mousepressed/20718 "2020-05-12T16:04:29Z")

</div>

Hi guys, I’m pretty new to Processing but I am using it for my college project. I’m having trouble getting a gif to load after the mouse has been pressed. I know that after the mouse is pressed once it takes a picture bu…

---

## [Get value from ScrollableList controlp5](https://discourse.processing.org/t/get-value-from-scrollablelist-controlp5/20752)

<div class="topic-metadata">

**Author:** [@matteocabe](https://discourse.processing.org/u/matteocabe)\
**Replies:** 2\
**Last updated:** [May 12, 2020, 7:33am UTC](https://discourse.processing.org/t/get-value-from-scrollablelist-controlp5/20752 "2020-05-12T07:33:29Z")

</div>

Hi, I’m trying to catch the value from a scrollable list created with controlp5. This is an example I found online very similiar to what I have to do. import controlP5.\*; import java.util.\*; ControlP5 cp5; String …

---

## [G4P how to make a new windows in a simple way?](https://discourse.processing.org/t/g4p-how-to-make-a-new-windows-in-a-simple-way/20338)

<div class="topic-metadata">

**Author:** [@nicks](https://discourse.processing.org/u/nicks)\
**Replies:** 2\
**Last updated:** [May 1, 2020, 4:48pm UTC](https://discourse.processing.org/t/g4p-how-to-make-a-new-windows-in-a-simple-way/20338 "2020-05-01T16:48:44Z")

</div>

Hello everyone. I’m new at processing, and I’m starting to learn how to use it. I have to write a program and I really want to make a new window appear when the user clicks a button. Something like a main menu, and fro…

---

## [Representation of Elevation and Azimuth in the plane](https://discourse.processing.org/t/representation-of-elevation-and-azimuth-in-the-plane/20730)

<div class="topic-metadata">

**Author:** [@jcduino](https://discourse.processing.org/u/jcduino)\
**Replies:** 3\
**Last updated:** [May 11, 2020, 11:34pm UTC](https://discourse.processing.org/t/representation-of-elevation-and-azimuth-in-the-plane/20730 "2020-05-11T23:34:56Z")

</div>

Hello, I am trying to represent the position of the gps satellites in the plane, X and Y coordinates. I use the TinyGps ++ library. I obtain for each satellite its Azimuth (0…359) and its elevation (0…90). My problem…

---

## [Is it possible to override the constructor for GWinData in G4P?](https://discourse.processing.org/t/is-it-possible-to-override-the-constructor-for-gwindata-in-g4p/20756)

<div class="topic-metadata">

**Author:** [@David](https://discourse.processing.org/u/David)\
**Replies:** 1\
**Last updated:** [May 11, 2020, 9:22pm UTC](https://discourse.processing.org/t/is-it-possible-to-override-the-constructor-for-gwindata-in-g4p/20756 "2020-05-11T21:22:48Z")

</div>

Hi again! I was trying to override the constructor for GWinData so that I could create all the controls required for the child window in the GWinData constructor (to maximize encapsulation), but it isn’t working. The pr…

---

## [G4P: Can't 'select' DropList item if there is only one item in the list](https://discourse.processing.org/t/g4p-cant-select-droplist-item-if-there-is-only-one-item-in-the-list/20606)

<div class="topic-metadata">

**Author:** [@PhilHaw](https://discourse.processing.org/u/PhilHaw)\
**Replies:** 11\
**Last updated:** [May 10, 2020, 9:16pm UTC](https://discourse.processing.org/t/g4p-cant-select-droplist-item-if-there-is-only-one-item-in-the-list/20606 "2020-05-10T21:16:15Z")

</div>

In my app I have a DropList to let the user select which Serial port (COM port) that an external device is connected to via USB. It works great if there are at least two COM ports present in the list. For example if I se…

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

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