# Latest

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

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

**Page:** 85

---

## [How can I send a .wav file from a Processing client to a Python server?](https://discourse.processing.org/t/how-can-i-send-a-wav-file-from-a-processing-client-to-a-python-server/40913)

<div class="topic-metadata">

**Author:** [@Alessandro199762](https://discourse.processing.org/u/Alessandro199762)\
**Replies:** 0\
**Last updated:** [February 13, 2023, 2:59pm UTC](https://discourse.processing.org/t/how-can-i-send-a-wav-file-from-a-processing-client-to-a-python-server/40913 "2023-02-13T14:59:45Z")

</div>

Hello. As stated in the header, i need to send a file .wav (but i think any method is suitable for any file) from a processing client to a python server which processes the file and sends it back to the processing clien…

---

## [Spring String example from coding challenge](https://discourse.processing.org/t/spring-string-example-from-coding-challenge/40934)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 0\
**Last updated:** [February 15, 2023, 11:49am UTC](https://discourse.processing.org/t/spring-string-example-from-coding-challenge/40934 "2023-02-15T11:49:56Z")

</div>

sketch //f spring = -k\*x //f = ma //m= -k //a = x float y = 250; int restLength = 2; //PVector velocity = new PVector(0,0);; PVector force = new PVector(0,0); float x = 0.0; Particle bob = new Particle(350,300); Particl…

---

## [Advice for understanding Processing 'under the hood'](https://discourse.processing.org/t/advice-for-understanding-processing-under-the-hood/40778)

<div class="topic-metadata">

**Author:** [@MuddyGardener](https://discourse.processing.org/u/MuddyGardener)\
**Replies:** 11\
**Last updated:** [February 15, 2023, 1:33am UTC](https://discourse.processing.org/t/advice-for-understanding-processing-under-the-hood/40778 "2023-02-15T01:33:25Z")

</div>

Sometimes I run into something about Processing that I think is super useful but isn’t obvious from the surface level documentation, such as this answer to a query from the old Processing forum: the PGraphics object us…

---

## [Quiz with sounds and navigation bar (loading sounds)](https://discourse.processing.org/t/quiz-with-sounds-and-navigation-bar-loading-sounds/40923)

<div class="topic-metadata">

**Author:** [@iinnessic](https://discourse.processing.org/u/iinnessic)\
**Replies:** 2\
**Last updated:** [February 14, 2023, 9:01pm UTC](https://discourse.processing.org/t/quiz-with-sounds-and-navigation-bar-loading-sounds/40923 "2023-02-14T21:01:23Z")

</div>

Hi! So I have this Quiz about a solar cell I need to program. I have a few minor problems, but what really stresses me out right now, is that my code does not work when I import too many sounds… What can I do? These are…

---

## [Correct way to exit app ;)](https://discourse.processing.org/t/correct-way-to-exit-app/26056)

<div class="topic-metadata">

**Author:** [@erkosone](https://discourse.processing.org/u/erkosone)\
**Replies:** 1\
**Last updated:** [February 14, 2023, 1:49am UTC](https://discourse.processing.org/t/correct-way-to-exit-app/26056 "2023-02-14T01:49:18Z")

</div>

code: @Override public void onBackPressed() { println("by by.."); if(android.os.Build.VERSION.SDK\_INT\>=16 && android.os.Build.VERSION.SDK\_INT\<21){ getActivity().finishAffinity(); } else if(andro…

---

## [Problems downloading and running first time in Windows 11](https://discourse.processing.org/t/problems-downloading-and-running-first-time-in-windows-11/40915)

<div class="topic-metadata">

**Author:** [@lmtanco](https://discourse.processing.org/u/lmtanco)\
**Replies:** 0\
**Last updated:** [February 13, 2023, 6:21pm UTC](https://discourse.processing.org/t/problems-downloading-and-running-first-time-in-windows-11/40915 "2023-02-13T18:21:02Z")

</div>

Hi there, I upgraded my Windows 10 to Windows 11, then immediately installed Processing 4.3.1 for Windows. Windows 11 did not let me even download it (i had to turn off Antivirus). Once I managed to prevent Windows fr…

---

## [Possible to use a variable as literal code? (from variables to ArrayList)](https://discourse.processing.org/t/possible-to-use-a-variable-as-literal-code-from-variables-to-arraylist/40903)

<div class="topic-metadata">

**Author:** [@Aryszin](https://discourse.processing.org/u/Aryszin)\
**Replies:** 6\
**Last updated:** [February 12, 2023, 9:27pm UTC](https://discourse.processing.org/t/possible-to-use-a-variable-as-literal-code-from-variables-to-arraylist/40903 "2023-02-12T21:27:48Z")

</div>

so this is very complicated. im making an art software and i have many pgraphics, and i need to speak to the pgraphics. im wondering if there is any method, i could make it so it doest always is: if(currentlayer == 1) {…

---

## [On Startup: "That's new to me - A strange and unexplainable error occurred"](https://discourse.processing.org/t/on-startup-thats-new-to-me-a-strange-and-unexplainable-error-occurred/40899)

<div class="topic-metadata">

**Author:** [@fabianluscher](https://discourse.processing.org/u/fabianluscher)\
**Replies:** 2\
**Last updated:** [February 13, 2023, 10:04am UTC](https://discourse.processing.org/t/on-startup-thats-new-to-me-a-strange-and-unexplainable-error-occurred/40899 "2023-02-13T10:04:43Z")

</div>

Hi all! for some time i could perfectly work with processing 4.1 on my raspbi 3 B+, but two times now it happend that i cannot start the application anymore. I swear i did not do anything between a working processing an…

---

## [P5js and RNBO - looking for an example](https://discourse.processing.org/t/p5js-and-rnbo-looking-for-an-example/40744)

<div class="topic-metadata">

**Author:** [@jaeho](https://discourse.processing.org/u/jaeho)\
**Replies:** 1\
**Last updated:** [February 13, 2023, 10:01am UTC](https://discourse.processing.org/t/p5js-and-rnbo-looking-for-an-example/40744 "2023-02-13T10:01:42Z")

</div>

I am attempting to utilize the brand-new RNBO from Cycling74 with p5js. Combining RNBO, which allows exporting MaxMSP patches to WebAudio, with p5js could give us a convenient way to create audio-visual works for the we…

---

## [Where do I get OpenGL filters?](https://discourse.processing.org/t/where-do-i-get-opengl-filters/40907)

<div class="topic-metadata">

**Author:** [@Aryszin](https://discourse.processing.org/u/Aryszin)\
**Replies:** 1\
**Last updated:** [February 12, 2023, 9:20pm UTC](https://discourse.processing.org/t/where-do-i-get-opengl-filters/40907 "2023-02-12T21:20:01Z")

</div>

Is there a site where i can download .glsl filter? Ty

---

## [Saving Sketch to PDF Issues](https://discourse.processing.org/t/saving-sketch-to-pdf-issues/40909)

<div class="topic-metadata">

**Author:** [@butterfield8](https://discourse.processing.org/u/butterfield8)\
**Replies:** 0\
**Last updated:** [February 12, 2023, 11:55pm UTC](https://discourse.processing.org/t/saving-sketch-to-pdf-issues/40909 "2023-02-12T23:55:41Z")

</div>

Hello- I am trying to save my sketch to a pdf. When I follow the documentation exactly with a simple geometry, it works fine. However, I have a function that grabs a random shape and puts it on the screen in a loop. Whe…

---

## [Make Array of Objects Move](https://discourse.processing.org/t/make-array-of-objects-move/40902)

<div class="topic-metadata">

**Author:** [@Chigoz](https://discourse.processing.org/u/Chigoz)\
**Replies:** 4\
**Last updated:** [February 12, 2023, 6:42pm UTC](https://discourse.processing.org/t/make-array-of-objects-move/40902 "2023-02-12T18:42:22Z")

</div>

I am having a very hard time to make these array of objects that was parsed from a midi file to move, please him me out. This is the link to the code. Thanks in advance.

---

## [Catching image failure is not working (try/catch)](https://discourse.processing.org/t/catching-image-failure-is-not-working-try-catch/40890)

<div class="topic-metadata">

**Author:** [@Aryszin](https://discourse.processing.org/u/Aryszin)\
**Replies:** 4\
**Last updated:** [February 11, 2023, 5:37pm UTC](https://discourse.processing.org/t/catching-image-failure-is-not-working-try-catch/40890 "2023-02-11T17:37:10Z")

</div>

This doesnt work! void setup() { try { image = loadImage("image.png"); } catch (Exception e) { image = loadImage("error.png"); } }

---

## [Can I change the layout of the IDE?](https://discourse.processing.org/t/can-i-change-the-layout-of-the-ide/40893)

<div class="topic-metadata">

**Author:** [@eddysims](https://discourse.processing.org/u/eddysims)\
**Replies:** 1\
**Last updated:** [February 11, 2023, 9:04am UTC](https://discourse.processing.org/t/can-i-change-the-layout-of-the-ide/40893 "2023-02-11T09:04:30Z")

</div>

I like the processing IDE, but i hate that my tabs are along the top. Is there any way to change the layout to have the tabs in a sidebar like a normal IDE?

---

## [endDraw() error - M2 mac](https://discourse.processing.org/t/enddraw-error-m2-mac/40895)

<div class="topic-metadata">

**Author:** [@mattleaf](https://discourse.processing.org/u/mattleaf)\
**Replies:** 1\
**Last updated:** [February 11, 2023, 3:33am UTC](https://discourse.processing.org/t/enddraw-error-m2-mac/40895 "2023-02-11T03:33:31Z")

</div>

Howdy folks, it’s been a while since I’ve used Processing and now I’ve upgraded to an M2 Air. I was just testing an old project on an Intel MBP first where everything is fine, now coming across to the M2 Air I seem to h…

---

## [How to do an array of IntLists?](https://discourse.processing.org/t/how-to-do-an-array-of-intlists/40894)

<div class="topic-metadata">

**Author:** [@Rektic](https://discourse.processing.org/u/Rektic)\
**Replies:** 4\
**Last updated:** [February 10, 2023, 11:09pm UTC](https://discourse.processing.org/t/how-to-do-an-array-of-intlists/40894 "2023-02-10T23:09:13Z")

</div>

There seems to be a way to make an array of IntLists (I know it sounds weird but I need it) but it throws an error. \</\> IntList test = new IntList\[5\]; void setup(){ test\[3\].append(8); println(test\[3\].get(0)); } \</\>…

---

## [Using P5 on OffscreenCanvas?](https://discourse.processing.org/t/using-p5-on-offscreencanvas/40848)

<div class="topic-metadata">

**Author:** [@JohnC](https://discourse.processing.org/u/JohnC)\
**Replies:** 2\
**Last updated:** [February 10, 2023, 4:23pm UTC](https://discourse.processing.org/t/using-p5-on-offscreencanvas/40848 "2023-02-10T16:23:45Z")

</div>

Is there a way to manipulate OffscreenCanvas with p5? As far as I understand the source code, createGraphics does not use it.

---

## [Duvida sobre salvar](https://discourse.processing.org/t/duvida-sobre-salvar/40850)

<div class="topic-metadata">

**Author:** [@jenifferkattellyn](https://discourse.processing.org/u/jenifferkattellyn)\
**Replies:** 1\
**Last updated:** [February 10, 2023, 11:22am UTC](https://discourse.processing.org/t/duvida-sobre-salvar/40850 "2023-02-10T11:22:41Z")

</div>

olá, estou criando um jogo aqui no site, porém quando saio do site não encontro onde ficou salvo, se é que ficou. Já criei a minha própria conta sim e quando salvo, vou nos três pontinhos\>mais ferramentas\>salvar pagina c…

---

## [Processing-java hanging in headless VM](https://discourse.processing.org/t/processing-java-hanging-in-headless-vm/40835)

<div class="topic-metadata">

**Author:** [@dvbl](https://discourse.processing.org/u/dvbl)\
**Replies:** 5\
**Last updated:** [February 10, 2023, 12:19am UTC](https://discourse.processing.org/t/processing-java-hanging-in-headless-vm/40835 "2023-02-10T00:19:32Z")

</div>

Hello there! I’m running Processing in a fairly esoteric environment, and trying to figure out why it isn’t running. For context; I’ve got a simple Processing program (though this is reproducible even with a blank/mini…

---

## [Cannot import own library](https://discourse.processing.org/t/cannot-import-own-library/40879)

<div class="topic-metadata">

**Author:** [@5dcoded](https://discourse.processing.org/u/5dcoded)\
**Replies:** 2\
**Last updated:** [February 9, 2023, 11:23pm UTC](https://discourse.processing.org/t/cannot-import-own-library/40879 "2023-02-09T23:23:07Z")

</div>

So I made a library and when i try to import it I get the following: The library “mylibary” cannot be used because it contains the processing.core libaries. I am completely lost… how can I fix this??

---

## [Access other objects in an object array](https://discourse.processing.org/t/access-other-objects-in-an-object-array/40716)

<div class="topic-metadata">

**Author:** [@geggslegs](https://discourse.processing.org/u/geggslegs)\
**Replies:** 4\
**Last updated:** [February 9, 2023, 10:48pm UTC](https://discourse.processing.org/t/access-other-objects-in-an-object-array/40716 "2023-02-09T22:48:01Z")

</div>

I’m trying to write a 2d ball pit simulation using verlet integration. But I’m having trouble accessing the other balls while looping through them. In the section commented “//collide the balls” I’m trying to access th…

---

## [P3 sketch isn't displaying on Mac OS13(Ventura), but p4 ok](https://discourse.processing.org/t/p3-sketch-isnt-displaying-on-mac-os13-ventura-but-p4-ok/40854)

<div class="topic-metadata">

**Author:** [@xxlinxx](https://discourse.processing.org/u/xxlinxx)\
**Replies:** 1\
**Last updated:** [February 9, 2023, 10:36pm UTC](https://discourse.processing.org/t/p3-sketch-isnt-displaying-on-mac-os13-ventura-but-p4-ok/40854 "2023-02-09T22:36:42Z")

</div>

on before processing4.1.1 JDK17.0.4 add initSingleton method w/macOS 13 public void settings() { GLProfile.initSingleton(); size(1400, 800, P3D); } but, on processing3 JDK1.8.0.292 sketch window still does not work…

---

## [GameJam people?](https://discourse.processing.org/t/gamejam-people/40709)

<div class="topic-metadata">

**Author:** [@erkosone](https://discourse.processing.org/u/erkosone)\
**Replies:** 16\
**Last updated:** [February 9, 2023, 10:33pm UTC](https://discourse.processing.org/t/gamejam-people/40709 "2023-02-09T22:33:29Z")

</div>

Hello community! Do you feel like setting up a gameJam or some kind of game contest using processing?

---

## [Memory leak from blank sketch](https://discourse.processing.org/t/memory-leak-from-blank-sketch/37963)

<div class="topic-metadata">

**Author:** [@ottestad](https://discourse.processing.org/u/ottestad)\
**Replies:** 2\
**Last updated:** [February 9, 2023, 5:08pm UTC](https://discourse.processing.org/t/memory-leak-from-blank-sketch/37963 "2023-02-09T17:08:41Z")

</div>

I have a memory leak problem on a sketch running on a rPi, which will eventually make it crash since the program is running 24/7. Managed to recreate it on my Mac (MacBook Air M1, 2020 Monterey 12.3.1). Processing ver 4.…

---

## [Unable to get SVG to export](https://discourse.processing.org/t/unable-to-get-svg-to-export/40882)

<div class="topic-metadata">

**Author:** [@gummy12](https://discourse.processing.org/u/gummy12)\
**Replies:** 2\
**Last updated:** [February 9, 2023, 11:06am UTC](https://discourse.processing.org/t/unable-to-get-svg-to-export/40882 "2023-02-09T11:06:20Z")

</div>

\< import processing.svg.\*; void setup(){ noLoop(); beginRecord(SVG,“asdfasdf2.svg”); size(1000, 1000,P3D); noFill(); strokeWeight(2); beginShape(); int squarenumber = 12; for (int i = 1; i\<squarenumber; i++){ …

---

## [Gradle doesnt work](https://discourse.processing.org/t/gradle-doesnt-work/7961)

<div class="topic-metadata">

**Author:** [@Banansplitt](https://discourse.processing.org/u/Banansplitt)\
**Replies:** 5\
**Last updated:** [February 9, 2023, 11:10am UTC](https://discourse.processing.org/t/gradle-doesnt-work/7961 "2023-02-09T11:10:11Z")

</div>

I finished the android download and everything works fine, even testing the app on an Android device. But when I try to export a signed package it starts but I get tonnes of errors, we’re talking in the hundreds. Here ar…

---

## [Game Control Plus custom function fails to draw on screen](https://discourse.processing.org/t/game-control-plus-custom-function-fails-to-draw-on-screen/40883)

<div class="topic-metadata">

**Author:** [@stixan](https://discourse.processing.org/u/stixan)\
**Replies:** 3\
**Last updated:** [February 9, 2023, 10:23am UTC](https://discourse.processing.org/t/game-control-plus-custom-function-fails-to-draw-on-screen/40883 "2023-02-09T10:23:08Z")

</div>

I’m using the Game Control Plus library to capture inputs from a new NES USB controller. All buttons are mapped correctly and respond to my inputs. I have used .plug() to set up a custom function that is supposed to trig…

---

## [Is there a way to put the entire function signature with arguments into the thread call?](https://discourse.processing.org/t/is-there-a-way-to-put-the-entire-function-signature-with-arguments-into-the-thread-call/40880)

<div class="topic-metadata">

**Author:** [@advancecoder](https://discourse.processing.org/u/advancecoder)\
**Replies:** 1\
**Last updated:** [February 9, 2023, 2:34am UTC](https://discourse.processing.org/t/is-there-a-way-to-put-the-entire-function-signature-with-arguments-into-the-thread-call/40880 "2023-02-09T02:34:58Z")

</div>

Hi, Is there a way to put the entire function signature with arguments into the thread call? What would you add to the “requestData” call? String time = ""; void setup() { size(100, 100); } void draw() { backg…

---

## [A more efficient room flooding algorithm](https://discourse.processing.org/t/a-more-efficient-room-flooding-algorithm/40872)

<div class="topic-metadata">

**Author:** [@Tsskyx](https://discourse.processing.org/u/Tsskyx)\
**Replies:** 7\
**Last updated:** [February 9, 2023, 1:14am UTC](https://discourse.processing.org/t/a-more-efficient-room-flooding-algorithm/40872 "2023-02-09T01:14:35Z")

</div>

I am attempting to program the visualizations from this video. Essentially, it is a problem of propagating a signal through a graph. In this case, the graph is the canvas, the vertices are the pixels, the links exist bet…

---

## [Manipulating text](https://discourse.processing.org/t/manipulating-text/40843)

<div class="topic-metadata">

**Author:** [@humus](https://discourse.processing.org/u/humus)\
**Replies:** 2\
**Last updated:** [February 8, 2023, 10:06pm UTC](https://discourse.processing.org/t/manipulating-text/40843 "2023-02-08T22:06:18Z")

</div>

Hi all, I would like to manipulate a text with Processing in this way: Enter a text from a file .doc or .odt; Run this rule: place the last letter of the text at the beginning of the text and, than, swipe toward right…

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

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