# Latest

**URL:** https://discourse.processing.org/latest.md?no_subcategories=false&page=151

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

**Page:** 152

---

## [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…

---

## [How to save data in a program](https://discourse.processing.org/t/how-to-save-data-in-a-program/35525)

<div class="topic-metadata">

**Author:** [@Coder1](https://discourse.processing.org/u/Coder1)\
**Replies:** 18\
**Last updated:** [March 10, 2022, 12:11am UTC](https://discourse.processing.org/t/how-to-save-data-in-a-program/35525 "2022-03-10T00:11:44Z")

</div>

Hello I have been making a game and I wanted to know how you can save data in a game. For example you earned 10 points and when you close the app and reopen it, your progress will not be reset but the 10 points will sta…

---

## [beginshape(TESS) how to uv map](https://discourse.processing.org/t/beginshape-tess-how-to-uv-map/32607)

<div class="topic-metadata">

**Author:** [@madwilson](https://discourse.processing.org/u/madwilson)\
**Replies:** 6\
**Last updated:** [March 9, 2022, 10:05pm UTC](https://discourse.processing.org/t/beginshape-tess-how-to-uv-map/32607 "2022-03-09T22:05:05Z")

</div>

I have been attempting to UVmap the beginshape(TESS) but I am assuming that I need to get access to the points created after ending the shape? which is why mapping to the points isn’t working. Any help or pointing me in…

---

## [Flow fields doodad from Tyler Hobbs' tutorial](https://discourse.processing.org/t/flow-fields-doodad-from-tyler-hobbs-tutorial/35630)

<div class="topic-metadata">

**Author:** [@squig](https://discourse.processing.org/u/squig)\
**Replies:** 2\
**Last updated:** [March 9, 2022, 4:29pm UTC](https://discourse.processing.org/t/flow-fields-doodad-from-tyler-hobbs-tutorial/35630 "2022-03-09T16:29:25Z")

</div>

tutorial here: Flow Fields — Tyler Hobbs code here: GitHub - squuig/flow-fields: messy implementation of a flow field using Tyler Hobbs' tutorial (https://tylerxhobbs.com/essays/2020/flow-fields). no best practices were…

---

## [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…

---

## [createGraphics as background image](https://discourse.processing.org/t/creategraphics-as-background-image/35640)

<div class="topic-metadata">

**Author:** [@res56](https://discourse.processing.org/u/res56)\
**Replies:** 2\
**Last updated:** [March 9, 2022, 2:22pm UTC](https://discourse.processing.org/t/creategraphics-as-background-image/35640 "2022-03-09T14:22:28Z")

</div>

Hey frens, I generate a grid in setup-function and want to keep this as background- image in draw. Here some code: let img; var scl = 30; var cols, rows; function setup() { createCanvas(400, 400); img = c…

---

## [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…

---

## [P5js mode can’t be installed](https://discourse.processing.org/t/p5js-mode-can-t-be-installed/35625)

<div class="topic-metadata">

**Author:** [@jjjolton](https://discourse.processing.org/u/jjjolton)\
**Replies:** 0\
**Last updated:** [March 9, 2022, 12:18am UTC](https://discourse.processing.org/t/p5js-mode-can-t-be-installed/35625 "2022-03-09T00:18:29Z")

</div>

My students were trying to install p5js mode on the Processing 4 IDE, and were getting the message that the mode had to be compiled for Java 11. I haven’t had this problem, but I’m running the latest version of the IDE. …

---

## [\[Violation\] Added non-passive event listener to a scroll-blocking 'wheel' event](https://discourse.processing.org/t/violation-added-non-passive-event-listener-to-a-scroll-blocking-wheel-event/35624)

<div class="topic-metadata">

**Author:** [@pirela](https://discourse.processing.org/u/pirela)\
**Replies:** 0\
**Last updated:** [March 8, 2022, 10:37pm UTC](https://discourse.processing.org/t/violation-added-non-passive-event-listener-to-a-scroll-blocking-wheel-event/35624 "2022-03-08T22:37:37Z")

</div>

I got this violation info ( to get it, javascript console must have ‘Verbose’ level checked) when my draw loop includes an orbitcontrol . Message appears at the first use or move of the mouse on the canvas. With…

---

## [P5js \[Violation\] 'requestAnimationFrame' handler took 75ms](https://discourse.processing.org/t/p5js-violation-requestanimationframe-handler-took-75ms/31976)

<div class="topic-metadata">

**Author:** [@suecouzq](https://discourse.processing.org/u/suecouzq)\
**Replies:** 2\
**Last updated:** [March 8, 2022, 10:23pm UTC](https://discourse.processing.org/t/p5js-violation-requestanimationframe-handler-took-75ms/31976 "2022-03-08T22:23:07Z")

</div>

I am getting this ‘requestAnimationFrame’ error with this code. I guess there’s something with the for loop that causes the problem but I can’t figure an alternative way of getting the same visual result. Any idea? let …

---

## [Constricting shape movement in p5js](https://discourse.processing.org/t/constricting-shape-movement-in-p5js/35361)

<div class="topic-metadata">

**Author:** [@rorywilliams](https://discourse.processing.org/u/rorywilliams)\
**Replies:** 1\
**Last updated:** [March 8, 2022, 9:41pm UTC](https://discourse.processing.org/t/constricting-shape-movement-in-p5js/35361 "2022-03-08T21:41:39Z")

</div>

Hi, I’m a beginner with p5js and I’ve run into some trouble with some code I’m writing. I have three circles of decreasing size, with the smallest and middle circles mapped to mouseX and mouseY. My issue is that I want t…

---

## [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…

---

## [How to access 'system variable' directly in Python code?](https://discourse.processing.org/t/how-to-access-system-variable-directly-in-python-code/35550)

<div class="topic-metadata">

**Author:** [@sweetart](https://discourse.processing.org/u/sweetart)\
**Replies:** 5\
**Last updated:** [March 7, 2022, 7:38pm UTC](https://discourse.processing.org/t/how-to-access-system-variable-directly-in-python-code/35550 "2022-03-07T19:38:51Z")

</div>

Dear All, I’m using the processing-py 0.3.7 library directly in visual studio code. The because I want to combine the results with other code/libraries. The thing i’m stuck with is how do I access a ‘system variable’ su…

---

## [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…

---

## [Function onTap, KetaiGesture in Processing for Android](https://discourse.processing.org/t/function-ontap-ketaigesture-in-processing-for-android/35340)

<div class="topic-metadata">

**Author:** [@TiagoNess](https://discourse.processing.org/u/TiagoNess)\
**Replies:** 0\
**Last updated:** [February 20, 2022, 4:23pm UTC](https://discourse.processing.org/t/function-ontap-ketaigesture-in-processing-for-android/35340 "2022-02-20T16:23:22Z")

</div>

Hello everyone, I have a concern, I am trying to do the following: create objects with a tap on the device, but when counting the objects, the onTap function seems to create twice as many objects. The principal: import…

---

## [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…

---

## [P5.js sound and keyTyped() or keyPressed()](https://discourse.processing.org/t/p5-js-sound-and-keytyped-or-keypressed/35583)

<div class="topic-metadata">

**Author:** [@JessJess](https://discourse.processing.org/u/JessJess)\
**Replies:** 25\
**Last updated:** [March 6, 2022, 10:31pm UTC](https://discourse.processing.org/t/p5-js-sound-and-keytyped-or-keypressed/35583 "2022-03-06T22:31:29Z")

</div>

hi! i’m trying to write a code where when i press a certain keyboard key, a sound will play. I’m using p5.js and have tried keyTyped() function and keyPressed() function but it’s not working. Need help as soon as possibl…

[Previous page](https://discourse.processing.org/latest.md?no_subcategories=false&page=150)

[Next page](https://discourse.processing.org/latest.md?no_subcategories=false&page=152)
