# Latest

**URL:** https://discourse.processing.org/latest.md?page=38

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

**Page:** 39

---

## [Confused About App Icons for Android](https://discourse.processing.org/t/confused-about-app-icons-for-android/43105)

<div class="topic-metadata">

**Author:** [@asdf](https://discourse.processing.org/u/asdf)\
**Replies:** 3\
**Last updated:** [July 1, 2024, 7:24pm UTC](https://discourse.processing.org/t/confused-about-app-icons-for-android/43105 "2024-07-01T19:24:53Z")

</div>

So I am trying to export a simple game I’ve made in processing and everything up until this point has been smooth sailing but I’ve run into a wall for getting app icons to work. I try to use their tutorial and looked on …

---

## [G4P - Setting custom colors for knob?](https://discourse.processing.org/t/g4p-setting-custom-colors-for-knob/44666)

<div class="topic-metadata">

**Author:** [@shlain](https://discourse.processing.org/u/shlain)\
**Replies:** 1\
**Last updated:** [July 1, 2024, 12:40pm UTC](https://discourse.processing.org/t/g4p-setting-custom-colors-for-knob/44666 "2024-07-01T12:40:09Z")

</div>

Hey folks, I have a quick question I couldn’t solve about G4P library. I am using GKnob, and have succeeded to change its colors using the pre-added color schemes: knob.setLocalColorScheme(4); But in order to align wi…

---

## [Please Help: Image Creation](https://discourse.processing.org/t/please-help-image-creation/44668)

<div class="topic-metadata">

**Author:** [@chipadelic](https://discourse.processing.org/u/chipadelic)\
**Replies:** 1\
**Last updated:** [July 1, 2024, 12:02am UTC](https://discourse.processing.org/t/please-help-image-creation/44668 "2024-07-01T00:02:54Z")

</div>

\< Hello Everyone! I am struggling to figure out a way to recreate this posterized image in processing using shapes for my processing class. the assignment is to create a portrait using shapes and I created this SVG in …

---

## [SVG from Audio Amplitude?](https://discourse.processing.org/t/svg-from-audio-amplitude/44633)

<div class="topic-metadata">

**Author:** [@bdon](https://discourse.processing.org/u/bdon)\
**Replies:** 14\
**Last updated:** [June 30, 2024, 11:18am UTC](https://discourse.processing.org/t/svg-from-audio-amplitude/44633 "2024-06-30T11:18:17Z")

</div>

Hi - I’d like to render a small audio file (.wav) into an SVG represention of its amplitude. Is this possible? Is Processing the best tool for the job or is there something else that would be better for this purpose? …

---

## [Processing 4.3 cannot read GPIO on Raspberry Pi 400](https://discourse.processing.org/t/processing-4-3-cannot-read-gpio-on-raspberry-pi-400/44661)

<div class="topic-metadata">

**Author:** [@rvirmoors](https://discourse.processing.org/u/rvirmoors)\
**Replies:** 0\
**Last updated:** [June 30, 2024, 8:47am UTC](https://discourse.processing.org/t/processing-4-3-cannot-read-gpio-on-raspberry-pi-400/44661 "2024-06-30T08:47:23Z")

</div>

I’m trying to run the SimpleInput sketch and am getting this error: GPIO pin 4 does not seem to be available on your platform RuntimeException: /sys/class/gpio/export: Invalid argument RuntimeException: /sys/class/gpio/…

---

## [Issue with GPIO Access on Raspberry Pi 5 Using Processing 4](https://discourse.processing.org/t/issue-with-gpio-access-on-raspberry-pi-5-using-processing-4/43337)

<div class="topic-metadata">

**Author:** [@wulu](https://discourse.processing.org/u/wulu)\
**Replies:** 1\
**Last updated:** [June 30, 2024, 8:30am UTC](https://discourse.processing.org/t/issue-with-gpio-access-on-raspberry-pi-5-using-processing-4/43337 "2024-06-30T08:30:32Z")

</div>

Hello everyone, I’ve been encountering an issue with GPIO programming on the Raspberry Pi 5 using Processing 4. I’m getting an error when running code related to GPIO operations, stating “Invalid argument” and “GPIO pin…

---

## [Necesito ayuda para hacer este codigo (es urgente)](https://discourse.processing.org/t/necesito-ayuda-para-hacer-este-codigo-es-urgente/44650)

<div class="topic-metadata">

**Author:** [@Matias\_alderroba](https://discourse.processing.org/u/Matias_alderroba)\
**Replies:** 1\
**Last updated:** [June 28, 2024, 5:45pm UTC](https://discourse.processing.org/t/necesito-ayuda-para-hacer-este-codigo-es-urgente/44650 "2024-06-28T17:45:05Z")

</div>

soy nuevo en processing y no se como recrear esta imagen en el lado derecho de 800x400 y posteriormente darle interaccion, si me pudieran ayudar estaria muy agradecido!

---

## [Troubleshooting Data Handling Issues in a Multithreaded Server Class for Multiple Client Connections](https://discourse.processing.org/t/troubleshooting-data-handling-issues-in-a-multithreaded-server-class-for-multiple-client-connections/44653)

<div class="topic-metadata">

**Author:** [@hakim](https://discourse.processing.org/u/hakim)\
**Replies:** 1\
**Last updated:** [June 28, 2024, 6:32pm UTC](https://discourse.processing.org/t/troubleshooting-data-handling-issues-in-a-multithreaded-server-class-for-multiple-client-connections/44653 "2024-06-28T18:32:05Z")

</div>

Hello, I hope you’re doing well. I did a server class to handle multiple client connections simultaneously. Each client sends a fixed amount of data that I want to store and then process into a CSV file. Here is the comp…

---

## ["No connected devices" Processing 4.3 to Android 13](https://discourse.processing.org/t/no-connected-devices-processing-4-3-to-android-13/44639)

<div class="topic-metadata">

**Author:** [@bigboss97](https://discourse.processing.org/u/bigboss97)\
**Replies:** 1\
**Last updated:** [June 27, 2024, 12:59am UTC](https://discourse.processing.org/t/no-connected-devices-processing-4-3-to-android-13/44639 "2024-06-27T00:59:13Z")

</div>

I’m trying to connect Processing 4.3 (Windows 11) to my Android 13 phone. The phone has been set to debug mode and it has worked with Processing 3 before (not sure which Android version). I haven’t done Android stuff for…

---

## [Scramble/Unscramble Audio File](https://discourse.processing.org/t/scramble-unscramble-audio-file/44637)

<div class="topic-metadata">

**Author:** [@dheld](https://discourse.processing.org/u/dheld)\
**Replies:** 2\
**Last updated:** [June 26, 2024, 8:34pm UTC](https://discourse.processing.org/t/scramble-unscramble-audio-file/44637 "2024-06-26T20:34:21Z")

</div>

I’m creating a sound installation and I’m a novice Processing programmer. There will be 2 audio files. I’d like to scramble the 2 files to create a mashup of the 2 sounds, then I’d like to reverse the process and unscram…

---

## [Having trouble getting p5.SoundRecorder to work](https://discourse.processing.org/t/having-trouble-getting-p5-soundrecorder-to-work/44626)

<div class="topic-metadata">

**Author:** [@ASKproduKtion](https://discourse.processing.org/u/ASKproduKtion)\
**Replies:** 3\
**Last updated:** [June 26, 2024, 6:06am UTC](https://discourse.processing.org/t/having-trouble-getting-p5-soundrecorder-to-work/44626 "2024-06-26T06:06:00Z")

</div>

I have a p5.js sketch that integrates some Tone.js music functions adapted from @mattdesl I have added a p5.SoundRecorder from reference | p5.js following is the p5.js project \>\> p5.js Web Editor my intention is to ma…

---

## [Logical AND with keys](https://discourse.processing.org/t/logical-and-with-keys/44631)

<div class="topic-metadata">

**Author:** [@Karrajo](https://discourse.processing.org/u/Karrajo)\
**Replies:** 2\
**Last updated:** [June 23, 2024, 3:54pm UTC](https://discourse.processing.org/t/logical-and-with-keys/44631 "2024-06-23T15:54:01Z")

</div>

Hi, Hello, I can’t find this question in the forum, let’s see if you can help me. I’m trying to create a condition when I press two keys at the same time, but it doesn’t work for me. Does anyone know if it’s a syntax is…

---

## [G4P window returning null](https://discourse.processing.org/t/g4p-window-returning-null/44632)

<div class="topic-metadata">

**Author:** [@hakim](https://discourse.processing.org/u/hakim)\
**Replies:** 2\
**Last updated:** [June 23, 2024, 3:24pm UTC](https://discourse.processing.org/t/g4p-window-returning-null/44632 "2024-06-23T15:24:13Z")

</div>

Hello, hope you doing all well , so i was adding a loading window to wait for configuration, first of all, this screen is trigerred upon a button click in another window, here s the code of the loading window : public v…

---

## [Processing 4.3 Library list is empty](https://discourse.processing.org/t/processing-4-3-library-list-is-empty/44629)

<div class="topic-metadata">

**Author:** [@RaiDerSpb](https://discourse.processing.org/u/RaiDerSpb)\
**Replies:** 1\
**Last updated:** [June 22, 2024, 10:07pm UTC](https://discourse.processing.org/t/processing-4-3-library-list-is-empty/44629 "2024-06-22T22:07:59Z")

</div>

Hello! In Processing 4.3 Library list is empty at my home computer. What problem is it? The Processing 4.3 works well on my work computer on another local network. Maybe it’s the provider or the firewall?

---

## [Polygon Exploration](https://discourse.processing.org/t/polygon-exploration/44606)

<div class="topic-metadata">

**Author:** [@glv](https://discourse.processing.org/u/glv)\
**Replies:** 0\
**Last updated:** [June 17, 2024, 11:58am UTC](https://discourse.processing.org/t/polygon-exploration/44606 "2024-06-17T11:58:37Z")

</div>

Some fun with polygons! /\* Project: Polygons Author: GLV Date: 2024-06-17 Version: 1.0.0 \*/ int choice, seed; int id, idlast, sb, num, mxvs; int counter; PVector\[\] v; boolean warning = true; void set…

---

## [Start bash from sketch (Linux)](https://discourse.processing.org/t/start-bash-from-sketch-linux/44615)

<div class="topic-metadata">

**Author:** [@leclerke](https://discourse.processing.org/u/leclerke)\
**Replies:** 11\
**Last updated:** [June 22, 2024, 1:38pm UTC](https://discourse.processing.org/t/start-bash-from-sketch-linux/44615 "2024-06-22T13:38:53Z")

</div>

Hello, I would like to execute a bash file (compress.sh) from within a processing sketch. The bash file is stored in the same folder as the sketch. I tried exec("compress.sh");, but it did not work. Can you help me?

---

## [Cannot write file to sketch space](https://discourse.processing.org/t/cannot-write-file-to-sketch-space/44617)

<div class="topic-metadata">

**Author:** [@enonod](https://discourse.processing.org/u/enonod)\
**Replies:** 4\
**Last updated:** [June 20, 2024, 1:58pm UTC](https://discourse.processing.org/t/cannot-write-file-to-sketch-space/44617 "2024-06-20T13:58:30Z")

</div>

Android 14 - Processing 4.3 - Set for Android mode. The following code sent to tablet Samsung S6 Lite. Reads into the string array but when appended will not write it back. I am expecting to write to the sketch’s own s…

---

## [Issue with Missing Libraries in Processing 4.3 Android Mode](https://discourse.processing.org/t/issue-with-missing-libraries-in-processing-4-3-android-mode/44602)

<div class="topic-metadata">

**Author:** [@enonod](https://discourse.processing.org/u/enonod)\
**Replies:** 1\
**Last updated:** [June 20, 2024, 9:13am UTC](https://discourse.processing.org/t/issue-with-missing-libraries-in-processing-4-3-android-mode/44602 "2024-06-20T09:13:57Z")

</div>

Processing 4.3 Android Mode My code is unchanged since 4.01 which works. I now connect to the same device, run under debug, but get a message “The package ‘processing’ does not exist. You might be missing a library.” T…

---

## [How to specify the IP when multi networkcard](https://discourse.processing.org/t/how-to-specify-the-ip-when-multi-networkcard/44438)

<div class="topic-metadata">

**Author:** [@techno](https://discourse.processing.org/u/techno)\
**Replies:** 2\
**Last updated:** [June 19, 2024, 12:52am UTC](https://discourse.processing.org/t/how-to-specify-the-ip-when-multi-networkcard/44438 "2024-06-19T00:52:34Z")

</div>

i’m teacher and use processing in teaching i ve 2 networks cards in the computer of the student. so i have 2 ipadresse. (ethernet and wlan) how to specify the second adresse ip in : s = new Server(this, 8080); i can…

---

## [New 3D adventure/horror game made in Processing!](https://discourse.processing.org/t/new-3d-adventure-horror-game-made-in-processing/44051)

<div class="topic-metadata">

**Author:** [@Handschuh\_Games](https://discourse.processing.org/u/Handschuh_Games)\
**Replies:** 2\
**Last updated:** [June 19, 2024, 4:13pm UTC](https://discourse.processing.org/t/new-3d-adventure-horror-game-made-in-processing/44051 "2024-06-19T16:13:19Z")

</div>

Hey everyone, Just here to announce a new game, currently being developed in Processing, called “AL-1”. It’s a horror, adventure, puzzle game and I’m very excited to share the trailer with you. Trailer youtube-link St…

---

## [Removable SD Card access, or, Internal SD folder access](https://discourse.processing.org/t/removable-sd-card-access-or-internal-sd-folder-access/44603)

<div class="topic-metadata">

**Author:** [@enonod](https://discourse.processing.org/u/enonod)\
**Replies:** 19\
**Last updated:** [June 18, 2024, 1:33pm UTC](https://discourse.processing.org/t/removable-sd-card-access-or-internal-sd-folder-access/44603 "2024-06-18T13:33:55Z")

</div>

Since updating to 4.3 and using Android 12 device I can no longer access the folder path I used with 4.01 and Android 4 which was a folder at storage/emulated/0/… I now get a message that the folder is not accessible an…

---

## [How to do this programmatically (Combinatorics?)](https://discourse.processing.org/t/how-to-do-this-programmatically-combinatorics/38847)

<div class="topic-metadata">

**Author:** [@vkbr](https://discourse.processing.org/u/vkbr)\
**Replies:** 9\
**Last updated:** [June 17, 2024, 12:16pm UTC](https://discourse.processing.org/t/how-to-do-this-programmatically-combinatorics/38847 "2024-06-17T12:16:39Z")

</div>

A math question. Sorry if it’s a dumb one, but I couldn’t solve it. I wrote this with this for four points. All possibles lines, no repeating. pvline(p0, p1); pvline(p0, p2); pvline(p0, p3); …

---

## [Editing a topic subject (change first character from upper to lower case)](https://discourse.processing.org/t/editing-a-topic-subject-change-first-character-from-upper-to-lower-case/44568)

<div class="topic-metadata">

**Author:** [@glv](https://discourse.processing.org/u/glv)\
**Replies:** 3\
**Last updated:** [June 10, 2024, 7:14am UTC](https://discourse.processing.org/t/editing-a-topic-subject-change-first-character-from-upper-to-lower-case/44568 "2024-06-10T07:14:58Z")

</div>

Hello, How do you edit a topic subject line to make the first character lower case? For example change Red(int) to red(int): I tried and it remained upper-case. With Processing tab names (similar issue as above) I w…

---

## [Video library rtsp lags too much](https://discourse.processing.org/t/video-library-rtsp-lags-too-much/9306)

<div class="topic-metadata">

**Author:** [@spiderdab](https://discourse.processing.org/u/spiderdab)\
**Replies:** 3\
**Last updated:** [June 17, 2024, 1:01pm UTC](https://discourse.processing.org/t/video-library-rtsp-lags-too-much/9306 "2024-06-17T13:01:29Z")

</div>

Hi, I’m reading a rtsp camera streaming, but I have 3 seconds of delay, which I have to reduce to a maximum of half a second. This is the code I’m using: import processing.video.\*; Movie movie; void setup() { size(1…

---

## [PImage displays well but exports as empty file](https://discourse.processing.org/t/pimage-displays-well-but-exports-as-empty-file/44605)

<div class="topic-metadata">

**Author:** [@TellAJoke](https://discourse.processing.org/u/TellAJoke)\
**Replies:** 6\
**Last updated:** [June 17, 2024, 11:06am UTC](https://discourse.processing.org/t/pimage-displays-well-but-exports-as-empty-file/44605 "2024-06-17T11:06:36Z")

</div>

Hello. In this code snippet I create a canvas and draw on it using a shader. The created image displays nicely, but when exported the PNG file is empty. Exporting the canvas directly wont work either. When I do loadPixel…

---

## [Drawing shader consistently regardless of size and position in canvas](https://discourse.processing.org/t/drawing-shader-consistently-regardless-of-size-and-position-in-canvas/44601)

<div class="topic-metadata">

**Author:** [@TellAJoke](https://discourse.processing.org/u/TellAJoke)\
**Replies:** 2\
**Last updated:** [June 16, 2024, 11:23pm UTC](https://discourse.processing.org/t/drawing-shader-consistently-regardless-of-size-and-position-in-canvas/44601 "2024-06-16T23:23:30Z")

</div>

Hello. I have custom glsl fragment shader files and am drawing them using rect(). I want the shader to be drawn as if it was an image, which means all the information should be present when drawn, and it should stretch d…

---

## [Difficulties with Map Thing and Unfolding (show GPX)](https://discourse.processing.org/t/difficulties-with-map-thing-and-unfolding-show-gpx/44188)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 5\
**Last updated:** [June 15, 2024, 3:12pm UTC](https://discourse.processing.org/t/difficulties-with-map-thing-and-unfolding-show-gpx/44188 "2024-06-15T15:12:30Z")

</div>

Hello all, can someone please recommend a library to show many gpx tracks in a map and calc the middle position of one track? Thank you all!

---

## [Give some examples (Unfolding library)](https://discourse.processing.org/t/give-some-examples-unfolding-library/44362)

<div class="topic-metadata">

**Author:** [@Ciosiek](https://discourse.processing.org/u/Ciosiek)\
**Replies:** 7\
**Last updated:** [June 15, 2024, 3:11pm UTC](https://discourse.processing.org/t/give-some-examples-unfolding-library/44362 "2024-06-15T15:11:42Z")

</div>

Hello, i’m trying to use processing 4 because it’s needed for Unfolding 0.9.6 library for javafx. Can you provide me with simple example how to make working processing 4 with javafx? I’m doing an application and I cannot…

---

## [I can't make my lorenz attractor balls opaque help pls](https://discourse.processing.org/t/i-cant-make-my-lorenz-attractor-balls-opaque-help-pls/44599)

<div class="topic-metadata">

**Author:** [@mayara](https://discourse.processing.org/u/mayara)\
**Replies:** 3\
**Last updated:** [June 15, 2024, 1:10am UTC](https://discourse.processing.org/t/i-cant-make-my-lorenz-attractor-balls-opaque-help-pls/44599 "2024-06-15T01:10:37Z")

</div>

I want to make the balls in this code opaque but whenever I try the balls stop appearing help plssssssssss im going crazyyyyy :anguished: :anguished: :sob: :sob: :cry: :confounded: :confounded: \<let o = 10; let p = 28…

---

## [Out of Memory when creating image using canvas](https://discourse.processing.org/t/out-of-memory-when-creating-image-using-canvas/44296)

<div class="topic-metadata">

**Author:** [@TellAJoke](https://discourse.processing.org/u/TellAJoke)\
**Replies:** 4\
**Last updated:** [June 14, 2024, 10:43pm UTC](https://discourse.processing.org/t/out-of-memory-when-creating-image-using-canvas/44296 "2024-06-14T22:43:57Z")

</div>

Project runs out of memory eventually after running for a while. (RuntimeException: java.lang.OutOfMemoryError: Java heap space) I have narrowed down the issue to a particular snippet. Created a sketch with it that also…

[Previous page](https://discourse.processing.org/latest.md?page=37)

[Next page](https://discourse.processing.org/latest.md?page=39)
