# Libraries

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

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

**Page:** 35

---

## [Processing.sound not working](https://discourse.processing.org/t/processing-sound-not-working/24060)

<div class="topic-metadata">

**Author:** [@mwinnicki](https://discourse.processing.org/u/mwinnicki)\
**Replies:** 1\
**Last updated:** [September 23, 2020, 12:51am UTC](https://discourse.processing.org/t/processing-sound-not-working/24060 "2020-09-23T00:51:43Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hi, For some reason, I keep receiving this error message when I try to run the code, yet, import processing.sound is at the top.

---

## [OutOfMemoryError](https://discourse.processing.org/t/outofmemoryerror/24004)

<div class="topic-metadata">

**Author:** [@CaseyJ](https://discourse.processing.org/u/CaseyJ)\
**Replies:** 1\
**Last updated:** [September 21, 2020, 7:42pm UTC](https://discourse.processing.org/t/outofmemoryerror/24004 "2020-09-21T19:42:32Z")

</div>

Why do you think I am getting this error message? “java.lang.OutOfMemoryError: Cannot allocate new IntPointer(1): totalBytes = 8, physicalBytes = 7249M” I think it’s because of this class I wrote that colors a greyscal…

---

## [Minim library: trying to make beautiful representations of chords but getting glitchy output](https://discourse.processing.org/t/minim-library-trying-to-make-beautiful-representations-of-chords-but-getting-glitchy-output/23921)

<div class="topic-metadata">

**Author:** [@gamgades](https://discourse.processing.org/u/gamgades)\
**Replies:** 2\
**Last updated:** [September 20, 2020, 5:32am UTC](https://discourse.processing.org/t/minim-library-trying-to-make-beautiful-representations-of-chords-but-getting-glitchy-output/23921 "2020-09-20T05:32:05Z")

</div>

Hey everybody, hope you’re all doing swell. I’m working on using the minim library’s oscillator generators to create static shapes with sounds by manipulating the note intervals. However, I’m running into a bit of an is…

---

## [Can I do boolean operation for PShape in processing?](https://discourse.processing.org/t/can-i-do-boolean-operation-for-pshape-in-processing/23955)

<div class="topic-metadata">

**Author:** [@Timi](https://discourse.processing.org/u/Timi)\
**Replies:** 1\
**Last updated:** [September 19, 2020, 12:22pm UTC](https://discourse.processing.org/t/can-i-do-boolean-operation-for-pshape-in-processing/23955 "2020-09-19T12:22:47Z")

</div>

Such as subtract, divide, union… The following effect is what I want, but this library is for javascript:

---

## [Fisica Library, how to avoid contact](https://discourse.processing.org/t/fisica-library-how-to-avoid-contact/23835)

<div class="topic-metadata">

**Author:** [@doloresgarcia](https://discourse.processing.org/u/doloresgarcia)\
**Replies:** 1\
**Last updated:** [September 18, 2020, 10:22am UTC](https://discourse.processing.org/t/fisica-library-how-to-avoid-contact/23835 "2020-09-18T10:22:40Z")

</div>

Hi, i have to do a project and i am having problems with my code. In my game i have to shoot a spear and it has to hit a fish. The problem is that the spear doesn´t have to collide with the plataforms. Can somebody help…

---

## [Streaming from Processing to a Web Page](https://discourse.processing.org/t/streaming-from-processing-to-a-web-page/23800)

<div class="topic-metadata">

**Author:** [@oduibhdiorma](https://discourse.processing.org/u/oduibhdiorma)\
**Replies:** 2\
**Last updated:** [September 14, 2020, 1:13pm UTC](https://discourse.processing.org/t/streaming-from-processing-to-a-web-page/23800 "2020-09-14T13:13:49Z")

</div>

Has anyone had success streaming from a Processing sketch on a desktop to a website, preferably via NodeJS? Thanks!

---

## [\[Help\] g4p library window related to new window](https://discourse.processing.org/t/help-g4p-library-window-related-to-new-window/23499)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 2\
**Last updated:** [September 14, 2020, 1:46am UTC](https://discourse.processing.org/t/help-g4p-library-window-related-to-new-window/23499 "2020-09-14T01:46:37Z")

</div>

\[Help\] g4p library window related to new window Hello. Thank you for your interest in my problem. I made a new window through the’g4p’ library. It would be nice if the created new window was above the’MAIN Windows prog…

---

## [Running old Processing app with old G4P on latest Mac](https://discourse.processing.org/t/running-old-processing-app-with-old-g4p-on-latest-mac/23792)

<div class="topic-metadata">

**Author:** [@diyoyo](https://discourse.processing.org/u/diyoyo)\
**Replies:** 7\
**Last updated:** [September 13, 2020, 2:56pm UTC](https://discourse.processing.org/t/running-old-processing-app-with-old-g4p-on-latest-mac/23792 "2020-09-13T14:56:49Z")

</div>

Hi, I am having trouble running a 5-year old code that used G4P. I tried installing the old G4P and G4P Builder inside a dedicated folder accessed by a separate install of Processing 3.4, since I also have the latest P…

---

## [Fisica Library removing body collision](https://discourse.processing.org/t/fisica-library-removing-body-collision/10691)

<div class="topic-metadata">

**Author:** [@macarrony00](https://discourse.processing.org/u/macarrony00)\
**Replies:** 2\
**Last updated:** [September 13, 2020, 2:10pm UTC](https://discourse.processing.org/t/fisica-library-removing-body-collision/10691 "2020-09-13T14:10:13Z")

</div>

Hi all, I am starting a new processing project, I need some kind of world physics, for that I am using the Fisica Library. I am trying to add a specific body that do not collide with one of the others, but can’t find a …

---

## [Unrecognized Library](https://discourse.processing.org/t/unrecognized-library/23751)

<div class="topic-metadata">

**Author:** [@Yarmond15](https://discourse.processing.org/u/Yarmond15)\
**Replies:** 4\
**Last updated:** [September 12, 2020, 8:48am UTC](https://discourse.processing.org/t/unrecognized-library/23751 "2020-09-12T08:48:14Z")

</div>

I have managed my way through most the issues but am on what I believe to be the last step. I’m getting an error message that one of my libraries is not recognized. I attached two images, the first is of the error messag…

---

## [ImageLoader, Could not find a method to load](https://discourse.processing.org/t/imageloader-could-not-find-a-method-to-load/4867)

<div class="topic-metadata">

**Author:** [@seo](https://discourse.processing.org/u/seo)\
**Replies:** 9\
**Last updated:** [September 11, 2020, 10:19am UTC](https://discourse.processing.org/t/imageloader-could-not-find-a-method-to-load/4867 "2020-09-11T10:19:31Z")

</div>

hi! I am using imageloader very well. But sometimes I get an error like this: Could not find a method to load: https: //openclipart.org/download/279040/CigCardHoudanCock.svg. Why is there an error? And even when there …

---

## [Using the recorder and the beat detect simultaneously with minim library](https://discourse.processing.org/t/using-the-recorder-and-the-beat-detect-simultaneously-with-minim-library/23778)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 0\
**Last updated:** [September 10, 2020, 3:04pm UTC](https://discourse.processing.org/t/using-the-recorder-and-the-beat-detect-simultaneously-with-minim-library/23778 "2020-09-10T15:04:07Z")

</div>

Hello, Maybe I should ask this question the creator of minim library but maybe some can help me. I have mix both example of the minim library, the record and playback and the FrequencyEnergyBeatDetection. The last exa…

---

## [Problem with Record and Playback with minim library](https://discourse.processing.org/t/problem-with-record-and-playback-with-minim-library/23680)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 1\
**Last updated:** [September 10, 2020, 12:39pm UTC](https://discourse.processing.org/t/problem-with-record-and-playback-with-minim-library/23680 "2020-09-10T12:39:03Z")

</div>

Hello I have tried the example of the minim library with a laptop MacBook Pro. The program doesn’t record anything whereas with an other software my computer can record. Do I have to set something in Processing? Than…

---

## [Drawing a font "in code" - AxiDraw + Processing](https://discourse.processing.org/t/drawing-a-font-in-code-axidraw-processing/18344)

<div class="topic-metadata">

**Author:** [@AndreasRef](https://discourse.processing.org/u/AndreasRef)\
**Replies:** 10\
**Last updated:** [September 10, 2020, 12:38am UTC](https://discourse.processing.org/t/drawing-a-font-in-code-axidraw-processing/18344 "2020-09-10T00:38:05Z")

</div>

I am working with the AxiDraw penplotter and want to interactively draw text using Processing as the interface. For fonts I am running into trouble, since the way I communicative with AxiDraw through Processing only let…

---

## [Question about S4P Sprites](https://discourse.processing.org/t/question-about-s4p-sprites/23694)

<div class="topic-metadata">

**Author:** [@mikechr](https://discourse.processing.org/u/mikechr)\
**Replies:** 6\
**Last updated:** [September 8, 2020, 11:38am UTC](https://discourse.processing.org/t/question-about-s4p-sprites/23694 "2020-09-08T11:38:30Z")

</div>

Hi. Two questions about using S4P Sprites library I cant make Sprite.addEventHandler() work. I am getting an Null pointer exception when I press the sprite button. I am aware there is an alternative method but I like …

---

## [GIFAnimation Library](https://discourse.processing.org/t/gifanimation-library/2229)

<div class="topic-metadata">

**Author:** [@nvwingh](https://discourse.processing.org/u/nvwingh)\
**Replies:** 8\
**Last updated:** [September 5, 2020, 11:19am UTC](https://discourse.processing.org/t/gifanimation-library/2229 "2020-09-05T11:19:43Z")

</div>

I have some issues importing the GIFAnimation library in Processing. In my Contribution Manager, in Processing IDE, I get the notification that GifAnimation 2.3.1. is not compatible with my Processing Version. So I cann…

---

## [Processing Network Library does not work over 2 computers](https://discourse.processing.org/t/processing-network-library-does-not-work-over-2-computers/23687)

<div class="topic-metadata">

**Author:** [@TechMaster04](https://discourse.processing.org/u/TechMaster04)\
**Replies:** 2\
**Last updated:** [September 5, 2020, 2:36am UTC](https://discourse.processing.org/t/processing-network-library-does-not-work-over-2-computers/23687 "2020-09-05T02:36:36Z")

</div>

Hello I was messing around with the Processing Network Library examples earlier today and noticed that they dont seem to work on 2 different computers (Connected to the same network). They only work if I run both exampl…

---

## [Help) The type MouseEvent is ambiguous / java.awt.event vs g4p\_controls](https://discourse.processing.org/t/help-the-type-mouseevent-is-ambiguous-java-awt-event-vs-g4p-controls/23686)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 1\
**Last updated:** [September 5, 2020, 12:50am UTC](https://discourse.processing.org/t/help-the-type-mouseevent-is-ambiguous-java-awt-event-vs-g4p-controls/23686 "2020-09-05T00:50:36Z")

</div>

Hello. Nice to meet you. It seems that the two libraries are conflicting. Is there a workaround? import java.awt.event.; import g4p\_controls.; GWindow window1; public void windowMouse1(PApplet appc, GWinData data,…

---

## [Write code in Gradle](https://discourse.processing.org/t/write-code-in-gradle/23684)

<div class="topic-metadata">

**Author:** [@Ultrawinzer](https://discourse.processing.org/u/Ultrawinzer)\
**Replies:** 0\
**Last updated:** [September 4, 2020, 11:13pm UTC](https://discourse.processing.org/t/write-code-in-gradle/23684 "2020-09-04T23:13:05Z")

</div>

Hello. I want to build a qr code reader with zxing. Therefore I need to write some code in the gradle files. If i export my project, I can change these files, but how can I run that on my device?

---

## [Box2d still the way to go?](https://discourse.processing.org/t/box2d-still-the-way-to-go/23677)

<div class="topic-metadata">

**Author:** [@arcadeperfect](https://discourse.processing.org/u/arcadeperfect)\
**Replies:** 0\
**Last updated:** [September 4, 2020, 2:00pm UTC](https://discourse.processing.org/t/box2d-still-the-way-to-go/23677 "2020-09-04T14:00:37Z")

</div>

Hi, I want to do some 2D physics based text stuff, ie rigid body simulations with gravity and collisions. Along the lines of Dan Schiffman’s examples with boxes falling onto static objects with box2d. Those examples ar…

---

## [Why backwards-for-loops don't work?](https://discourse.processing.org/t/why-backwards-for-loops-dont-work/23672)

<div class="topic-metadata">

**Author:** [@Tinkerer](https://discourse.processing.org/u/Tinkerer)\
**Replies:** 5\
**Last updated:** [September 4, 2020, 10:53am UTC](https://discourse.processing.org/t/why-backwards-for-loops-dont-work/23672 "2020-09-04T10:53:29Z")

</div>

Hello, How come a for-loop can’t run backwards? I sometimes need to run backwards through arrays and wanted something shorter than a while loop and reverse() doesnt seem to work for higher-D arrays e.g. reverse(array) …

---

## [Help with picking a webcam](https://discourse.processing.org/t/help-with-picking-a-webcam/23645)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 0\
**Last updated:** [September 3, 2020, 1:13am UTC](https://discourse.processing.org/t/help-with-picking-a-webcam/23645 "2020-09-03T01:13:23Z")

</div>

not sure if I’m missing something really obvious I’m using the stock camera code to extract an image from my webcam. Processing lists 33 camers total 33 Available cameras: 0 name=Integrated Camera,size=640x480,fps=15 …

---

## [Frequency Energy Beat Detection with the audio output](https://discourse.processing.org/t/frequency-energy-beat-detection-with-the-audio-output/23599)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 0\
**Last updated:** [September 1, 2020, 8:06am UTC](https://discourse.processing.org/t/frequency-energy-beat-detection-with-the-audio-output/23599 "2020-09-01T08:06:40Z")

</div>

Hello there, Just a simple question I hope. :grinning: I would like to adapt the program from the Minim example. Rather to detect the beat of a mp3 in the sketch folder as it has done in the example, I would like to …

---

## [Problems with the camera](https://discourse.processing.org/t/problems-with-the-camera/23534)

<div class="topic-metadata">

**Author:** [@cndae](https://discourse.processing.org/u/cndae)\
**Replies:** 1\
**Last updated:** [August 31, 2020, 11:33pm UTC](https://discourse.processing.org/t/problems-with-the-camera/23534 "2020-08-31T23:33:38Z")

</div>

Hello! how are you? I have a problem with the camera, I’m using macOS 10.15.6. I’m trying to run 2 codes, and I have the similar problem. For example: import processing.video.\*; Capture video; void setup () { size (6…

---

## [PixelFlow: Is it possible to have multiple attractors that work with selected particles?](https://discourse.processing.org/t/pixelflow-is-it-possible-to-have-multiple-attractors-that-work-with-selected-particles/23553)

<div class="topic-metadata">

**Author:** [@jwo](https://discourse.processing.org/u/jwo)\
**Replies:** 0\
**Last updated:** [August 29, 2020, 5:41pm UTC](https://discourse.processing.org/t/pixelflow-is-it-possible-to-have-multiple-attractors-that-work-with-selected-particles/23553 "2020-08-29T17:41:34Z")

</div>

I see that the excellent pixelFlow library (which really deserves more attention) allows attractors to be created (see FlowFieldParticles\_Attractors). These will attract all particles to them with an acceleration depende…

---

## [Tramontana Multitouch Event](https://discourse.processing.org/t/tramontana-multitouch-event/23497)

<div class="topic-metadata">

**Author:** [@Hyperion65](https://discourse.processing.org/u/Hyperion65)\
**Replies:** 5\
**Last updated:** [August 27, 2020, 5:59pm UTC](https://discourse.processing.org/t/tramontana-multitouch-event/23497 "2020-08-27T17:59:57Z")

</div>

I hope someone has experience with the Tramontana library for Processing. While normal Touch recognition seems to work well, it seems I am unable to get the values for multitouch, All the other values are accessible, bu…

---

## [Best way to emulate a rotary encoder wheel?](https://discourse.processing.org/t/best-way-to-emulate-a-rotary-encoder-wheel/21982)

<div class="topic-metadata">

**Author:** [@rkdnson](https://discourse.processing.org/u/rkdnson)\
**Replies:** 22\
**Last updated:** [August 21, 2020, 11:21am UTC](https://discourse.processing.org/t/best-way-to-emulate-a-rotary-encoder-wheel/21982 "2020-08-21T11:21:07Z")

</div>

Hello all. Trying to find the easiest way to capture user input on an encoder wheel. In theory, I would want to track the clockwise / counterclockwise mouse movement within the area representing the encoder. So instead o…

---

## [Cp5 TextField bug](https://discourse.processing.org/t/cp5-textfield-bug/23471)

<div class="topic-metadata">

**Author:** [@shuptuu](https://discourse.processing.org/u/shuptuu)\
**Replies:** 3\
**Last updated:** [August 25, 2020, 8:47am UTC](https://discourse.processing.org/t/cp5-textfield-bug/23471 "2020-08-25T08:47:40Z")

</div>

Hi, Something weird with TextField controller from cp5: In a project, I have to manage the visibility of an ArrayList of Textfield controllers, according different parameters. So the best way I found to do it is in my …

---

## [Importing Processing Video Library into IntelliJ](https://discourse.processing.org/t/importing-processing-video-library-into-intellij/23437)

<div class="topic-metadata">

**Author:** [@Caleb](https://discourse.processing.org/u/Caleb)\
**Replies:** 3\
**Last updated:** [August 24, 2020, 10:37pm UTC](https://discourse.processing.org/t/importing-processing-video-library-into-intellij/23437 "2020-08-24T22:37:13Z")

</div>

I’m able to import Processing just fine but I’m unable to import the Processing Video library. I’ve tried tried adding the whole folder to the library and adding the .jars to the library. When I just put in the whole…

---

## [Is this possible? Interactive panning inside video play](https://discourse.processing.org/t/is-this-possible-interactive-panning-inside-video-play/23434)

<div class="topic-metadata">

**Author:** [@Algorithmicself](https://discourse.processing.org/u/Algorithmicself)\
**Replies:** 0\
**Last updated:** [August 23, 2020, 3:03am UTC](https://discourse.processing.org/t/is-this-possible-interactive-panning-inside-video-play/23434 "2020-08-23T03:03:13Z")

</div>

Hi! I have a question or request for guidelines how to approach my task to create an interactive pan inside a video play. I have one video file. It is a 4 x 4K video - meaning a video file in resolution size of (4x384…

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

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