# Latest

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

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

**Page:** 20

---

## [P3D Cube Renderer with JavaFX Controls](https://discourse.processing.org/t/p3d-cube-renderer-with-javafx-controls/46640)

<div class="topic-metadata">

**Author:** [@glv](https://discourse.processing.org/u/glv)\
**Replies:** 0\
**Last updated:** [July 1, 2025, 3:59pm UTC](https://discourse.processing.org/t/p3d-cube-renderer-with-javafx-controls/46640 "2025-07-01T15:59:27Z")

</div>

Hello folks! I was having some fun with Processing and JavaFX integration. ▶ Note for new Processing users \< Click here to expand! This is part of development for some future projects and still in it’s early stages! ▶ C…

---

## [Pixelated images](https://discourse.processing.org/t/pixelated-images/46658)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 7\
**Last updated:** [July 4, 2025, 1:07pm UTC](https://discourse.processing.org/t/pixelated-images/46658 "2025-07-04T13:07:58Z")

</div>

Hi there! I have been using processing again after sometime and I don’t understand why images are so pixelated. I am using processing 4.4.4 in Java mode in my pc and all the sketches are really pixelated, it doesn’t mat…

---

## [Why doesn't p5.js support .otf colorfonts?](https://discourse.processing.org/t/why-doesnt-p5-js-support-otf-colorfonts/46623)

<div class="topic-metadata">

**Author:** [@rbytes](https://discourse.processing.org/u/rbytes)\
**Replies:** 14\
**Last updated:** [July 6, 2025, 8:54am UTC](https://discourse.processing.org/t/why-doesnt-p5-js-support-otf-colorfonts/46623 "2025-07-06T08:54:36Z")

</div>

I discovered .otf colorfonts about 8 years ago, and am pleased to say that almost all browsers now support them. Yet p5.js is not configured to recognize them, nor is JavaScript, as far as i can discover. This should be…

---

## [Alternative Gamepad Support Library "Jamepad"](https://discourse.processing.org/t/alternative-gamepad-support-library-jamepad/23088)

<div class="topic-metadata">

**Author:** [@Shwaa](https://discourse.processing.org/u/Shwaa)\
**Replies:** 9\
**Last updated:** [July 4, 2025, 7:52pm UTC](https://discourse.processing.org/t/alternative-gamepad-support-library-jamepad/23088 "2025-07-04T19:52:06Z")

</div>

Jamepad is created by William Hartman When working on one of my games, I wanted to find a library to support gamepad input that wasn’t GameControlPlus, because I found it hard to use and understand. In my search, I foun…

---

## [What is the purpose of the resize() method in PGraphics if it doesn't work?](https://discourse.processing.org/t/what-is-the-purpose-of-the-resize-method-in-pgraphics-if-it-doesnt-work/46660)

<div class="topic-metadata">

**Author:** [@aiapps](https://discourse.processing.org/u/aiapps)\
**Replies:** 3\
**Last updated:** [July 4, 2025, 1:37pm UTC](https://discourse.processing.org/t/what-is-the-purpose-of-the-resize-method-in-pgraphics-if-it-doesnt-work/46660 "2025-07-04T13:37:15Z")

</div>

maybe it depends on the version? or it didn’t work from the start?

---

## [Background image doesn't load](https://discourse.processing.org/t/background-image-doesnt-load/46654)

<div class="topic-metadata">

**Author:** [@henk\_lamers](https://discourse.processing.org/u/henk_lamers)\
**Replies:** 3\
**Last updated:** [July 4, 2025, 12:18am UTC](https://discourse.processing.org/t/background-image-doesnt-load/46654 "2025-07-04T00:18:16Z")

</div>

I get the message: background image must be the same size as your application. The image is 1000 x 1000. Checked that in Photoshop. PImage BackgroundGradient; void setup () { size (1000, 1000); smooth(); noStrok…

---

## [Game controller input (gamepads, joysticks, etc.) in Processing 4](https://discourse.processing.org/t/game-controller-input-gamepads-joysticks-etc-in-processing-4/46197)

<div class="topic-metadata">

**Author:** [@GSA\_IxD](https://discourse.processing.org/u/GSA_IxD)\
**Replies:** 10\
**Last updated:** [July 3, 2025, 6:01pm UTC](https://discourse.processing.org/t/game-controller-input-gamepads-joysticks-etc-in-processing-4/46197 "2025-07-03T18:01:51Z")

</div>

I am looking to teach how to implement the above in Processing 4 and seems the Game Control Plus Library is not functional in Processing 4. I can’t see any alternative way to get simple input from such devices into Proce…

---

## [Switching Versions on p5.js Editor](https://discourse.processing.org/t/switching-versions-on-p5-js-editor/46656)

<div class="topic-metadata">

**Author:** [@Tipo](https://discourse.processing.org/u/Tipo)\
**Replies:** 0\
**Last updated:** [July 3, 2025, 1:42pm UTC](https://discourse.processing.org/t/switching-versions-on-p5-js-editor/46656 "2025-07-03T13:42:43Z")

</div>

How to switch to the latest release of p5.js 2.0!

---

## [4.4.4 runs ok from command line, but not as app](https://discourse.processing.org/t/4-4-4-runs-ok-from-command-line-but-not-as-app/46646)

<div class="topic-metadata">

**Author:** [@toby](https://discourse.processing.org/u/toby)\
**Replies:** 4\
**Last updated:** [July 2, 2025, 8:53pm UTC](https://discourse.processing.org/t/4-4-4-runs-ok-from-command-line-but-not-as-app/46646 "2025-07-02T20:53:14Z")

</div>

Hi! Glad to be back after being away for a while. I just downloaded 4.4.4 for Mac silicon (MBP, Sequoia 15.5 (24F74)). When launching it as usual from Applications as an app, nothing happens! But if I launch it from th…

---

## [Multiple background processes on Win 10 while not running Processing](https://discourse.processing.org/t/multiple-background-processes-on-win-10-while-not-running-processing/46648)

<div class="topic-metadata">

**Author:** [@glv](https://discourse.processing.org/u/glv)\
**Replies:** 1\
**Last updated:** [July 2, 2025, 2:06pm UTC](https://discourse.processing.org/t/multiple-background-processes-on-win-10-while-not-running-processing/46648 "2025-07-02T14:06:47Z")

</div>

Hello @sableraph , I had not yet fired up Processing 4.4.4 and thought I would take a look on my Windows 10. I usually look at the top of task manager to see running Apps for Processing\\Java: I found these down th…

---

## [Java.sql in Processing 4.4.4](https://discourse.processing.org/t/java-sql-in-processing-4-4-4/46611)

<div class="topic-metadata">

**Author:** [@PerryJohnson](https://discourse.processing.org/u/PerryJohnson)\
**Replies:** 3\
**Last updated:** [July 2, 2025, 11:53am UTC](https://discourse.processing.org/t/java-sql-in-processing-4-4-4/46611 "2025-07-02T11:53:21Z")

</div>

I’m getting this error now with code that worked in the previous version, The package “java.sql” does not exist. You might be missing a library. java.sql is included in Java SE. Has Processing gutted the standard libra…

---

## [Processing 4.4.4 CLI (command line interpreter)](https://discourse.processing.org/t/processing-4-4-4-cli-command-line-interpreter/46641)

<div class="topic-metadata">

**Author:** [@glv](https://discourse.processing.org/u/glv)\
**Replies:** 1\
**Last updated:** [July 1, 2025, 6:08pm UTC](https://discourse.processing.org/t/processing-4-4-4-cli-command-line-interpreter/46641 "2025-07-01T18:08:34Z")

</div>

Hello folks! I used to used the Processing CLI for projects: Processing 4.4.4 has change that and there is no processing-java.exe Is there any official documentation on the recent changes to the Processing 4.4.4 CL…

---

## [3D (P3D) Box Rotation with JavaFX Sliders](https://discourse.processing.org/t/3d-p3d-box-rotation-with-javafx-sliders/46625)

<div class="topic-metadata">

**Author:** [@glv](https://discourse.processing.org/u/glv)\
**Replies:** 0\
**Last updated:** [June 29, 2025, 6:22pm UTC](https://discourse.processing.org/t/3d-p3d-box-rotation-with-javafx-sliders/46625 "2025-06-29T18:22:29Z")

</div>

Hello folks! This is a proof-of-concept showing the integration of a JavaFX UI for manipulating a 3D scene rendered in Processing. It features a clean separation between the JavaFX UI controller for interactivity and th…

---

## [Happy Canada Day!](https://discourse.processing.org/t/happy-canada-day/46639)

<div class="topic-metadata">

**Author:** [@glv](https://discourse.processing.org/u/glv)\
**Replies:** 0\
**Last updated:** [July 1, 2025, 3:33pm UTC](https://discourse.processing.org/t/happy-canada-day/46639 "2025-07-01T15:33:47Z")

</div>

Hello folks! Happy Canada Day! /\*\* \* Textured 3D Cube with Canada Flag on Top Face \* \* Author: glv \* Date: 2025-07-01 \* \* This sketch demonstrates drawing a 3D cub…

---

## [Android Impulse Response](https://discourse.processing.org/t/android-impulse-response/46636)

<div class="topic-metadata">

**Author:** [@jafal](https://discourse.processing.org/u/jafal)\
**Replies:** 0\
**Last updated:** [July 1, 2025, 4:15am UTC](https://discourse.processing.org/t/android-impulse-response/46636 "2025-07-01T04:15:21Z")

</div>

Very powerful tool that can detect Impulse Response with high accurate measurements and able to capture response store it then analysis it to compare the response with same material under test by getting the unique sign…

---

## [Mask() can only be used with an image that's the same size](https://discourse.processing.org/t/mask-can-only-be-used-with-an-image-thats-the-same-size/46633)

<div class="topic-metadata">

**Author:** [@SNitaine](https://discourse.processing.org/u/SNitaine)\
**Replies:** 3\
**Last updated:** [June 30, 2025, 5:23pm UTC](https://discourse.processing.org/t/mask-can-only-be-used-with-an-image-thats-the-same-size/46633 "2025-06-30T17:23:59Z")

</div>

Can anyone please explain the error mask() can only be used with an image that's the same size.? Every time I try to use a Py5Graphics object/image as a mask, I run into that error. But the image loaded is the same pixel…

---

## [Error when using preload() with Vite + TypeScript: “Cannot read properties of undefined (reading 'pixels')”](https://discourse.processing.org/t/error-when-using-preload-with-vite-typescript-cannot-read-properties-of-undefined-reading-pixels/46431)

<div class="topic-metadata">

**Author:** [@tomokikun](https://discourse.processing.org/u/tomokikun)\
**Replies:** 3\
**Last updated:** [June 30, 2025, 9:08am UTC](https://discourse.processing.org/t/error-when-using-preload-with-vite-typescript-cannot-read-properties-of-undefined-reading-pixels/46431 "2025-06-30T09:08:19Z")

</div>

TL;DR: I’m using p5.js with TypeScript + Vite. When I try to use preload(), I get runtime errors like: Uncaught FESError: Stopping sketch to prevent more errors Uncaught TypeError: Cannot read properties of undefined (…

---

## [Processing: Staying connected beyond the forum?](https://discourse.processing.org/t/processing-staying-connected-beyond-the-forum/46599)

<div class="topic-metadata">

**Author:** [@solub](https://discourse.processing.org/u/solub)\
**Replies:** 1\
**Last updated:** [June 28, 2025, 4:50pm UTC](https://discourse.processing.org/t/processing-staying-connected-beyond-the-forum/46599 "2025-06-28T16:50:09Z")

</div>

A few years back, Jeremy Douglas (a moderator I really appreciated for his constant help and kindness) used to keep track of all the contributions and projects around Processing. I believe the idea was to preserve and do…

---

## [JavaFX TransparentWindow Drawing](https://discourse.processing.org/t/javafx-transparentwindow-drawing/46607)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 1\
**Last updated:** [June 28, 2025, 1:30am UTC](https://discourse.processing.org/t/javafx-transparentwindow-drawing/46607 "2025-06-28T01:30:27Z")

</div>

Demonstrates using JavaFX to create a transparent window with drawing. Developed on macOS; will not draw in Windows 11, but does allow click throughs. Not tested on Linux. import javafx.stage.Stage; import javafx.scen…

---

## [Can you help me to understand the code of this sketch?](https://discourse.processing.org/t/can-you-help-me-to-understand-the-code-of-this-sketch/46455)

<div class="topic-metadata">

**Author:** [@amaury](https://discourse.processing.org/u/amaury)\
**Replies:** 4\
**Last updated:** [June 27, 2025, 1:45pm UTC](https://discourse.processing.org/t/can-you-help-me-to-understand-the-code-of-this-sketch/46455 "2025-06-27T13:45:34Z")

</div>

Hi, Is there a way to predict where the square and rectangle will appear in the sketch below ? Is it linked to the nature of the “noise” function ? https://openprocessing.org/sketch/2026851 Thanks for your help.

---

## [Why app store cant detect live wallpaper](https://discourse.processing.org/t/why-app-store-cant-detect-live-wallpaper/46612)

<div class="topic-metadata">

**Author:** [@aiapps](https://discourse.processing.org/u/aiapps)\
**Replies:** 2\
**Last updated:** [June 27, 2025, 7:15am UTC](https://discourse.processing.org/t/why-app-store-cant-detect-live-wallpaper/46612 "2025-06-27T07:15:28Z")

</div>

I created an apk file and want to upload it, but the problem is that the app store can’t detect live wallpaper. What should I write in the manifest?

---

## [Color to Grayscale Exploration](https://discourse.processing.org/t/color-to-grayscale-exploration/46602)

<div class="topic-metadata">

**Author:** [@glv](https://discourse.processing.org/u/glv)\
**Replies:** 0\
**Last updated:** [June 24, 2025, 8:20pm UTC](https://discourse.processing.org/t/color-to-grayscale-exploration/46602 "2025-06-24T20:20:51Z")

</div>

This is a color to grayscale exploration. Grayscale conversion is a complex process that involves the range of human visual perception, established video standards, gamma color encoding, and considerations of computatio…

---

## [Color to grayscale algorithm](https://discourse.processing.org/t/color-to-grayscale-algorithm/45171)

<div class="topic-metadata">

**Author:** [@paulstgeorge](https://discourse.processing.org/u/paulstgeorge)\
**Replies:** 16\
**Last updated:** [June 26, 2025, 7:01am UTC](https://discourse.processing.org/t/color-to-grayscale-algorithm/45171 "2025-06-26T07:01:46Z")

</div>

I want to convert RGB colour images to greyscale. I know a number of ways to do this in Processing, but the algorithms are under the bonnet. I want to do the conversion AND know what I am doing! After some research (Col…

---

## [My sketch doesn't run, can anybody help me?](https://discourse.processing.org/t/my-sketch-doesnt-run-can-anybody-help-me/46521)

<div class="topic-metadata">

**Author:** [@HProcessing](https://discourse.processing.org/u/HProcessing)\
**Replies:** 12\
**Last updated:** [June 25, 2025, 6:26pm UTC](https://discourse.processing.org/t/my-sketch-doesnt-run-can-anybody-help-me/46521 "2025-06-25T18:26:45Z")

</div>

int AH=4; // Anzahl der Memorykarten in der Höhe int AB=6; // Anzahl der Memorykarten in der Breite float rh; // Abstand zwischen dem Bildschirmrand und den Memorykarten in der Höhe float rb; // Abstand zwischen dem Bild…

---

## [Stack Trace for Exceptions](https://discourse.processing.org/t/stack-trace-for-exceptions/46569)

<div class="topic-metadata">

**Author:** [@plammich](https://discourse.processing.org/u/plammich)\
**Replies:** 7\
**Last updated:** [June 25, 2025, 6:20pm UTC](https://discourse.processing.org/t/stack-trace-for-exceptions/46569 "2025-06-25T18:20:35Z")

</div>

How to get a stack-trace if the program throws an exception (or any information pointing to the position in the program from where the exception was thrown?) Example (a typical beginner’s mistake): PVector \[\] vs = new …

---

## [P5.js movement logic — detective stops unexpectedly at corners in maze game](https://discourse.processing.org/t/p5-js-movement-logic-detective-stops-unexpectedly-at-corners-in-maze-game/46605)

<div class="topic-metadata">

**Author:** [@Andrew-James](https://discourse.processing.org/u/Andrew-James)\
**Replies:** 2\
**Last updated:** [June 25, 2025, 1:17pm UTC](https://discourse.processing.org/t/p5-js-movement-logic-detective-stops-unexpectedly-at-corners-in-maze-game/46605 "2025-06-25T13:17:45Z")

</div>

Hi everyone, I’m working on a p5.js project where a detective character follows a fixed path through a “Vice City”-style maze to catch a criminal named Fox. The movement is controlled by conditional statements that upda…

---

## [Problem with theMidiBus on Mac mini M2 Pro](https://discourse.processing.org/t/problem-with-themidibus-on-mac-mini-m2-pro/43039)

<div class="topic-metadata">

**Author:** [@eltrem](https://discourse.processing.org/u/eltrem)\
**Replies:** 2\
**Last updated:** [June 24, 2025, 7:17pm UTC](https://discourse.processing.org/t/problem-with-themidibus-on-mac-mini-m2-pro/43039 "2025-06-24T19:17:27Z")

</div>

I just made a fresh install of Processing 4.3 on a new M2 Mac mini running Ventura 13.6, just to find that my old sketches using theMidiBus library do not work. I also tried with the basic examples coming with the libr…

---

## [Processing doesn't say where the error is](https://discourse.processing.org/t/processing-doesnt-say-where-the-error-is/46411)

<div class="topic-metadata">

**Author:** [@RichardDL](https://discourse.processing.org/u/RichardDL)\
**Replies:** 4\
**Last updated:** [June 25, 2025, 4:40am UTC](https://discourse.processing.org/t/processing-doesnt-say-where-the-error-is/46411 "2025-06-25T04:40:48Z")

</div>

For me Processing (4.4.1) is not saying where the error is. It’s doing it for any sketch but see Examples, Topics, Curves, ArcLengthParametrization. Comment out line 21 //final int POINT\_COUNT = 80; and run the sket…

---

## [Processing works on Laptop but not MacStudio, same MacOS and Processing version](https://discourse.processing.org/t/processing-works-on-laptop-but-not-macstudio-same-macos-and-processing-version/46575)

<div class="topic-metadata">

**Author:** [@tmiley](https://discourse.processing.org/u/tmiley)\
**Replies:** 7\
**Last updated:** [June 23, 2025, 7:05pm UTC](https://discourse.processing.org/t/processing-works-on-laptop-but-not-macstudio-same-macos-and-processing-version/46575 "2025-06-23T19:05:02Z")

</div>

Hello, I just migrated to new Macs - M4 Max laptop and Studio, I’m trying to run similar programs on both but the Studio version keeps crashing. I have Processing 4.4 running on Sequoia. Library example programs crash…

---

## [Creating object arrays without the object speeding up](https://discourse.processing.org/t/creating-object-arrays-without-the-object-speeding-up/46573)

<div class="topic-metadata">

**Author:** [@Pat](https://discourse.processing.org/u/Pat)\
**Replies:** 7\
**Last updated:** [June 23, 2025, 9:33am UTC](https://discourse.processing.org/t/creating-object-arrays-without-the-object-speeding-up/46573 "2025-06-23T09:33:02Z")

</div>

Hi, this is my first post :blush: I’m currently learning to make arrays of objects. Whenever I try this with objects that move across the screen, the speed of the objects increases as the number of objects in the array …

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

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