# Libraries

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

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

**Page:** 74

---

## [How to use textWidth on a text generated with Geomerative library?](https://discourse.processing.org/t/how-to-use-textwidth-on-a-text-generated-with-geomerative-library/1636)

<div class="topic-metadata">

**Author:** [@lolonulu](https://discourse.processing.org/u/lolonulu)\
**Replies:** 6\
**Last updated:** [July 20, 2018, 9:33am UTC](https://discourse.processing.org/t/how-to-use-textwidth-on-a-text-generated-with-geomerative-library/1636 "2018-07-20T09:33:23Z")

</div>

Hello everybody, I am looking for a solution to get the width of each of my sentences written with the Geomerative library, is someone know how to proceed?! Thanks a lot in advance for your help! Best, L

---

## [Size of canvas controlP5](https://discourse.processing.org/t/size-of-canvas-controlp5/1805)

<div class="topic-metadata">

**Author:** [@jimbojohn](https://discourse.processing.org/u/jimbojohn)\
**Replies:** 2\
**Last updated:** [July 17, 2018, 3:45pm UTC](https://discourse.processing.org/t/size-of-canvas-controlp5/1805 "2018-07-17T15:45:55Z")

</div>

Hi everyone, I have been trying to change the size of the canvas in the controlP5 canvas example. The method addcanvas seems to have a setPositions() but not a setSize(). I wonder if anyone knows how to change the size? …

---

## [G4P tabulator in textarea](https://discourse.processing.org/t/g4p-tabulator-in-textarea/1845)

<div class="topic-metadata">

**Author:** [@MxFxM](https://discourse.processing.org/u/MxFxM)\
**Replies:** 2\
**Last updated:** [July 17, 2018, 11:34am UTC](https://discourse.processing.org/t/g4p-tabulator-in-textarea/1845 "2018-07-17T11:34:52Z")

</div>

Hi there, if I copy paste some data from excel into the texteditor (windows standard) I get fromatted text wih tabulator as space between data. If I copy paste it into a G4P textArea I get no tabulator-spaces whatsoeve…

---

## [Using Qscript in java](https://discourse.processing.org/t/using-qscript-in-java/1833)

<div class="topic-metadata">

**Author:** [@ctrembla](https://discourse.processing.org/u/ctrembla)\
**Replies:** 17\
**Last updated:** [July 17, 2018, 12:21am UTC](https://discourse.processing.org/t/using-qscript-in-java/1833 "2018-07-17T00:21:19Z")

</div>

I am trying to use Qscript in my page, but cant find a tutorial saying how to use it? I’m thinking it does the math stuff I’m looking for in my Neural Network, but when I look for tutorials for java QScript I only gettin…

---

## [Connect a function to a button created in an object (ControlP5)](https://discourse.processing.org/t/connect-a-function-to-a-button-created-in-an-object-controlp5/1821)

<div class="topic-metadata">

**Author:** [@jb4x](https://discourse.processing.org/u/jb4x)\
**Replies:** 6\
**Last updated:** [July 16, 2018, 8:26pm UTC](https://discourse.processing.org/t/connect-a-function-to-a-button-created-in-an-object-controlp5/1821 "2018-07-16T20:26:27Z")

</div>

Hello all, I have a class named “Interface” in witch I’m creating some buttons. I want to execute a function when a button is pressed. The problem is since I want my class to be generic, I can’t write that peace of co…

---

## [Unable to install library](https://discourse.processing.org/t/unable-to-install-library/1769)

<div class="topic-metadata">

**Author:** [@Cai](https://discourse.processing.org/u/Cai)\
**Replies:** 1\
**Last updated:** [July 15, 2018, 7:52am UTC](https://discourse.processing.org/t/unable-to-install-library/1769 "2018-07-15T07:52:55Z")

</div>

im using the latest processing … and im a mac user im facing a few problems - my 'add library ’ tool does not work (not for open kinect , nor for other libs) so wen i downloaded open kinect from github and copied it in t…

---

## [Network Client Always Null](https://discourse.processing.org/t/network-client-always-null/1753)

<div class="topic-metadata">

**Author:** [@Quillbert1](https://discourse.processing.org/u/Quillbert1)\
**Replies:** 9\
**Last updated:** [July 15, 2018, 1:09am UTC](https://discourse.processing.org/t/network-client-always-null/1753 "2018-07-15T01:09:37Z")

</div>

I am trying to make pong online, but the client on the server side is always null. What can I do to fix this? import processing.net.\*; Server pong; int bounceTimer = 0; int startTimer = 165; int score1 = 0; int score2…

---

## [\[SOLVED\] How can I make an include file for my scripts - SOLVED THANKS](https://discourse.processing.org/t/solved-how-can-i-make-an-include-file-for-my-scripts-solved-thanks/1569)

<div class="topic-metadata">

**Author:** [@malcolm\_gc](https://discourse.processing.org/u/malcolm_gc)\
**Replies:** 3\
**Last updated:** [July 7, 2018, 7:05am UTC](https://discourse.processing.org/t/solved-how-can-i-make-an-include-file-for-my-scripts-solved-thanks/1569 "2018-07-07T07:05:35Z")

</div>

I am having a lovely time playing with a script that draws a sonar for an Arduino output. My script runs, I can read my Arduino outputs over the serial port, my sonar gets drawn. I created some variables that I decide…

---

## [Unfolding Maps Example Will Not Start](https://discourse.processing.org/t/unfolding-maps-example-will-not-start/1721)

<div class="topic-metadata">

**Author:** [@fredstout](https://discourse.processing.org/u/fredstout)\
**Replies:** 2\
**Last updated:** [July 12, 2018, 8:48pm UTC](https://discourse.processing.org/t/unfolding-maps-example-will-not-start/1721 "2018-07-12T20:48:53Z")

</div>

I am attempting to learn Unfolding maps. I believe that I have the latest version of both Processing and Unfolding. The example sketch I want to run is SimpleMaqpApp. I am told it can not start. Can someone help me get t…

---

## [G4P GUI draw question](https://discourse.processing.org/t/g4p-gui-draw-question/1615)

<div class="topic-metadata">

**Author:** [@MxFxM](https://discourse.processing.org/u/MxFxM)\
**Replies:** 11\
**Last updated:** [July 12, 2018, 5:32pm UTC](https://discourse.processing.org/t/g4p-gui-draw-question/1615 "2018-07-12T17:32:20Z")

</div>

Hi, at which point of the program is the “draw” function of the GUI called? I ask because there is no obvious drawGUI(); similar to the createGUI(); which is used in the setup. I’m drawing an image which partly ov…

---

## [Is it possible to extend the classes PGraphics/ PGraphics3D?](https://discourse.processing.org/t/is-it-possible-to-extend-the-classes-pgraphics-pgraphics3d/1593)

<div class="topic-metadata">

**Author:** [@teresa](https://discourse.processing.org/u/teresa)\
**Replies:** 4\
**Last updated:** [July 8, 2018, 5:10pm UTC](https://discourse.processing.org/t/is-it-possible-to-extend-the-classes-pgraphics-pgraphics3d/1593 "2018-07-08T17:10:05Z")

</div>

Hello, I am currently working with the Keystone library, which enables to map projections onto surfaces. The library uses an offscreen buffer (PGraphics object) to draw the sketch. I’ve written a simple programm, consis…

---

## [controlP5 listBox and buttonBar problem](https://discourse.processing.org/t/controlp5-listbox-and-buttonbar-problem/1585)

<div class="topic-metadata">

**Author:** [@vjjv](https://discourse.processing.org/u/vjjv)\
**Replies:** 0\
**Last updated:** [July 8, 2018, 2:27am UTC](https://discourse.processing.org/t/controlp5-listbox-and-buttonbar-problem/1585 "2018-07-08T02:27:39Z")

</div>

hello! I\`ve a problem with controlP5 library. In a json file i stored the value of a variable of a class name “layer”, witch is equal to buttonBar choice. buttonBar = layer Next, i want to load that value, but i cant …

---

## [ControlP5 : bug with "alt-gr" on Linux](https://discourse.processing.org/t/controlp5-bug-with-alt-gr-on-linux/1554)

<div class="topic-metadata">

**Author:** [@max22](https://discourse.processing.org/u/max22)\
**Replies:** 0\
**Last updated:** [July 6, 2018, 3:21pm UTC](https://discourse.processing.org/t/controlp5-bug-with-alt-gr-on-linux/1554 "2018-07-06T15:21:19Z")

</div>

Hello, I use controlP5 2.2.6, with processing 3.3.7. With Linux i get this exception when i press “alt-gr” : java.lang.ArrayIndexOutOfBoundsException: 65406 at controlP5.ControlWindow.keyEvent(Unknown Source) at sun.…

---

## [Processing Net : avoid print disconnection message](https://discourse.processing.org/t/processing-net-avoid-print-disconnection-message/1513)

<div class="topic-metadata">

**Author:** [@Honny](https://discourse.processing.org/u/Honny)\
**Replies:** 9\
**Last updated:** [July 6, 2018, 5:51am UTC](https://discourse.processing.org/t/processing-net-avoid-print-disconnection-message/1513 "2018-07-06T05:51:33Z")

</div>

Hello, im writing a simple program using the Processing Net library, this program should be able to start/stop a TCP server on a given port. I have noticed that calling voluntarily the stop() function i receive in the…

---

## [Processing Serial Carrier Sense](https://discourse.processing.org/t/processing-serial-carrier-sense/1460)

<div class="topic-metadata">

**Author:** [@MxFxM](https://discourse.processing.org/u/MxFxM)\
**Replies:** 2\
**Last updated:** [July 5, 2018, 7:21am UTC](https://discourse.processing.org/t/processing-serial-carrier-sense/1460 "2018-07-05T07:21:35Z")

</div>

Hi, I am reading data from a serial bus using the Serial library. On the bus there are many different hosts/clients. Currently I’m only listening but eventually I want to send my own messages in between others. There …

---

## [Why won't Processing find my library?](https://discourse.processing.org/t/why-wont-processing-find-my-library/1483)

<div class="topic-metadata">

**Author:** [@apratt](https://discourse.processing.org/u/apratt)\
**Replies:** 3\
**Last updated:** [July 4, 2018, 7:54am UTC](https://discourse.processing.org/t/why-wont-processing-find-my-library/1483 "2018-07-04T07:54:18Z")

</div>

Anyone know why the Processing program isn’t picking up my library “papaya” ? I moved the extracted folder into the libraries folder, but it still won’t pick it up when I run. Since I can only post one picture, I’ll post…

---

## [FFmpeg failed error when recording multiple videos](https://discourse.processing.org/t/ffmpeg-failed-error-when-recording-multiple-videos/1285)

<div class="topic-metadata">

**Author:** [@livia](https://discourse.processing.org/u/livia)\
**Replies:** 2\
**Last updated:** [July 2, 2018, 9:02pm UTC](https://discourse.processing.org/t/ffmpeg-failed-error-when-recording-multiple-videos/1285 "2018-07-02T21:02:28Z")

</div>

Hi all, I have a sketch that records multiple videos using hamoid’s video export library. It automatically loads the previous video, and layers it over the current webcam feed using blend(). After recording about 11 vide…

---

## [PDF Export of paused animation is blank](https://discourse.processing.org/t/pdf-export-of-paused-animation-is-blank/1436)

<div class="topic-metadata">

**Author:** [@AndrewSleigh](https://discourse.processing.org/u/AndrewSleigh)\
**Replies:** 0\
**Last updated:** [July 2, 2018, 2:27pm UTC](https://discourse.processing.org/t/pdf-export-of-paused-animation-is-blank/1436 "2018-07-02T14:27:44Z")

</div>

I have sketch that generates some wavy lines, with onscreen control to adjust the parameters. Some of those controls allow you to redraw the lines constantly so you can se the changes live, or just redraw it once so you …

---

## [How to layer sound in processing](https://discourse.processing.org/t/how-to-layer-sound-in-processing/1409)

<div class="topic-metadata">

**Author:** [@Cida\_Lehmann](https://discourse.processing.org/u/Cida_Lehmann)\
**Replies:** 2\
**Last updated:** [July 1, 2018, 6:00pm UTC](https://discourse.processing.org/t/how-to-layer-sound-in-processing/1409 "2018-07-01T18:00:00Z")

</div>

Hi guys, I’m very new here and a very beginner in Processing. A quick question: Is it possible to layer sounds in Processing. Example: I’m running a sketch with a looping soundscape and I would like a timer to randoml…

---

## [Detecting Serial Port's ID in processing?](https://discourse.processing.org/t/detecting-serial-ports-id-in-processing/1342)

<div class="topic-metadata">

**Author:** [@liudr](https://discourse.processing.org/u/liudr)\
**Replies:** 1\
**Last updated:** [June 28, 2018, 5:13pm UTC](https://discourse.processing.org/t/detecting-serial-ports-id-in-processing/1342 "2018-06-28T17:13:12Z")

</div>

I am new here, for the 3rd time. My prior experience with Processing \<1.0 was great and I remember using serial port with it. I am wondering whether it is feasible to detect serial port’s unique ID from within Processing…

---

## [G4P dropList changing roundcorners of scrollbar](https://discourse.processing.org/t/g4p-droplist-changing-roundcorners-of-scrollbar/1277)

<div class="topic-metadata">

**Author:** [@Sonia](https://discourse.processing.org/u/Sonia)\
**Replies:** 3\
**Last updated:** [June 28, 2018, 3:38pm UTC](https://discourse.processing.org/t/g4p-droplist-changing-roundcorners-of-scrollbar/1277 "2018-06-28T15:38:55Z")

</div>

Hi, I’m trying to change roundcorners and the border color of the scrollbar into a dropList. Is there a way to do that ? I’ve tryed to put g4p\_controls.GButton.useRoundCorners(false), but it has no action on the scr…

---

## [How to 'deform' a text generated with theGeomerative library?](https://discourse.processing.org/t/how-to-deform-a-text-generated-with-thegeomerative-library/1147)

<div class="topic-metadata">

**Author:** [@lolonulu](https://discourse.processing.org/u/lolonulu)\
**Replies:** 24\
**Last updated:** [June 28, 2018, 10:29am UTC](https://discourse.processing.org/t/how-to-deform-a-text-generated-with-thegeomerative-library/1147 "2018-06-28T10:29:31Z")

</div>

Hello, I try(and manage) to ‘deform’ a text generated thanks to the Geomerative library, but once the text transformed it immediately gets back to its original form?! I’d like to keep this transformation but don’t know …

---

## [G4P changing size of dropList Button](https://discourse.processing.org/t/g4p-changing-size-of-droplist-button/1153)

<div class="topic-metadata">

**Author:** [@Sonia](https://discourse.processing.org/u/Sonia)\
**Replies:** 11\
**Last updated:** [June 26, 2018, 9:08am UTC](https://discourse.processing.org/t/g4p-changing-size-of-droplist-button/1153 "2018-06-26T09:08:59Z")

</div>

Hello Is ther a way to change the size of the dropList Button please in G4P libraire? I would like to use it on a tactile screen and the button is very to small for easy touch. Thanks for your help ! Sonia

---

## [PostgreSQL user needs guidance in building sql-library-processing](https://discourse.processing.org/t/postgresql-user-needs-guidance-in-building-sql-library-processing/1268)

<div class="topic-metadata">

**Author:** [@erictheise](https://discourse.processing.org/u/erictheise)\
**Replies:** 0\
**Last updated:** [June 26, 2018, 5:14am UTC](https://discourse.processing.org/t/postgresql-user-needs-guidance-in-building-sql-library-processing/1268 "2018-06-26T05:14:11Z")

</div>

Three years ago a user posted about a problem with single quotes in the PostgreSQL driver. I’ve hit the same problem – is the intersection of Processing and PostgreSQL really just two users? – and twelve days ago created…

---

## [How to add groupCanvas to accordion in controlP5?](https://discourse.processing.org/t/how-to-add-groupcanvas-to-accordion-in-controlp5/1169)

<div class="topic-metadata">

**Author:** [@newton45](https://discourse.processing.org/u/newton45)\
**Replies:** 0\
**Last updated:** [June 22, 2018, 1:50pm UTC](https://discourse.processing.org/t/how-to-add-groupcanvas-to-accordion-in-controlp5/1169 "2018-06-22T13:50:35Z")

</div>

I want to create canvas and draw something in the group, and I also want to make these group to shrink and arrange like “Accordion” class. But these too seems can’t work together. Is there any other way to make it work? …

---

## [Cp5 Knob: how to use an image?](https://discourse.processing.org/t/cp5-knob-how-to-use-an-image/1143)

<div class="topic-metadata">

**Author:** [@koendepoorter](https://discourse.processing.org/u/koendepoorter)\
**Replies:** 3\
**Last updated:** [June 24, 2018, 1:48pm UTC](https://discourse.processing.org/t/cp5-knob-how-to-use-an-image/1143 "2018-06-24T13:48:21Z")

</div>

hey everybody, I have a problem i can’t seem to solve: I want to use an image instead of the standard Knob-layout. It works fine with buttons, toggles, … but not with knobs? Anyone got any idea what I’m doing wrong? …

---

## [\[ G4P \] changing Text of a Textfield in its eventHandler method](https://discourse.processing.org/t/g4p-changing-text-of-a-textfield-in-its-eventhandler-method/1170)

<div class="topic-metadata">

**Author:** [@AntonC](https://discourse.processing.org/u/AntonC)\
**Replies:** 1\
**Last updated:** [June 23, 2018, 11:51am UTC](https://discourse.processing.org/t/g4p-changing-text-of-a-textfield-in-its-eventhandler-method/1170 "2018-06-23T11:51:16Z")

</div>

I tried the code below. When the text length is greater than 4, I’m getting an error. For some reason, I’m not allowed to change the text, while being inside that method. It calls the method splendidly, and the error i…

---

## [G4P examples not readable](https://discourse.processing.org/t/g4p-examples-not-readable/1009)

<div class="topic-metadata">

**Author:** [@F6EEQ](https://discourse.processing.org/u/F6EEQ)\
**Replies:** 6\
**Last updated:** [June 20, 2018, 4:25pm UTC](https://discourse.processing.org/t/g4p-examples-not-readable/1009 "2018-06-20T16:25:20Z")

</div>

Hi folks, This post is related to G4P example, but also to lots of similar problems due to java script. Almost all web browsers deny the use of java script. I ,normally use Firefox, but I also tried IE, Edge, Chrome… …

---

## [Picking with JAVA2D](https://discourse.processing.org/t/picking-with-java2d/859)

<div class="topic-metadata">

**Author:** [@ferrari](https://discourse.processing.org/u/ferrari)\
**Replies:** 4\
**Last updated:** [June 19, 2018, 8:30pm UTC](https://discourse.processing.org/t/picking-with-java2d/859 "2018-06-19T20:30:35Z")

</div>

hello, is possible to use picking library with the default renderer? (java2d, no P3D or P2D) in processing 1.5 it was possible…but in processing 3…not anymore. any idea? or other library o code? i need for pick compl…

---

## [Drawing "Windows style" screen](https://discourse.processing.org/t/drawing-windows-style-screen/918)

<div class="topic-metadata">

**Author:** [@F6EEQ](https://discourse.processing.org/u/F6EEQ)\
**Replies:** 2\
**Last updated:** [June 14, 2018, 8:55am UTC](https://discourse.processing.org/t/drawing-windows-style-screen/918 "2018-06-14T08:55:11Z")

</div>

Hi all, To implement a measuring system, I wish to drive an ARDUINO and get back some ADC measurement. I know the basic stuff (how to send a command with a click of the mouse and the like …) but I would like to know if…

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

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