# Latest

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

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

**Page:** 68

---

## [Android can't find data](https://discourse.processing.org/t/android-cant-find-data/42380)

<div class="topic-metadata">

**Author:** [@nuhuhwy](https://discourse.processing.org/u/nuhuhwy)\
**Replies:** 5\
**Last updated:** [July 9, 2023, 8:18pm UTC](https://discourse.processing.org/t/android-cant-find-data/42380 "2023-07-09T20:18:37Z")

</div>

I tried installing a processing sketch but the images I put there can not be found, just in the sketchbook but nowhere else. I looked in android, data, obb and media. There is no trace of “processing.sketch” or any of th…

---

## [Unable to export real-time audio reactive visuals](https://discourse.processing.org/t/unable-to-export-real-time-audio-reactive-visuals/42242)

<div class="topic-metadata">

**Author:** [@shaival](https://discourse.processing.org/u/shaival)\
**Replies:** 1\
**Last updated:** [July 9, 2023, 6:53pm UTC](https://discourse.processing.org/t/unable-to-export-real-time-audio-reactive-visuals/42242 "2023-07-09T18:53:44Z")

</div>

Hi All! I am creating a music visualizer in Processing 4.0. However when I try to export using saveFrame function, the audio is playing in real-time but the saving function delays the draw loop considerably which resul…

---

## [Scope and random number generators](https://discourse.processing.org/t/scope-and-random-number-generators/42385)

<div class="topic-metadata">

**Author:** [@Sambo](https://discourse.processing.org/u/Sambo)\
**Replies:** 1\
**Last updated:** [July 9, 2023, 6:41pm UTC](https://discourse.processing.org/t/scope-and-random-number-generators/42385 "2023-07-09T18:41:26Z")

</div>

I understand the problem with choosing randoms either 1: inside function draw(), or 2: inside functions that are called inside draw, but why is it that random() is a scope error outside of setup() ? Is it necessary to g…

---

## [Problem with Spout and MadMapper in all versions, on Windows 11](https://discourse.processing.org/t/problem-with-spout-and-madmapper-in-all-versions-on-windows-11/42317)

<div class="topic-metadata">

**Author:** [@galacticovj](https://discourse.processing.org/u/galacticovj)\
**Replies:** 0\
**Last updated:** [June 30, 2023, 4:45pm UTC](https://discourse.processing.org/t/problem-with-spout-and-madmapper-in-all-versions-on-windows-11/42317 "2023-06-30T16:45:33Z")

</div>

Hello everyone, my problem is testing processing with spout library testing the example spout send, it’s recognized on madmapper but the image is black , Also I tried capturing window processing with OBS and then sending…

---

## [How I can create coral in Processing?](https://discourse.processing.org/t/how-i-can-create-coral-in-processing/42371)

<div class="topic-metadata">

**Author:** [@Yass1](https://discourse.processing.org/u/Yass1)\
**Replies:** 2\
**Last updated:** [July 8, 2023, 10:26pm UTC](https://discourse.processing.org/t/how-i-can-create-coral-in-processing/42371 "2023-07-08T22:26:38Z")

</div>

\<I want to create corals in processing, how I can do that ?\>

---

## [Preloading Many Images in Preload](https://discourse.processing.org/t/preloading-many-images-in-preload/42372)

<div class="topic-metadata">

**Author:** [@DonaldZhu](https://discourse.processing.org/u/DonaldZhu)\
**Replies:** 1\
**Last updated:** [July 8, 2023, 5:25pm UTC](https://discourse.processing.org/t/preloading-many-images-in-preload/42372 "2023-07-08T17:25:17Z")

</div>

I was trying to preload around 200 1MB images in my local sketch with loadImage() but found p5 to be stuck in preload(). I have replicated the issue here. To note, it will stall initially in the web editor due to fetchi…

---

## [Adjusting pixel brightness value of an image](https://discourse.processing.org/t/adjusting-pixel-brightness-value-of-an-image/42343)

<div class="topic-metadata">

**Author:** [@glosoli3](https://discourse.processing.org/u/glosoli3)\
**Replies:** 6\
**Last updated:** [July 8, 2023, 10:06pm UTC](https://discourse.processing.org/t/adjusting-pixel-brightness-value-of-an-image/42343 "2023-07-08T22:06:28Z")

</div>

Ok, I’ve exhausted myself trying to adjust the brightness of pixels from a loaded image using p5.js.I’ve looked online and multiple forums with no solution. It seems like color and colorMode work very differently in p5.j…

---

## ["Destroy" instance of a class](https://discourse.processing.org/t/destroy-instance-of-a-class/42312)

<div class="topic-metadata">

**Author:** [@sterretje](https://discourse.processing.org/u/sterretje)\
**Replies:** 6\
**Last updated:** [July 8, 2023, 2:12am UTC](https://discourse.processing.org/t/destroy-instance-of-a-class/42312 "2023-07-08T02:12:23Z")

</div>

I have a class to allow the user to select a serial port using a kind-of dropdown. It lists the available ports and the user can select using the up and down arrows. An object is instantiated when the user presses ‘P’ o…

---

## [Join segments / concatenate paths](https://discourse.processing.org/t/join-segments-concatenate-paths/42355)

<div class="topic-metadata">

**Author:** [@jeykech](https://discourse.processing.org/u/jeykech)\
**Replies:** 2\
**Last updated:** [July 7, 2023, 6:58pm UTC](https://discourse.processing.org/t/join-segments-concatenate-paths/42355 "2023-07-07T18:58:03Z")

</div>

hello all, I am working on a project that is like a truchet tilling, I am using versions of a tile that are distributed in a grid and are rotates randomly to generate a certain drawing. once I have the random distributi…

---

## [Am I allowed to use PGraphics in html?](https://discourse.processing.org/t/am-i-allowed-to-use-pgraphics-in-html/42375)

<div class="topic-metadata">

**Author:** [@canslp](https://discourse.processing.org/u/canslp)\
**Replies:** 1\
**Last updated:** [July 7, 2023, 6:22pm UTC](https://discourse.processing.org/t/am-i-allowed-to-use-pgraphics-in-html/42375 "2023-07-07T18:22:19Z")

</div>

so i’m trying to embed some pdes in html and i’m running into trouble using the PGraphics buffer. it seems to be compiling and running, but it doesn’t actually draw my PGraphics canvas when i try to use image(). the cons…

---

## [Using vectors to find the line between two lines](https://discourse.processing.org/t/using-vectors-to-find-the-line-between-two-lines/41856)

<div class="topic-metadata">

**Author:** [@paulstgeorge](https://discourse.processing.org/u/paulstgeorge)\
**Replies:** 12\
**Last updated:** [July 7, 2023, 8:26am UTC](https://discourse.processing.org/t/using-vectors-to-find-the-line-between-two-lines/41856 "2023-07-07T08:26:17Z")

</div>

I can do this (see sketch) with lerp(), but it cannot be the best way. Using lerp() and starting at the desired angle, one would have to use tan(), then solve two equations before knowing what value to give lerp(). Then …

---

## [Multi-serial Processing input from subprocessors each with multiple sensors for a Weather Panel display](https://discourse.processing.org/t/multi-serial-processing-input-from-subprocessors-each-with-multiple-sensors-for-a-weather-panel-display/19321)

<div class="topic-metadata">

**Author:** [@NiteOwl](https://discourse.processing.org/u/NiteOwl)\
**Replies:** 1\
**Last updated:** [July 6, 2023, 2:17am UTC](https://discourse.processing.org/t/multi-serial-processing-input-from-subprocessors-each-with-multiple-sensors-for-a-weather-panel-display/19321 "2023-07-06T02:17:06Z")

</div>

This is a progress statement on a weather panel to display multiple sensor outputs on a full PC screen. This particular program, that I am developing, is the use of multiple Arduino boards fed into a PC through multipl…

---

## [Images in Processing help?](https://discourse.processing.org/t/images-in-processing-help/42357)

<div class="topic-metadata">

**Author:** [@KiaraR](https://discourse.processing.org/u/KiaraR)\
**Replies:** 2\
**Last updated:** [July 7, 2023, 7:32am UTC](https://discourse.processing.org/t/images-in-processing-help/42357 "2023-07-07T07:32:01Z")

</div>

Basic question but I’m having trouble as a beginner: I wanted to know can you add transformations to a jpeg image in Processing? If so where do I find or upload the local file path in processing?

---

## [How do I make an array larger?](https://discourse.processing.org/t/how-do-i-make-an-array-larger/42361)

<div class="topic-metadata">

**Author:** [@nuhuhwy](https://discourse.processing.org/u/nuhuhwy)\
**Replies:** 1\
**Last updated:** [July 6, 2023, 11:46pm UTC](https://discourse.processing.org/t/how-do-i-make-an-array-larger/42361 "2023-07-06T23:46:08Z")

</div>

I am trying to make a array, that if you get to the end, it gets one larger. this is my code: String\[\] text = new String\[32\]; int scroll; int visScroll; float scrollSpeed; int lineHeight = 24; void setup() { size(…

---

## [PGraphics weird transparency issue](https://discourse.processing.org/t/pgraphics-weird-transparency-issue/42015)

<div class="topic-metadata">

**Author:** [@Aryszin](https://discourse.processing.org/u/Aryszin)\
**Replies:** 10\
**Last updated:** [July 6, 2023, 9:50pm UTC](https://discourse.processing.org/t/pgraphics-weird-transparency-issue/42015 "2023-07-06T21:50:36Z")

</div>

Its weird, i cant explain it, so ill get straight to the point; this code makes the edge of the line look dark and weird. it uses a translucent background (not pixelated, thats fine); PGraphics pg; void setup() { s…

---

## [Processing IDE code not working (Arduino / Processing)](https://discourse.processing.org/t/processing-ide-code-not-working-arduino-processing/42349)

<div class="topic-metadata">

**Author:** [@kusspuss](https://discourse.processing.org/u/kusspuss)\
**Replies:** 4\
**Last updated:** [July 6, 2023, 2:23pm UTC](https://discourse.processing.org/t/processing-ide-code-not-working-arduino-processing/42349 "2023-07-06T14:23:18Z")

</div>

I make code that do not receive data from Arduino , angle should be along x-axis and h\_dot should be along y-axis import processing.serial.\*; Serial port; float Angle; float h\_dot; void setup() { size(400, 300); …

---

## [Encapsulate G4P app?](https://discourse.processing.org/t/encapsulate-g4p-app/42354)

<div class="topic-metadata">

**Author:** [@harrih](https://discourse.processing.org/u/harrih)\
**Replies:** 1\
**Last updated:** [July 6, 2023, 3:25pm UTC](https://discourse.processing.org/t/encapsulate-g4p-app/42354 "2023-07-06T15:25:51Z")

</div>

Hi I have a small App that has been partially built using The G4P gui builder tool This is to be a helper app in the context of a much larger app . It is simply a calculator that takes a number from the main app, man…

---

## [Creating complex programs (merging programs)](https://discourse.processing.org/t/creating-complex-programs-merging-programs/42347)

<div class="topic-metadata">

**Author:** [@cuvner](https://discourse.processing.org/u/cuvner)\
**Replies:** 1\
**Last updated:** [July 5, 2023, 5:56pm UTC](https://discourse.processing.org/t/creating-complex-programs-merging-programs/42347 "2023-07-05T17:56:18Z")

</div>

Hello, Im developing some software that is getting complex fast. Arduino with capacitve touch input Serial comms Particle system Projection mapping My question is about program structure and best practise. I have all…

---

## [Android - Max ram usage?](https://discourse.processing.org/t/android-max-ram-usage/39788)

<div class="topic-metadata">

**Author:** [@Lissie](https://discourse.processing.org/u/Lissie)\
**Replies:** 3\
**Last updated:** [July 3, 2023, 8:07pm UTC](https://discourse.processing.org/t/android-max-ram-usage/39788 "2023-07-03T20:07:10Z")

</div>

When I want to load a 1920 by 1080 pixel PGraphics image, I have 45 FPS, even tho, my tablet has 8 GB ram and is fairly good performance. How do I change the max ram?

---

## [Simple code does not run on the Android 12 device](https://discourse.processing.org/t/simple-code-does-not-run-on-the-android-12-device/41072)

<div class="topic-metadata">

**Author:** [@goodlucky99](https://discourse.processing.org/u/goodlucky99)\
**Replies:** 3\
**Last updated:** [July 3, 2023, 10:55am UTC](https://discourse.processing.org/t/simple-code-does-not-run-on-the-android-12-device/41072 "2023-07-03T10:55:03Z")

</div>

Hello. I installed Processing 4.2 And I changed my phone (android 12) to usb debugging mode and connected to PC. After then, I checked my Android device in the Android device menu and the tutorial simple sketch succes…

---

## [How can I retrieve SMS on Android phone? - not work](https://discourse.processing.org/t/how-can-i-retrieve-sms-on-android-phone-not-work/41888)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 6\
**Last updated:** [July 3, 2023, 7:31am UTC](https://discourse.processing.org/t/how-can-i-retrieve-sms-on-android-phone-not-work/41888 "2023-07-03T07:31:30Z")

</div>

\[How can I retrieve SMS on Android phone?\] hello. Nice to meet you. I want to receive text messages on Android. Here is the reference link: I used the source code below, but the app closes automatically. what coul…

---

## [QR code recognition is required in'Android'. Is there no workaround?](https://discourse.processing.org/t/qr-code-recognition-is-required-inandroid-is-there-no-workaround/28129)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 17\
**Last updated:** [July 3, 2023, 7:31am UTC](https://discourse.processing.org/t/qr-code-recognition-is-required-inandroid-is-there-no-workaround/28129 "2023-07-03T07:31:26Z")

</div>

QR code recognition is required in’Android’. Is there no workaround? Reference link: https://forum.processing.org/two/discussion/15572/qr-code-library-for-processing-3-0-2-windows-linux-macosx-android-writeqr-and-readqr …

---

## [PDF export for Android sketch](https://discourse.processing.org/t/pdf-export-for-android-sketch/7738)

<div class="topic-metadata">

**Author:** [@Puran.Singh](https://discourse.processing.org/u/Puran.Singh)\
**Replies:** 6\
**Last updated:** [July 3, 2023, 7:13am UTC](https://discourse.processing.org/t/pdf-export-for-android-sketch/7738 "2023-07-03T07:13:35Z")

</div>

Hi everyone! I am making an app that does some sort of calculations and draws something with the result. Now I want to export a pdf of the same. Although my purpose is satisfied on a computer with pdf export library, …

---

## [Connect Android to Processing on my computer](https://discourse.processing.org/t/connect-android-to-processing-on-my-computer/41825)

<div class="topic-metadata">

**Author:** [@markus1](https://discourse.processing.org/u/markus1)\
**Replies:** 11\
**Last updated:** [July 3, 2023, 7:09am UTC](https://discourse.processing.org/t/connect-android-to-processing-on-my-computer/41825 "2023-07-03T07:09:58Z")

</div>

Hi. I wanna make a smal app for my own mobile phone. I wanna use processing for this. I have downloded SDK and have Android mode on processing. The problem is that when I go to Android → Devices, i only see “no connecte…

---

## [Unable to use Video Library in Android](https://discourse.processing.org/t/unable-to-use-video-library-in-android/40277)

<div class="topic-metadata">

**Author:** [@javamind](https://discourse.processing.org/u/javamind)\
**Replies:** 4\
**Last updated:** [July 3, 2023, 7:07am UTC](https://discourse.processing.org/t/unable-to-use-video-library-in-android/40277 "2023-07-03T07:07:38Z")

</div>

I cannot build any video library examples for Processing in Android mode. Is there a separate video library for Android available?

---

## [I'm having trouble exporting my project to an apk](https://discourse.processing.org/t/im-having-trouble-exporting-my-project-to-an-apk/42268)

<div class="topic-metadata">

**Author:** [@Math\_Machine](https://discourse.processing.org/u/Math_Machine)\
**Replies:** 8\
**Last updated:** [July 3, 2023, 7:04am UTC](https://discourse.processing.org/t/im-having-trouble-exporting-my-project-to-an-apk/42268 "2023-07-03T07:04:36Z")

</div>

Hello. So, first of all, I’m running Processing 4.2 on Linux Mint (Ubuntu), using Processing’s Android mode. I want to export my project as an unsigned apk, since I don’t want it on the Google Play store or any third par…

---

## [Signed released APK of my videogame created using Processing can not be launched on Android 11](https://discourse.processing.org/t/signed-released-apk-of-my-videogame-created-using-processing-can-not-be-launched-on-android-11/42325)

<div class="topic-metadata">

**Author:** [@MGDSStudio](https://discourse.processing.org/u/MGDSStudio)\
**Replies:** 3\
**Last updated:** [July 3, 2023, 7:00am UTC](https://discourse.processing.org/t/signed-released-apk-of-my-videogame-created-using-processing-can-not-be-launched-on-android-11/42325 "2023-07-03T07:00:13Z")

</div>

I created an Android-videogame that uses processing-core.jar library. I used Intellij Idea to create this multiplatform project. When I try to launch the release build on my Tablet PC with Android 11 using USB-cable I se…

---

## [Error compiling because "The number of method references in a .dex file cannot exceed 64K."](https://discourse.processing.org/t/error-compiling-because-the-number-of-method-references-in-a-dex-file-cannot-exceed-64k/40126)

<div class="topic-metadata">

**Author:** [@a\_random\_cat](https://discourse.processing.org/u/a_random_cat)\
**Replies:** 3\
**Last updated:** [July 3, 2023, 6:57am UTC](https://discourse.processing.org/t/error-compiling-because-the-number-of-method-references-in-a-dex-file-cannot-exceed-64k/40126 "2023-07-03T06:57:06Z")

</div>

Hi there. I have this project which I use for some leds: import java.io.File; import android.os.Environment; import android.Manifest; import android.os.Build; import processing.core.PConstants; PImage img1; PImage i…

---

## [Tracking multiple people](https://discourse.processing.org/t/tracking-multiple-people/42324)

<div class="topic-metadata">

**Author:** [@zero2411](https://discourse.processing.org/u/zero2411)\
**Replies:** 0\
**Last updated:** [July 1, 2023, 1:06pm UTC](https://discourse.processing.org/t/tracking-multiple-people/42324 "2023-07-01T13:06:41Z")

</div>

Hi, For an art installation at a small light festival, I’m looking for a way to track people walking through a small street. My idea is to set up a webcam (or Kinect V2 sensor) at a high position pointing down to the s…

---

## [How to use void sum](https://discourse.processing.org/t/how-to-use-void-sum/42321)

<div class="topic-metadata">

**Author:** [@Janoer](https://discourse.processing.org/u/Janoer)\
**Replies:** 4\
**Last updated:** [July 1, 2023, 11:54am UTC](https://discourse.processing.org/t/how-to-use-void-sum/42321 "2023-07-01T11:54:49Z")

</div>

Hello, I want to use sum but I don’t know where to put number. is there anything that can help? Thank You! void sum(int a, int b, int c) { in total = a + b + c; printIn(total); }

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

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