# Processing

**URL:** https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=88

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

**Page:** 89

---

## [Temporizador para texto después de una acción](https://discourse.processing.org/t/temporizador-para-texto-despues-de-una-accion/35627)

<div class="topic-metadata">

**Author:** [@AdriaCornell](https://discourse.processing.org/u/AdriaCornell)\
**Replies:** 1\
**Last updated:** [March 10, 2022, 9:02am UTC](https://discourse.processing.org/t/temporizador-para-texto-despues-de-una-accion/35627 "2022-03-10T09:02:24Z")

</div>

Buenas! Para un trabajo tengo que crear el típico juego de Pong. Cada vez que la pelota llega al final se suma un punto y al llegar a 3 puntos se acaba la partida. Pero antes intento hacer aparecer durante unos segundos…

---

## [Updating Number of Files While Sketch Runs](https://discourse.processing.org/t/updating-number-of-files-while-sketch-runs/35615)

<div class="topic-metadata">

**Author:** [@BruceTheWayneJohnson](https://discourse.processing.org/u/BruceTheWayneJohnson)\
**Replies:** 1\
**Last updated:** [March 9, 2022, 4:24pm UTC](https://discourse.processing.org/t/updating-number-of-files-while-sketch-runs/35615 "2022-03-09T16:24:08Z")

</div>

Hello! I am working on a way to see how many image files are in the sketch folder. My goal is to load the folder with images with an API and as the sketch runs, check to see if new images have been added. I can imagine…

---

## [Grab sketch/window name from within sketch for copy-and-paste screenshot method?](https://discourse.processing.org/t/grab-sketch-window-name-from-within-sketch-for-copy-and-paste-screenshot-method/35629)

<div class="topic-metadata">

**Author:** [@squig](https://discourse.processing.org/u/squig)\
**Replies:** 2\
**Last updated:** [March 9, 2022, 4:10pm UTC](https://discourse.processing.org/t/grab-sketch-window-name-from-within-sketch-for-copy-and-paste-screenshot-method/35629 "2022-03-09T16:10:32Z")

</div>

I make a lot of short sketches from scratch. I’m attempting to write a short bit of code that I can copy and paste into any sketch so I can get full resolution screenshots with as little effort as possible. Currently I h…

---

## [Creating an output for Wekinator](https://discourse.processing.org/t/creating-an-output-for-wekinator/35620)

<div class="topic-metadata">

**Author:** [@CameronNorris](https://discourse.processing.org/u/CameronNorris)\
**Replies:** 5\
**Last updated:** [March 9, 2022, 1:03pm UTC](https://discourse.processing.org/t/creating-an-output-for-wekinator/35620 "2022-03-09T13:03:39Z")

</div>

Hi, You will have to forgive my ignorance as my background is in design but I’m currently doing a short course called Machine Learning for Musicians and Artists, which has inspired me to learn new things and get involve…

---

## [Does anyone know how to create this gradient looked design in Processing?](https://discourse.processing.org/t/does-anyone-know-how-to-create-this-gradient-looked-design-in-processing/35576)

<div class="topic-metadata">

**Author:** [@bringmeflowers](https://discourse.processing.org/u/bringmeflowers)\
**Replies:** 1\
**Last updated:** [March 9, 2022, 8:29am UTC](https://discourse.processing.org/t/does-anyone-know-how-to-create-this-gradient-looked-design-in-processing/35576 "2022-03-09T08:29:36Z")

</div>

---

## [I am trying to input a couple of variables at the sketch startup](https://discourse.processing.org/t/i-am-trying-to-input-a-couple-of-variables-at-the-sketch-startup/35558)

<div class="topic-metadata">

**Author:** [@laptophead](https://discourse.processing.org/u/laptophead)\
**Replies:** 3\
**Last updated:** [March 9, 2022, 3:29am UTC](https://discourse.processing.org/t/i-am-trying-to-input-a-couple-of-variables-at-the-sketch-startup/35558 "2022-03-09T03:29:21Z")

</div>

Is there an example out there? Looked in the library… found nothing… So when the sketch starts, the user is prompted to input Month and Year in 2 different boxes. The values would have to be restricted to 1-12 and 20…

---

## [Trying To Make A Circle Move Back and Forth On A Horizontal Line](https://discourse.processing.org/t/trying-to-make-a-circle-move-back-and-forth-on-a-horizontal-line/35546)

<div class="topic-metadata">

**Author:** [@0\_0](https://discourse.processing.org/u/0_0)\
**Replies:** 1\
**Last updated:** [March 8, 2022, 9:37pm UTC](https://discourse.processing.org/t/trying-to-make-a-circle-move-back-and-forth-on-a-horizontal-line/35546 "2022-03-08T21:37:14Z")

</div>

//Constants final int X\_LEFT = 100; //The left end of the horizontal line. final int X\_RIGHT = 400; //The right end of the horizontal line. final int Y = 100; //The y position of the line and circle. final int BALL\_DIAM…

---

## [What libraries do I need to install in order to use Processing effectively on a Macbook?](https://discourse.processing.org/t/what-libraries-do-i-need-to-install-in-order-to-use-processing-effectively-on-a-macbook/35579)

<div class="topic-metadata">

**Author:** [@JennyMcCreadie](https://discourse.processing.org/u/JennyMcCreadie)\
**Replies:** 1\
**Last updated:** [March 8, 2022, 9:25pm UTC](https://discourse.processing.org/t/what-libraries-do-i-need-to-install-in-order-to-use-processing-effectively-on-a-macbook/35579 "2022-03-08T21:25:04Z")

</div>

Hello, does anyone know what I would need to install in order to use a Kinect (either version) with Processing so I could draw the outlines of bodies etc? I’ve heard of ‘SimpleOpenNI’ which needs ‘OpenNI’ to be installed…

---

## [Many java libraries ignored during exporting for macOS](https://discourse.processing.org/t/many-java-libraries-ignored-during-exporting-for-macos/35619)

<div class="topic-metadata">

**Author:** [@dattasaurabh82](https://discourse.processing.org/u/dattasaurabh82)\
**Replies:** 0\
**Last updated:** [March 8, 2022, 5:57pm UTC](https://discourse.processing.org/t/many-java-libraries-ignored-during-exporting-for-macos/35619 "2022-03-08T17:57:57Z")

</div>

Hello community. So I’ve a sketch where I plan to use few native libraries like: import java.io.\*; import java.util.\*; import java.net.Inet4Address; import java.net.UnknownHostException; import java.awt.Dimension; im…

---

## [URL error (MalformedURLException)](https://discourse.processing.org/t/url-error-malformedurlexception/35585)

<div class="topic-metadata">

**Author:** [@gidiav](https://discourse.processing.org/u/gidiav)\
**Replies:** 2\
**Last updated:** [March 7, 2022, 10:20pm UTC](https://discourse.processing.org/t/url-error-malformedurlexception/35585 "2022-03-07T22:20:32Z")

</div>

Hello, I am new to Processing and also to Java (though I’ve coded a lot in other languages). I am trying to read some text from a web page for my sketch, so I tried to follow the instructions in this link, and do somet…

---

## [Unable to properly install SimpleOpenNI on MacOS BigSur](https://discourse.processing.org/t/unable-to-properly-install-simpleopenni-on-macos-bigsur/35610)

<div class="topic-metadata">

**Author:** [@clab](https://discourse.processing.org/u/clab)\
**Replies:** 0\
**Last updated:** [March 7, 2022, 9:12pm UTC](https://discourse.processing.org/t/unable-to-properly-install-simpleopenni-on-macos-bigsur/35610 "2022-03-07T21:12:02Z")

</div>

Issue Summary I am trying to install the library the steps Ive been taking is to download the repo and unzip and copying the file over to processing/library/ folder but every time I try to run processing it says that I h…

---

## [What camera, besides Kinect, is best to use with Processing?](https://discourse.processing.org/t/what-camera-besides-kinect-is-best-to-use-with-processing/35557)

<div class="topic-metadata">

**Author:** [@Brooke](https://discourse.processing.org/u/Brooke)\
**Replies:** 2\
**Last updated:** [March 7, 2022, 2:51pm UTC](https://discourse.processing.org/t/what-camera-besides-kinect-is-best-to-use-with-processing/35557 "2022-03-07T14:51:39Z")

</div>

Hello! I’ve spent a long time trying to get sketches working with the xbox Kinect. I’ve tried to install OpenNI, SimpleOpenNI, NITE, libfreenect, Homebrew, and many more. As more of a beginner with this stuff it has beco…

---

## [How can I delete a TableRow in processing?](https://discourse.processing.org/t/how-can-i-delete-a-tablerow-in-processing/35606)

<div class="topic-metadata">

**Author:** [@pas](https://discourse.processing.org/u/pas)\
**Replies:** 1\
**Last updated:** [March 7, 2022, 10:13am UTC](https://discourse.processing.org/t/how-can-i-delete-a-tablerow-in-processing/35606 "2022-03-07T10:13:24Z")

</div>

Hi, i’m new to coding, so hope for some help!! My code should save same variables in a table according to an given name. By searching for the name of this Variable-combination, i would like to delet the whole row. But h…

---

## [Processing 3 Kotlin project-template with gradle](https://discourse.processing.org/t/processing-3-kotlin-project-template-with-gradle/35378)

<div class="topic-metadata">

**Author:** [@linde98](https://discourse.processing.org/u/linde98)\
**Replies:** 4\
**Last updated:** [March 7, 2022, 9:56am UTC](https://discourse.processing.org/t/processing-3-kotlin-project-template-with-gradle/35378 "2022-03-07T09:56:52Z")

</div>

Hi :slight\_smile: I recently started using Processing and wanted to use it from my familiar IDE (IntelliJ) and with my preferred language (Kotlin). I stumbled upon some interesting reads (\[1\], \[2\], \[3\]) and created a p…

---

## [\[JAVA\] LIBRARY(UiBooster) - How do I get it to work?](https://discourse.processing.org/t/java-library-uibooster-how-do-i-get-it-to-work/35603)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 5\
**Last updated:** [March 7, 2022, 8:29am UTC](https://discourse.processing.org/t/java-library-uibooster-how-do-i-get-it-to-work/35603 "2022-03-07T08:29:46Z")

</div>

ref url : TableDialog ref url2 : GitHub - Milchreis/uibooster-for-processing: 🚀 Creates fast and easy dialogs for utility tools for Processing Package uibooster \> Class UiBooster \> showTable​ String\[\]\[\] modifiedDat…

---

## [I am having problems connecting Processing to an Arduino](https://discourse.processing.org/t/i-am-having-problems-connecting-processing-to-an-arduino/35599)

<div class="topic-metadata">

**Author:** [@jimh](https://discourse.processing.org/u/jimh)\
**Replies:** 5\
**Last updated:** [March 7, 2022, 3:11am UTC](https://discourse.processing.org/t/i-am-having-problems-connecting-processing-to-an-arduino/35599 "2022-03-07T03:11:19Z")

</div>

Hello, I need help connecting Processing to my Arduino. I am new to Processing and Arduino. I am running on a Mac and using an Arduino Uno. I don’t know what I am doing… I have used the following code and methods tha…

---

## [Sending video from Processing to MadMapper with Mac M1](https://discourse.processing.org/t/sending-video-from-processing-to-madmapper-with-mac-m1/35012)

<div class="topic-metadata">

**Author:** [@marfinfo3](https://discourse.processing.org/u/marfinfo3)\
**Replies:** 3\
**Last updated:** [March 6, 2022, 11:57pm UTC](https://discourse.processing.org/t/sending-video-from-processing-to-madmapper-with-mac-m1/35012 "2022-03-06T23:57:54Z")

</div>

Syphon library does not appear on the library listing, it can be found by github link but when is installed there is some kind of error. Seem’s that this library does not work with the apple m1 (neither v2 nor v3) What…

---

## [How to get bits from jpg image](https://discourse.processing.org/t/how-to-get-bits-from-jpg-image/35574)

<div class="topic-metadata">

**Author:** [@0ldBergamot](https://discourse.processing.org/u/0ldBergamot)\
**Replies:** 4\
**Last updated:** [March 6, 2022, 11:19pm UTC](https://discourse.processing.org/t/how-to-get-bits-from-jpg-image/35574 "2022-03-06T23:19:03Z")

</div>

Context : I coded an image generator. You choose a String as input, every char is converted into its binary ascii value and each bit represents a pixel (0 = white, 1 = black). The result is save as “image.jpg” Question…

---

## [UiBooster library .addButton() redirect to a sub routine on click](https://discourse.processing.org/t/uibooster-library-addbutton-redirect-to-a-sub-routine-on-click/26541)

<div class="topic-metadata">

**Author:** [@terryz](https://discourse.processing.org/u/terryz)\
**Replies:** 3\
**Last updated:** [March 6, 2022, 10:44pm UTC](https://discourse.processing.org/t/uibooster-library-addbutton-redirect-to-a-sub-routine-on-click/26541 "2022-03-06T22:44:25Z")

</div>

Hi, I am using UiBooster by Milchreis. I am having an issue with calling a function using .addbutton() . Relevant code is below; I am getting error “unexpected token: )” on the addButton() to the routine , ()-\>sendData…

---

## [How to save text to clipboard?](https://discourse.processing.org/t/how-to-save-text-to-clipboard/34504)

<div class="topic-metadata">

**Author:** [@CodeMasterX](https://discourse.processing.org/u/CodeMasterX)\
**Replies:** 2\
**Last updated:** [March 6, 2022, 10:12am UTC](https://discourse.processing.org/t/how-to-save-text-to-clipboard/34504 "2022-03-06T10:12:25Z")

</div>

Hi, I want to save a String of text to clipboard. Is it possible to do it while the program is running in the background? Thank you.

---

## [Generating 8k images in P3D](https://discourse.processing.org/t/generating-8k-images-in-p3d/35545)

<div class="topic-metadata">

**Author:** [@Raul](https://discourse.processing.org/u/Raul)\
**Replies:** 5\
**Last updated:** [March 6, 2022, 1:26am UTC](https://discourse.processing.org/t/generating-8k-images-in-p3d/35545 "2022-03-06T01:26:10Z")

</div>

Hi! I have a program that generates images, displays them (in a 3D space) and saves them. There is no problem if the images’ resolution is up to 4k, since my screen is 4k. But I can’t do the same with, for example, 8k …

---

## [Trying to slow down ellipses in a small space](https://discourse.processing.org/t/trying-to-slow-down-ellipses-in-a-small-space/35562)

<div class="topic-metadata">

**Author:** [@Sevenylime](https://discourse.processing.org/u/Sevenylime)\
**Replies:** 4\
**Last updated:** [March 5, 2022, 12:21pm UTC](https://discourse.processing.org/t/trying-to-slow-down-ellipses-in-a-small-space/35562 "2022-03-05T12:21:59Z")

</div>

Hello everyone! I’m trying to make it so the “fireflies” in my code, while in the cup, move slower. So far, the fireflies bounce off the walls, and once the player presses ‘g’, a cup is grabbed, and if the cup makes co…

---

## [How to move the image with the arrows](https://discourse.processing.org/t/how-to-move-the-image-with-the-arrows/35536)

<div class="topic-metadata">

**Author:** [@cisky](https://discourse.processing.org/u/cisky)\
**Replies:** 3\
**Last updated:** [March 5, 2022, 10:57am UTC](https://discourse.processing.org/t/how-to-move-the-image-with-the-arrows/35536 "2022-03-05T10:57:38Z")

</div>

please format code with \</\> button \* homework policy \* asking questions i don’t know how i can not leave the last button on read, so let the image doing two movments at the same time. i mean i don’t know how the imag…

---

## [Game Control Plus Configurator shows no connections after creating a file, then reopening the configurator](https://discourse.processing.org/t/game-control-plus-configurator-shows-no-connections-after-creating-a-file-then-reopening-the-configurator/35564)

<div class="topic-metadata">

**Author:** [@gameworn](https://discourse.processing.org/u/gameworn)\
**Replies:** 1\
**Last updated:** [March 5, 2022, 8:56am UTC](https://discourse.processing.org/t/game-control-plus-configurator-shows-no-connections-after-creating-a-file-then-reopening-the-configurator/35564 "2022-03-05T08:56:08Z")

</div>

When I open the Game Control Plus configurator file and select my processing.pde sketch and game controller, the configurator shows no connections made, such as using Button 2 to turn on an LED that I made earlier.…

---

## [How Can I Make A Circle Move Back And Forth Using Conditionals, And Freezing When the Mouse is Pressed?](https://discourse.processing.org/t/how-can-i-make-a-circle-move-back-and-forth-using-conditionals-and-freezing-when-the-mouse-is-pressed/35563)

<div class="topic-metadata">

**Author:** [@0\_0](https://discourse.processing.org/u/0_0)\
**Replies:** 2\
**Last updated:** [March 5, 2022, 2:10am UTC](https://discourse.processing.org/t/how-can-i-make-a-circle-move-back-and-forth-using-conditionals-and-freezing-when-the-mouse-is-pressed/35563 "2022-03-05T02:10:58Z")

</div>

I am trying to make a circle move back and forth on a line in processing, however I can’t seem to get the coding right to where the circle returns back after moving to the right on the line. I’m new to coding and I’ve tr…

---

## [How to use PixelFlow to initialize a specific shape？](https://discourse.processing.org/t/how-to-use-pixelflow-to-initialize-a-specific-shape/35554)

<div class="topic-metadata">

**Author:** [@JawyZhang](https://discourse.processing.org/u/JawyZhang)\
**Replies:** 0\
**Last updated:** [March 4, 2022, 1:14pm UTC](https://discourse.processing.org/t/how-to-use-pixelflow-to-initialize-a-specific-shape/35554 "2022-03-04T13:14:24Z")

</div>

I’m learning the example ‘Fluid\_GetStarted’, and I wanna create a rectangle fluid at the beginning.This rectangle will only be generated once so I don’t put my code in the ‘fluid.update()’. I find that addDensity(process…

---

## [Calculator code](https://discourse.processing.org/t/calculator-code/35540)

<div class="topic-metadata">

**Author:** [@suarezl](https://discourse.processing.org/u/suarezl)\
**Replies:** 3\
**Last updated:** [March 4, 2022, 12:31am UTC](https://discourse.processing.org/t/calculator-code/35540 "2022-03-04T00:31:06Z")

</div>

Hello, I am starting in this world, I need help with the code of a calculator, the truth is that I still do not have the necessary knowledge to be able to carry it out, I wanted to see if someone could help me, thanks an…

---

## [Why Isn't My Contributed Library Showing?](https://discourse.processing.org/t/why-isnt-my-contributed-library-showing/35521)

<div class="topic-metadata">

**Author:** [@JennyMcCreadie](https://discourse.processing.org/u/JennyMcCreadie)\
**Replies:** 5\
**Last updated:** [March 3, 2022, 3:00pm UTC](https://discourse.processing.org/t/why-isnt-my-contributed-library-showing/35521 "2022-03-03T15:00:03Z")

</div>

Hello, I’ve been wracking my brain with this issue. I’m trying to install the ‘SimpleOpenNI’ in Processing and I think I’ve followed the steps correctly? But I’m also not entirely sure and the error I keep getting says t…

---

## [Can anyone help explain the following use of "this" and "PApplet"?](https://discourse.processing.org/t/can-anyone-help-explain-the-following-use-of-this-and-papplet/35436)

<div class="topic-metadata">

**Author:** [@leatherbird](https://discourse.processing.org/u/leatherbird)\
**Replies:** 9\
**Last updated:** [March 3, 2022, 10:06am UTC](https://discourse.processing.org/t/can-anyone-help-explain-the-following-use-of-this-and-papplet/35436 "2022-03-03T10:06:18Z")

</div>

Hello, I’m stumbling around using Benedikt Groß’s ANI library for processing, and was getting really confused. I’m probably in over my head. I was trying to create what his library calls AniSequences inside a class I c…

---

## [Switch expressions not working in Processing 4](https://discourse.processing.org/t/switch-expressions-not-working-in-processing-4/35486)

<div class="topic-metadata">

**Author:** [@Saaan](https://discourse.processing.org/u/Saaan)\
**Replies:** 4\
**Last updated:** [March 3, 2022, 12:22am UTC](https://discourse.processing.org/t/switch-expressions-not-working-in-processing-4/35486 "2022-03-03T00:22:38Z")

</div>

I’m using Processing 4 which is on Java 17.0.2, but for some reason it won’t allow switch expressions? This compiles in other IDEs so I’m not sure what’s going on here, does anyone know the reason for this, if it is fix…

[Previous page](https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=87)

[Next page](https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=89)
