# Libraries

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

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

**Page:** 29

---

## [How to have a different font size inside the text field than the font size of its description with ControlP5?](https://discourse.processing.org/t/how-to-have-a-different-font-size-inside-the-text-field-than-the-font-size-of-its-description-with-controlp5/28452)

<div class="topic-metadata">

**Author:** [@tea\_tree](https://discourse.processing.org/u/tea_tree)\
**Replies:** 3\
**Last updated:** [March 12, 2021, 8:41am UTC](https://discourse.processing.org/t/how-to-have-a-different-font-size-inside-the-text-field-than-the-font-size-of-its-description-with-controlp5/28452 "2021-03-12T08:41:42Z")

</div>

I’d like to add a textfield named “input”. The description (“input”) should be of font size 5 but inside the text field I’d like to use a font size that fills out most of the text field. In any case, I’d like the font si…

---

## [G4P text size & style](https://discourse.processing.org/t/g4p-text-size-style/28169)

<div class="topic-metadata">

**Author:** [@Konstanitn](https://discourse.processing.org/u/Konstanitn)\
**Replies:** 2\
**Last updated:** [March 11, 2021, 4:20pm UTC](https://discourse.processing.org/t/g4p-text-size-style/28169 "2021-03-11T16:20:26Z")

</div>

Hello everyone, I was looking for a library with a GUI to create custom GUIs to communicate with arduino and the only one (semi) up to dateI was G4P. So I tried to create some Interfaces and with my limited processing k…

---

## [Error the "com.design" does not exist](https://discourse.processing.org/t/error-the-com-design-does-not-exist/28373)

<div class="topic-metadata">

**Author:** [@kathleen](https://discourse.processing.org/u/kathleen)\
**Replies:** 4\
**Last updated:** [March 10, 2021, 1:15pm UTC](https://discourse.processing.org/t/error-the-com-design-does-not-exist/28373 "2021-03-10T13:15:50Z")

</div>

I am new to Processing and am trying to utilize this project with my HS students – http://highlowtech.org/?p=2329 When I run the code I receive an error message The package “com.design” does not exist. You might be miss…

---

## [Glvideo library on ubuntu 20.10](https://discourse.processing.org/t/glvideo-library-on-ubuntu-20-10/28298)

<div class="topic-metadata">

**Author:** [@matheplica](https://discourse.processing.org/u/matheplica)\
**Replies:** 12\
**Last updated:** [March 9, 2021, 8:51pm UTC](https://discourse.processing.org/t/glvideo-library-on-ubuntu-20-10/28298 "2021-03-09T20:51:11Z")

</div>

Hi, I’m trying glvideo library on ubuntu mate 20.10 but the bug is still that there are compiled for gstreamer 1.8 and ubuntu use version 1.18. There is a way to work around or another library is ok ? Thanks for help

---

## [OSC message to Run Processing Sketch](https://discourse.processing.org/t/osc-message-to-run-processing-sketch/28318)

<div class="topic-metadata">

**Author:** [@L0RDZed](https://discourse.processing.org/u/L0RDZed)\
**Replies:** 7\
**Last updated:** [March 8, 2021, 7:05pm UTC](https://discourse.processing.org/t/osc-message-to-run-processing-sketch/28318 "2021-03-08T19:05:33Z")

</div>

Hi, Is it possible to send an OSC message to processing that will initiate the Run command? I am using Supercollider to send OSC messages to trigger events in Processing. I need to add another message command to my OS…

---

## [Help on video effect](https://discourse.processing.org/t/help-on-video-effect/27942)

<div class="topic-metadata">

**Author:** [@Morais](https://discourse.processing.org/u/Morais)\
**Replies:** 1\
**Last updated:** [March 8, 2021, 5:48pm UTC](https://discourse.processing.org/t/help-on-video-effect/27942 "2021-03-08T17:48:09Z")

</div>

Hi everyone. I am new to coding. This “effect” is almost done in terms of the overall look, but I can’t understand how to smooth out the pixelated lines (examples below). There’s a difference between P2D/P3D, but it’s …

---

## [How to rotate pixels based on other light values?](https://discourse.processing.org/t/how-to-rotate-pixels-based-on-other-light-values/28303)

<div class="topic-metadata">

**Author:** [@Morais](https://discourse.processing.org/u/Morais)\
**Replies:** 4\
**Last updated:** [March 8, 2021, 4:22pm UTC](https://discourse.processing.org/t/how-to-rotate-pixels-based-on-other-light-values/28303 "2021-03-08T16:22:34Z")

</div>

Hi everybody, I am new to coding. Given this code example, how can I rotate pixels based on other light values? Do I need to define 3 different brightness values? In this code example, there is this brightness(\_c) ins…

---

## [Having trouble hiding Controllers](https://discourse.processing.org/t/having-trouble-hiding-controllers/28282)

<div class="topic-metadata">

**Author:** [@Bluebottle](https://discourse.processing.org/u/Bluebottle)\
**Replies:** 4\
**Last updated:** [March 7, 2021, 10:27pm UTC](https://discourse.processing.org/t/having-trouble-hiding-controllers/28282 "2021-03-07T22:27:41Z")

</div>

I’ve been trying to have different knobs and buttons available depending on the tab pressed in the button bar at the top. Unfortunately, I haven’t been able to get this knob to hide using the button bar and am unsure as …

---

## [Save Value in ArrayList controlP5/Processing/Intellij](https://discourse.processing.org/t/save-value-in-arraylist-controlp5-processing-intellij/28264)

<div class="topic-metadata">

**Author:** [@deerfox](https://discourse.processing.org/u/deerfox)\
**Replies:** 1\
**Last updated:** [March 6, 2021, 10:18am UTC](https://discourse.processing.org/t/save-value-in-arraylist-controlp5-processing-intellij/28264 "2021-03-06T10:18:16Z")

</div>

Hey Everybody, Nooby here :slight\_smile: I’m doing my first GUI and I don’t know how to save the Values in an ArrayList by pressing the Buttons this is my Code so far: import processing.core.PApplet; import controlP5…

---

## [Font on Button Processing an controlP5](https://discourse.processing.org/t/font-on-button-processing-an-controlp5/28094)

<div class="topic-metadata">

**Author:** [@deerfox](https://discourse.processing.org/u/deerfox)\
**Replies:** 2\
**Last updated:** [February 27, 2021, 10:16am UTC](https://discourse.processing.org/t/font-on-button-processing-an-controlp5/28094 "2021-02-27T10:16:40Z")

</div>

Hi everyone, I try to set my font on my button, i tried a few thinks like public ControlFont(processing.core.PFont theFont) but it doesen’t really work but its my first projekt with processing an controlP5, I also tr…

---

## [Does anyone know how to rotate 90º a Textfield in ControlP5?](https://discourse.processing.org/t/does-anyone-know-how-to-rotate-90-a-textfield-in-controlp5/26962)

<div class="topic-metadata">

**Author:** [@AlOn](https://discourse.processing.org/u/AlOn)\
**Replies:** 7\
**Last updated:** [February 26, 2021, 1:55pm UTC](https://discourse.processing.org/t/does-anyone-know-how-to-rotate-90-a-textfield-in-controlp5/26962 "2021-02-26T13:55:13Z")

</div>

This seems a simple question, but I’m not able to solve the issue. It is possible to rotate the controlP5 controllers? I need it exactly 90º CCW. But I’m unable to find the solution. Possible options: Use a rotate na…

---

## [Convert UDP packet to floats?](https://discourse.processing.org/t/convert-udp-packet-to-floats/27843)

<div class="topic-metadata">

**Author:** [@jetjaguar](https://discourse.processing.org/u/jetjaguar)\
**Replies:** 17\
**Last updated:** [February 22, 2021, 8:05pm UTC](https://discourse.processing.org/t/convert-udp-packet-to-floats/27843 "2021-02-22T20:05:17Z")

</div>

Hello everyone, I’m working with UDP for the first time, using a program called opentrack which sends out packets of bytes over UDP. I can receive the packets in processing, but I’m having trouble figuring out to convert…

---

## [QueasyCam FOV problem](https://discourse.processing.org/t/queasycam-fov-problem/27996)

<div class="topic-metadata">

**Author:** [@yeppii](https://discourse.processing.org/u/yeppii)\
**Replies:** 4\
**Last updated:** [February 22, 2021, 1:15pm UTC](https://discourse.processing.org/t/queasycam-fov-problem/27996 "2021-02-22T13:15:53Z")

</div>

I am making a game, and I am using queasycam as the camera library. I am getting this output when I run the game: It should render the surface fully but its showing the surface like that. What can I do to solve this?

---

## [Grafica/ Gplot, GLayer, GPoint](https://discourse.processing.org/t/grafica-gplot-glayer-gpoint/27979)

<div class="topic-metadata">

**Author:** [@xD\_echicero\_xD](https://discourse.processing.org/u/xD_echicero_xD)\
**Replies:** 0\
**Last updated:** [February 21, 2021, 4:36pm UTC](https://discourse.processing.org/t/grafica-gplot-glayer-gpoint/27979 "2021-02-21T16:36:45Z")

</div>

Hello and thanks for read this post. My question is about Gplot, GLayer, GPoint. i read the index but i can’t understand it. if someone can explain me it and get me a example. i would appreciate it. Examples in index; …

---

## [P5 Control in custom class](https://discourse.processing.org/t/p5-control-in-custom-class/27865)

<div class="topic-metadata">

**Author:** [@xbix](https://discourse.processing.org/u/xbix)\
**Replies:** 5\
**Last updated:** [February 18, 2021, 5:00pm UTC](https://discourse.processing.org/t/p5-control-in-custom-class/27865 "2021-02-18T17:00:38Z")

</div>

I’m trying to add p5 UI to my drawing class, but when I add cp5 = new ControlP5(this); to the constructor I get: "The constructor "ControlP5(myClassName) does not exist. Loading p5 from the setup() works fine. What a…

---

## [PDF / SVG libraries - rectMode(CENTER) not working](https://discourse.processing.org/t/pdf-svg-libraries-rectmode-center-not-working/27878)

<div class="topic-metadata">

**Author:** [@xiiixiii](https://discourse.processing.org/u/xiiixiii)\
**Replies:** 4\
**Last updated:** [February 17, 2021, 2:47pm UTC](https://discourse.processing.org/t/pdf-svg-libraries-rectmode-center-not-working/27878 "2021-02-17T14:47:23Z")

</div>

Hi there So I’ve got a project, I go to export the files, all works as expected except for the rectangles which are now in the wrong positions. Same error with PDF and SVG libraries. Is this a known issue with rectMode…

---

## [Processing Sound Library Errors](https://discourse.processing.org/t/processing-sound-library-errors/27810)

<div class="topic-metadata">

**Author:** [@SNICKRS](https://discourse.processing.org/u/SNICKRS)\
**Replies:** 4\
**Last updated:** [February 15, 2021, 11:34pm UTC](https://discourse.processing.org/t/processing-sound-library-errors/27810 "2021-02-15T23:34:59Z")

</div>

Hello everyone, I was encountering some errors when using the processing sound library. The files load and play fine, but sometimes they just don’t play at all, and this happens usually 2-5 minutes after the program star…

---

## [How can i show only a certain number of members of an Array?](https://discourse.processing.org/t/how-can-i-show-only-a-certain-number-of-members-of-an-array/27727)

<div class="topic-metadata">

**Author:** [@nicnut](https://discourse.processing.org/u/nicnut)\
**Replies:** 7\
**Last updated:** [February 13, 2021, 2:01am UTC](https://discourse.processing.org/t/how-can-i-show-only-a-certain-number-of-members-of-an-array/27727 "2021-02-13T02:01:04Z")

</div>

Hi, I have always been bad with Arrays, maybe someone can help me out. I am trying to create an interactive Processing sketch, where I send OSC messages into Processing, which I have worked out. I took one of the exam…

---

## [G4P - Click on panel disables button](https://discourse.processing.org/t/g4p-click-on-panel-disables-button/27730)

<div class="topic-metadata">

**Author:** [@blerk](https://discourse.processing.org/u/blerk)\
**Replies:** 5\
**Last updated:** [February 12, 2021, 12:12pm UTC](https://discourse.processing.org/t/g4p-click-on-panel-disables-button/27730 "2021-02-12T12:12:30Z")

</div>

Hello! I found that if i click on a not collapsible panel (without dragging) it disables buttons. Is that expected behaviour? If yes, can I change it? Here is some code to exemplify what i mean: main import g4p\_contr…

---

## [G4P - Remember Option Selected in New Window](https://discourse.processing.org/t/g4p-remember-option-selected-in-new-window/27697)

<div class="topic-metadata">

**Author:** [@alenmartel](https://discourse.processing.org/u/alenmartel)\
**Replies:** 3\
**Last updated:** [February 10, 2021, 9:55pm UTC](https://discourse.processing.org/t/g4p-remember-option-selected-in-new-window/27697 "2021-02-10T21:55:55Z")

</div>

Good afternoon all; I’m making a little app and have only gotten as far as setting up the GUI using G4P. I’ve set it up so that there is a floating panel with buttons that open up more windows that let you select certai…

---

## [Looking for example BELL code using Wellen library](https://discourse.processing.org/t/looking-for-example-bell-code-using-wellen-library/27635)

<div class="topic-metadata">

**Author:** [@PurpleSquircle](https://discourse.processing.org/u/PurpleSquircle)\
**Replies:** 3\
**Last updated:** [February 9, 2021, 9:27pm UTC](https://discourse.processing.org/t/looking-for-example-bell-code-using-wellen-library/27635 "2021-02-09T21:27:28Z")

</div>

I’m using the Wellen audio library to create sounds for my second ever Processing project, so apologies if this is an easy question - I’m still a novice programmer. The library was updated in January to include a small b…

---

## [Playing around with fluid simulation](https://discourse.processing.org/t/playing-around-with-fluid-simulation/27670)

<div class="topic-metadata">

**Author:** [@pelinkiliboz](https://discourse.processing.org/u/pelinkiliboz)\
**Replies:** 3\
**Last updated:** [February 9, 2021, 12:27pm UTC](https://discourse.processing.org/t/playing-around-with-fluid-simulation/27670 "2021-02-09T12:27:45Z")

</div>

Hello, I’ve been playing around with Daniel Shiffman’s fluid simulation tutorial and trying to find a way to add a different color every time the mouse is pressed (or when the color is chosen, is where I’m trying to get)…

---

## [Using opencv.detect() and using the face position to replace mouse position in an existing sketch](https://discourse.processing.org/t/using-opencv-detect-and-using-the-face-position-to-replace-mouse-position-in-an-existing-sketch/27651)

<div class="topic-metadata">

**Author:** [@eelhum](https://discourse.processing.org/u/eelhum)\
**Replies:** 3\
**Last updated:** [February 8, 2021, 5:44am UTC](https://discourse.processing.org/t/using-opencv-detect-and-using-the-face-position-to-replace-mouse-position-in-an-existing-sketch/27651 "2021-02-08T05:44:21Z")

</div>

Here's the code i currently have, for some reason i keep getting back ArrayIndexOutOfBoundsException = 0; when in theory i thought replacing the faces\[i\].x in place of mouseX and faces\[i\].y in place of mouseY would make …

---

## [Importing java libraries](https://discourse.processing.org/t/importing-java-libraries/18959)

<div class="topic-metadata">

**Author:** [@Pingu](https://discourse.processing.org/u/Pingu)\
**Replies:** 2\
**Last updated:** [February 8, 2021, 12:27am UTC](https://discourse.processing.org/t/importing-java-libraries/18959 "2021-02-08T00:27:32Z")

</div>

I would like to use processing to connect to my Wiimote. To do this I have installed the Wiiremotej jar from their page. On their page they mention that the library has a dependency, it needs a bluetooth library to manag…

---

## [.mov and .mp4 files won't run w/ Video Library](https://discourse.processing.org/t/mov-and-mp4-files-wont-run-w-video-library/27597)

<div class="topic-metadata">

**Author:** [@Hassan0987](https://discourse.processing.org/u/Hassan0987)\
**Replies:** 1\
**Last updated:** [February 6, 2021, 7:46pm UTC](https://discourse.processing.org/t/mov-and-mp4-files-wont-run-w-video-library/27597 "2021-02-06T19:46:27Z")

</div>

Well Hello! I’m beginning in Arduino and Processing which I think is a PERFECT alliance for me. I don’t know about you but for me it’s a dream come true to be able to make our own robot and make our own app to control …

---

## [None of the sound libraries working under Linux Mint](https://discourse.processing.org/t/none-of-the-sound-libraries-working-under-linux-mint/27558)

<div class="topic-metadata">

**Author:** [@cartocopia](https://discourse.processing.org/u/cartocopia)\
**Replies:** 5\
**Last updated:** [February 5, 2021, 10:50pm UTC](https://discourse.processing.org/t/none-of-the-sound-libraries-working-under-linux-mint/27558 "2021-02-05T22:50:26Z")

</div>

None of the sound libraries work for me under with Processing 3.5.4 on Linux Mint 20. The basic Sound , Beads and Minim all give the same error when trying to run any of their included demo sketches : javax.sound.samp…

---

## [G4P - Placing a GView Within a GWindow](https://discourse.processing.org/t/g4p-placing-a-gview-within-a-gwindow/27575)

<div class="topic-metadata">

**Author:** [@MauiMana](https://discourse.processing.org/u/MauiMana)\
**Replies:** 2\
**Last updated:** [February 5, 2021, 1:44am UTC](https://discourse.processing.org/t/g4p-placing-a-gview-within-a-gwindow/27575 "2021-02-05T01:44:40Z")

</div>

Using the latest version of Processing 3 as well as the latest version of G4P, I’m trying to have a rotating box animating within a popup form. To do this I am using a GWindow (for the ‘popup from’) that has a GView with…

---

## [AudioIn issue : could not secure an AudioInput](https://discourse.processing.org/t/audioin-issue-could-not-secure-an-audioinput/18099)

<div class="topic-metadata">

**Author:** [@fred](https://discourse.processing.org/u/fred)\
**Replies:** 5\
**Last updated:** [February 4, 2021, 6:16am UTC](https://discourse.processing.org/t/audioin-issue-could-not-secure-an-audioinput/18099 "2021-02-04T06:16:35Z")

</div>

Hi everyone, I have an problem with audioIn. I’m on MacOs I can’t get the Microphone by my sketch : could not secure an AudioInput. I have try both Sound and Minim libraries without success. The microphone works well wi…

---

## [Screenshot and webcam picture at same time every 6 minutes](https://discourse.processing.org/t/screenshot-and-webcam-picture-at-same-time-every-6-minutes/27525)

<div class="topic-metadata">

**Author:** [@saskia\_NL](https://discourse.processing.org/u/saskia_NL)\
**Replies:** 1\
**Last updated:** [February 3, 2021, 11:56pm UTC](https://discourse.processing.org/t/screenshot-and-webcam-picture-at-same-time-every-6-minutes/27525 "2021-02-03T23:56:03Z")

</div>

Hi, I’m looking for a way to take a screenshot of my desktop with all it’s open tabs while at the same time taking a picture with the build-in webcam. I would like to capture these 2 images automatically every 6 minutes…

---

## [Processing can't find built in camera](https://discourse.processing.org/t/processing-cant-find-built-in-camera/27544)

<div class="topic-metadata">

**Author:** [@ELaN](https://discourse.processing.org/u/ELaN)\
**Replies:** 2\
**Last updated:** [February 3, 2021, 6:41am UTC](https://discourse.processing.org/t/processing-cant-find-built-in-camera/27544 "2021-02-03T06:41:31Z")

</div>

I’ve written the following code \<import processing.video.\*; //PImage unicorn; Capture unicorn; void setup(){ size(640,480); unicorn=new Capture (this,640,480); unicorn.start(); background(0); } void captureEven…

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

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