# Libraries

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

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

**Page:** 47

---

## [Recognize bodies involved in collision's class](https://discourse.processing.org/t/recognize-bodies-involved-in-collisions-class/17384)

<div class="topic-metadata">

**Author:** [@MCGFP](https://discourse.processing.org/u/MCGFP)\
**Replies:** 0\
**Last updated:** [January 27, 2020, 8:56pm UTC](https://discourse.processing.org/t/recognize-bodies-involved-in-collisions-class/17384 "2020-01-27T20:56:31Z")

</div>

Hi, I am using Fisica library for a game. I have different types of FCircle (circle2, circle2) of different size and one type of FBox rectangle1. I am able to generate actions when a circle collides with a rectangle (ma…

---

## [Defining zones in a game](https://discourse.processing.org/t/defining-zones-in-a-game/17366)

<div class="topic-metadata">

**Author:** [@floflopm](https://discourse.processing.org/u/floflopm)\
**Replies:** 0\
**Last updated:** [January 27, 2020, 2:02am UTC](https://discourse.processing.org/t/defining-zones-in-a-game/17366 "2020-01-27T02:02:53Z")

</div>

Hi, I would like to define zones in a game (a range of x and y) in which events could occur. If possible, I would also like to set the background color for that zone. I am using the Fisica library. It would have the str…

---

## [What is the libpng warning?](https://discourse.processing.org/t/what-is-the-libpng-warning/17309)

<div class="topic-metadata">

**Author:** [@KEEP](https://discourse.processing.org/u/KEEP)\
**Replies:** 7\
**Last updated:** [January 26, 2020, 1:30pm UTC](https://discourse.processing.org/t/what-is-the-libpng-warning/17309 "2020-01-26T13:30:21Z")

</div>

Excuse me?How to solve the libpng warning ?please help me! thanks!

---

## [Static bodies in Fisica](https://discourse.processing.org/t/static-bodies-in-fisica/17332)

<div class="topic-metadata">

**Author:** [@floflopm](https://discourse.processing.org/u/floflopm)\
**Replies:** 0\
**Last updated:** [January 25, 2020, 8:25pm UTC](https://discourse.processing.org/t/static-bodies-in-fisica/17332 "2020-01-25T20:25:23Z")

</div>

Hi, I am using the fisica library to create a game in which I have to define a set of boundaries with FBox. The problem is I am not able to disable the mouseDragged function (the player can move the boundaries, so the g…

---

## [How does one use XInput (Xbox Controller) inputs in Processing](https://discourse.processing.org/t/how-does-one-use-xinput-xbox-controller-inputs-in-processing/17327)

<div class="topic-metadata">

**Author:** [@TechMaster04](https://discourse.processing.org/u/TechMaster04)\
**Replies:** 2\
**Last updated:** [January 25, 2020, 4:32pm UTC](https://discourse.processing.org/t/how-does-one-use-xinput-xbox-controller-inputs-in-processing/17327 "2020-01-25T16:32:12Z")

</div>

Hello all I’m working on a queue manager (Check it out Here ) and thought it would be nice to add some Easter eggs that can be triggered with an Xbox Controller. Does anyone know how to detect XInput/Xbox controller inp…

---

## [How can we draw a graphe from a video capture ?!](https://discourse.processing.org/t/how-can-we-draw-a-graphe-from-a-video-capture/17286)

<div class="topic-metadata">

**Author:** [@Azdn](https://discourse.processing.org/u/Azdn)\
**Replies:** 8\
**Last updated:** [January 25, 2020, 11:45am UTC](https://discourse.processing.org/t/how-can-we-draw-a-graphe-from-a-video-capture/17286 "2020-01-25T11:45:30Z")

</div>

Hi !! I want to draw a graph that processes data from a video capture something like RGB values ​​based on pixel location or brightness based on pixel location … My project is blocked in this step so i will be so tha…

---

## [How to check for opened ports on a Client/Server connection?](https://discourse.processing.org/t/how-to-check-for-opened-ports-on-a-client-server-connection/17160)

<div class="topic-metadata">

**Author:** [@ImDaGr3en](https://discourse.processing.org/u/ImDaGr3en)\
**Replies:** 5\
**Last updated:** [January 24, 2020, 8:47pm UTC](https://discourse.processing.org/t/how-to-check-for-opened-ports-on-a-client-server-connection/17160 "2020-01-24T20:47:51Z")

</div>

Hey bros! I’m starting coding some programs which support two-machines connection (a Server one and a Client one, using the net library); and I’m trying to do something that, like every time I post something there, I’m …

---

## [Problem with coding](https://discourse.processing.org/t/problem-with-coding/17295)

<div class="topic-metadata">

**Author:** [@christiank79](https://discourse.processing.org/u/christiank79)\
**Replies:** 5\
**Last updated:** [January 24, 2020, 4:02pm UTC](https://discourse.processing.org/t/problem-with-coding/17295 "2020-01-24T16:02:41Z")

</div>

Hello, I have a problem with coding about AxiDraw: StippleGen,line number 316; See pic: What can I do? Thank you. Christian

---

## [Arcball Library error](https://discourse.processing.org/t/arcball-library-error/17292)

<div class="topic-metadata">

**Author:** [@paulstgeorge](https://discourse.processing.org/u/paulstgeorge)\
**Replies:** 3\
**Last updated:** [January 24, 2020, 11:15am UTC](https://discourse.processing.org/t/arcball-library-error/17292 "2020-01-24T11:15:50Z")

</div>

I tried to use the Arcball library https://github.com/RandomEtc/processing-arcball I get the error: java.lang.NoSuchMethodError:processing.core.PApplet.registerMouseEvent(Ljava/lang/Object;)V Does this mean a core proc…

---

## [Action when mouse is on object](https://discourse.processing.org/t/action-when-mouse-is-on-object/17277)

<div class="topic-metadata">

**Author:** [@floflopm](https://discourse.processing.org/u/floflopm)\
**Replies:** 2\
**Last updated:** [January 23, 2020, 5:18pm UTC](https://discourse.processing.org/t/action-when-mouse-is-on-object/17277 "2020-01-23T17:18:59Z")

</div>

Hi, I now have a script with objects (i’m using Fisica library). I would like to have two classes of circles. When the mouse in on a circle, something happens to the other (ex. it scales up). I just don’t know how to co…

---

## [Enable collisisons](https://discourse.processing.org/t/enable-collisisons/17231)

<div class="topic-metadata">

**Author:** [@floflopm](https://discourse.processing.org/u/floflopm)\
**Replies:** 1\
**Last updated:** [January 21, 2020, 11:32pm UTC](https://discourse.processing.org/t/enable-collisisons/17231 "2020-01-21T23:32:50Z")

</div>

Hi, I currently have a script in which some pixels are bouncing all over the screen with a damping effect and I can draw lines. I would like to find a way to make the pixels bounce on the lines (the lines would become o…

---

## [Processing Network HTTP Request Help](https://discourse.processing.org/t/processing-network-http-request-help/17069)

<div class="topic-metadata">

**Author:** [@biran4454](https://discourse.processing.org/u/biran4454)\
**Replies:** 3\
**Last updated:** [January 20, 2020, 7:36pm UTC](https://discourse.processing.org/t/processing-network-http-request-help/17069 "2020-01-20T19:36:22Z")

</div>

Hello! I have been creating a program in Processing Java to get the HTML of a site with HTTP GET in the Networking Library. I followed the instructions in the Processing Network Tutorial, but it only shows how to get th…

---

## [Receive msg - hamzeen smsP5](https://discourse.processing.org/t/receive-msg-hamzeen-smsp5/17209)

<div class="topic-metadata">

**Author:** [@floflopm](https://discourse.processing.org/u/floflopm)\
**Replies:** 0\
**Last updated:** [January 20, 2020, 4:53pm UTC](https://discourse.processing.org/t/receive-msg-hamzeen-smsp5/17209 "2020-01-20T16:53:24Z")

</div>

Hi, I would like to use the code to send sms from any phone to my code and randomly display the text on the screen. But I don’t know how to set the code (now it says Huawei, should I change line 20 to match a particular…

---

## [Is there a way to recognize Microsoft Chinese Input in Processing?](https://discourse.processing.org/t/is-there-a-way-to-recognize-microsoft-chinese-input-in-processing/17166)

<div class="topic-metadata">

**Author:** [@LoliProcessor](https://discourse.processing.org/u/LoliProcessor)\
**Replies:** 0\
**Last updated:** [January 18, 2020, 9:39pm UTC](https://discourse.processing.org/t/is-there-a-way-to-recognize-microsoft-chinese-input-in-processing/17166 "2020-01-18T21:39:53Z")

</div>

Is there a way to recognize Microsoft IME input?

---

## [Audio visualising](https://discourse.processing.org/t/audio-visualising/17120)

<div class="topic-metadata">

**Author:** [@Alxryn](https://discourse.processing.org/u/Alxryn)\
**Replies:** 0\
**Last updated:** [January 16, 2020, 5:54pm UTC](https://discourse.processing.org/t/audio-visualising/17120 "2020-01-16T17:54:25Z")

</div>

Hello people, Im fairly new to processing and Im hoping someone could help me with the next step of my project. Im trying to make an audio visualisation of the frequency range of a song, Im trying to make something that…

---

## [Music visualization - detecting the volume of a song](https://discourse.processing.org/t/music-visualization-detecting-the-volume-of-a-song/17090)

<div class="topic-metadata">

**Author:** [@ella](https://discourse.processing.org/u/ella)\
**Replies:** 1\
**Last updated:** [January 15, 2020, 7:04pm UTC](https://discourse.processing.org/t/music-visualization-detecting-the-volume-of-a-song/17090 "2020-01-15T19:04:05Z")

</div>

Done! I worked it out.

---

## [G4P GUI Builder, I am getting an error!](https://discourse.processing.org/t/g4p-gui-builder-i-am-getting-an-error/16790)

<div class="topic-metadata">

**Author:** [@laptophead](https://discourse.processing.org/u/laptophead)\
**Replies:** 16\
**Last updated:** [January 15, 2020, 10:44am UTC](https://discourse.processing.org/t/g4p-gui-builder-i-am-getting-an-error/16790 "2020-01-15T10:44:54Z")

</div>

Unable to create data logger I used this library and I love it. Peter , I hope you’re there, thank you I upgraded to the newest and I get this in in red. Thanks

---

## [controlP5: controller already exists with RadioButton with same options](https://discourse.processing.org/t/controlp5-controller-already-exists-with-radiobutton-with-same-options/17084)

<div class="topic-metadata">

**Author:** [@hamoid](https://discourse.processing.org/u/hamoid)\
**Replies:** 1\
**Last updated:** [January 14, 2020, 5:22pm UTC](https://discourse.processing.org/t/controlp5-controller-already-exists-with-radiobutton-with-same-options/17084 "2020-01-14T17:22:01Z")

</div>

Hi! I think I solved this in the past but can’t remember how atm. The code: import controlP5.\*; ControlP5 cp5; void setup() { cp5 = new ControlP5(this); RadioButton r1 = cp5.addRadioButton("foo") .setPosition(…

---

## [Collision detection](https://discourse.processing.org/t/collision-detection/17059)

<div class="topic-metadata">

**Author:** [@Morgy\_B](https://discourse.processing.org/u/Morgy_B)\
**Replies:** 3\
**Last updated:** [January 13, 2020, 5:07pm UTC](https://discourse.processing.org/t/collision-detection/17059 "2020-01-13T17:07:01Z")

</div>

hi I am trying to get the ball to bounce off my paddle like in the coding challenge ‘pong’ video. I have followed step by step and the ball is bouncing off random parts of the page and not off my paddle. can somebody h…

---

## [Removing first entry when next enters](https://discourse.processing.org/t/removing-first-entry-when-next-enters/16963)

<div class="topic-metadata">

**Author:** [@vanoevelenstef](https://discourse.processing.org/u/vanoevelenstef)\
**Replies:** 17\
**Last updated:** [January 13, 2020, 9:16am UTC](https://discourse.processing.org/t/removing-first-entry-when-next-enters/16963 "2020-01-13T09:16:16Z")

</div>

I’ve this code that lets you type words when keypressed but it only shows one word at the time. I want it to show multiply words (lets say 20) at the time and when word 21 is entered, the first word gets deleted and word…

---

## [Fixing laggy code (Minim, gradientline)](https://discourse.processing.org/t/fixing-laggy-code-minim-gradientline/17047)

<div class="topic-metadata">

**Author:** [@edarcie](https://discourse.processing.org/u/edarcie)\
**Replies:** 6\
**Last updated:** [January 12, 2020, 5:49pm UTC](https://discourse.processing.org/t/fixing-laggy-code-minim-gradientline/17047 "2020-01-12T17:49:13Z")

</div>

Hello, I wanted to ask for help regarding my painfully inefficent code. I am currently working on a project were I create an audio reactive circle, that has a gradient. The intention is to create a circle that expands t…

---

## [Cannot get my soundtrack to play during game](https://discourse.processing.org/t/cannot-get-my-soundtrack-to-play-during-game/17040)

<div class="topic-metadata">

**Author:** [@Kasavee](https://discourse.processing.org/u/Kasavee)\
**Replies:** 4\
**Last updated:** [January 12, 2020, 2:25am UTC](https://discourse.processing.org/t/cannot-get-my-soundtrack-to-play-during-game/17040 "2020-01-12T02:25:30Z")

</div>

Hi, I’m totally new at this but I’ve made a game for a college project that’s centred around non-traditional interactions. It’s basically a mash-up of Flappy Bird and Chicken Scream where you use sound (or a mouseclick) …

---

## [Text fields: cut&pasting to and from](https://discourse.processing.org/t/text-fields-cut-pasting-to-and-from/16985)

<div class="topic-metadata">

**Author:** [@obahama](https://discourse.processing.org/u/obahama)\
**Replies:** 4\
**Last updated:** [January 10, 2020, 6:47pm UTC](https://discourse.processing.org/t/text-fields-cut-pasting-to-and-from/16985 "2020-01-10T18:47:20Z")

</div>

I currently have code that reads a text file into an array, edits certain parts of the text, then writes the edits to a text file. Now I want to update this to a UI where I can paste the text into a text field, click a b…

---

## [Changing pages using button and assigning new rules to buttons](https://discourse.processing.org/t/changing-pages-using-button-and-assigning-new-rules-to-buttons/17011)

<div class="topic-metadata">

**Author:** [@B\_s](https://discourse.processing.org/u/B_s)\
**Replies:** 0\
**Last updated:** [January 10, 2020, 6:01pm UTC](https://discourse.processing.org/t/changing-pages-using-button-and-assigning-new-rules-to-buttons/17011 "2020-01-10T18:01:03Z")

</div>

Hi all. I am looking to create pages in my sketch in which the buttons I want to use are assigned different orders. For example, on the intro page, button A takes you to page 2. On page 2 button A changes the background…

---

## [Creating a Grafica plot in Pgraphics or new window](https://discourse.processing.org/t/creating-a-grafica-plot-in-pgraphics-or-new-window/17000)

<div class="topic-metadata">

**Author:** [@Thomas](https://discourse.processing.org/u/Thomas)\
**Replies:** 0\
**Last updated:** [January 10, 2020, 12:41pm UTC](https://discourse.processing.org/t/creating-a-grafica-plot-in-pgraphics-or-new-window/17000 "2020-01-10T12:41:49Z")

</div>

Hi all, I would like to make a Grafica plot in a Pgraphics but soon realised that it is not possible in my case. So I followed the workaround suggested by @GoToLoop on: https://discourse.processing.org/t/plot-grafica-in…

---

## [Can I put sounds generated via processing-sounds into Movie Maker "container"?](https://discourse.processing.org/t/can-i-put-sounds-generated-via-processing-sounds-into-movie-maker-container/16974)

<div class="topic-metadata">

**Author:** [@aurora](https://discourse.processing.org/u/aurora)\
**Replies:** 0\
**Last updated:** [January 9, 2020, 1:01am UTC](https://discourse.processing.org/t/can-i-put-sounds-generated-via-processing-sounds-into-movie-maker-container/16974 "2020-01-09T01:01:52Z")

</div>

I’d like to add a sound to each frame of animation - say frameRate=8, each with a 125 ms sound sample. Is anyone doing this?

---

## [A catching game](https://discourse.processing.org/t/a-catching-game/16906)

<div class="topic-metadata">

**Author:** [@Morgy\_B](https://discourse.processing.org/u/Morgy_B)\
**Replies:** 3\
**Last updated:** [January 8, 2020, 7:11pm UTC](https://discourse.processing.org/t/a-catching-game/16906 "2020-01-08T19:11:46Z")

</div>

Hi I am making a ball catching game using a controller and I am having trouble with collision detection. I want it so when the ball comes into contact with the bucket at the bottom the ball will disappear and the score w…

---

## [GCP Error on Calling Plug](https://discourse.processing.org/t/gcp-error-on-calling-plug/16916)

<div class="topic-metadata">

**Author:** [@B\_s](https://discourse.processing.org/u/B_s)\
**Replies:** 10\
**Last updated:** [January 8, 2020, 5:06pm UTC](https://discourse.processing.org/t/gcp-error-on-calling-plug/16916 "2020-01-08T17:06:26Z")

</div>

Hi, I’m learning to use GCP and have followed this source so far. Here is the config for my Xbox controller: When I try to run the same line of code from the tutorial I get the error message “RuntimeException: Error …

---

## [Game control plus, buttons interacting with objects](https://discourse.processing.org/t/game-control-plus-buttons-interacting-with-objects/16811)

<div class="topic-metadata">

**Author:** [@Hhussain99](https://discourse.processing.org/u/Hhussain99)\
**Replies:** 8\
**Last updated:** [January 7, 2020, 5:25pm UTC](https://discourse.processing.org/t/game-control-plus-buttons-interacting-with-objects/16811 "2020-01-07T17:25:27Z")

</div>

Hi, im new to using processing as well as using game control plus, so bare with me. My objective is to use the game controller to create art on processing. However, being new to processing im struggling in connecting the…

---

## [Get user input with textbox class](https://discourse.processing.org/t/get-user-input-with-textbox-class/16150)

<div class="topic-metadata">

**Author:** [@Thomas](https://discourse.processing.org/u/Thomas)\
**Replies:** 11\
**Last updated:** [January 7, 2020, 8:58am UTC](https://discourse.processing.org/t/get-user-input-with-textbox-class/16150 "2020-01-07T08:58:22Z")

</div>

Hi, I would like to input a text into a ‘textbox’ and save the input into a variable when for example enter is pressed. So far I have come up with the following code: main.pde: TextBox textBox1; void setup(){ size…

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

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