# Processing

**URL:** https://discourse.processing.org/c/processing/6.md?no_subcategories=false

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

---

## [About the Processing category](https://discourse.processing.org/t/about-the-processing-category/16)

<div class="topic-metadata">

**Author:** [@ProcessingOrg](https://discourse.processing.org/u/ProcessingOrg)\
**Replies:** 1\
**Last updated:** [January 23, 2021, 9:04pm UTC](https://discourse.processing.org/t/about-the-processing-category/16 "2021-01-23T21:04:08Z")

</div>

Discussions about Processing programs and development

---

## [Chooser.files.native still broken](https://discourse.processing.org/t/chooser-files-native-still-broken/49403)

<div class="topic-metadata">

**Author:** [@PerryJohnson](https://discourse.processing.org/u/PerryJohnson)\
**Replies:** 2\
**Last updated:** [September 21, 2026, 12:24pm UTC](https://discourse.processing.org/t/chooser-files-native-still-broken/49403 "2026-09-21T12:24:12Z")

</div>

I’m still seeing a broken file chooser on the latest Processing versions up through the latest RC. I’m on Linux (Fedora, KDE, Wayland). Yes, there is the preferences workaround below, but I was hoping for a proper fix. …

---

## [Backspace not detecting](https://discourse.processing.org/t/backspace-not-detecting/49405)

<div class="topic-metadata">

**Author:** [@IrohaSakayori168](https://discourse.processing.org/u/IrohaSakayori168)\
**Replies:** 1\
**Last updated:** [September 21, 2026, 7:31am UTC](https://discourse.processing.org/t/backspace-not-detecting/49405 "2026-09-21T07:31:22Z")

</div>

public void keyPressed(){ if(key == CODED){ if(keyCode == LEFT){val--;} if(keyCode == RIGHT){val++;} if(keyCode == BACKSPACE) {System.out.println("Backspace Pressed");editManag…

---

## [Question about a simple code using lines and rectangles](https://discourse.processing.org/t/question-about-a-simple-code-using-lines-and-rectangles/49402)

<div class="topic-metadata">

**Author:** [@JamesP](https://discourse.processing.org/u/JamesP)\
**Replies:** 6\
**Last updated:** [September 20, 2026, 7:19pm UTC](https://discourse.processing.org/t/question-about-a-simple-code-using-lines-and-rectangles/49402 "2026-09-20T19:19:18Z")

</div>

Why is it that I have to use (100,40,400,210) to make the rectangle the same size as the lines? I would have thought I could use (100,40,500,250). It doesn’t make sense to me that 400, 210 is at the same spot as where my…

---

## [Installing Processing 4.5.6 for Windows - reading licences](https://discourse.processing.org/t/installing-processing-4-5-6-for-windows-reading-licences/49231)

<div class="topic-metadata">

**Author:** [@jsampson45](https://discourse.processing.org/u/jsampson45)\
**Replies:** 1\
**Last updated:** [September 18, 2026, 3:57pm UTC](https://discourse.processing.org/t/installing-processing-4-5-6-for-windows-reading-licences/49231 "2026-09-18T15:57:55Z")

</div>

I see that there are nine licences to read in installng Processing for Windows. Is there an estimate how long it takes to read them?

---

## [Screen resolution hdpi confusion](https://discourse.processing.org/t/screen-resolution-hdpi-confusion/30320)

<div class="topic-metadata">

**Author:** [@fish233](https://discourse.processing.org/u/fish233)\
**Replies:** 10\
**Last updated:** [September 15, 2026, 2:35pm UTC](https://discourse.processing.org/t/screen-resolution-hdpi-confusion/30320 "2026-09-15T14:35:43Z")

</div>

Hello, semi noob here. I recently switched from a win10 1920x1080 laptop to an m1 MacBook. I made a lot of sketches with size(1080,1080) last year. these displayed nice on the hd screen, but with the MacBook apparently b…

---

## [AI wrote it with prompting for Processing code](https://discourse.processing.org/t/ai-wrote-it-with-prompting-for-processing-code/49315)

<div class="topic-metadata">

**Author:** [@HackinHarry](https://discourse.processing.org/u/HackinHarry)\
**Replies:** 0\
**Last updated:** [September 5, 2026, 3:54am UTC](https://discourse.processing.org/t/ai-wrote-it-with-prompting-for-processing-code/49315 "2026-09-05T03:54:04Z")

</div>

I was building a circuit that used some 4051N multiplexers and a 74HCT595N shift register to scan a sensor array I made from Velostat. The idea was to send the data through serial and display it as a pressure map. My s…

---

## [Automatically Close on Exit](https://discourse.processing.org/t/automatically-close-on-exit/49309)

<div class="topic-metadata">

**Author:** [@IrohaSakayori168](https://discourse.processing.org/u/IrohaSakayori168)\
**Replies:** 5\
**Last updated:** [September 3, 2026, 8:22pm UTC](https://discourse.processing.org/t/automatically-close-on-exit/49309 "2026-09-03T20:22:29Z")

</div>

How to close the program on exit? I end up with a dozen windows because I tend to forget to close the window.

---

## [Shapes3d: Box Object: missing command setSize](https://discourse.processing.org/t/shapes3d-box-object-missing-command-setsize/49300)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 1\
**Last updated:** [September 1, 2026, 10:41pm UTC](https://discourse.processing.org/t/shapes3d-box-object-missing-command-setsize/49300 "2026-09-01T22:41:16Z")

</div>

Dear all, sorry, when this has been asked before. Please jump to my Edit parts below. Box Object: In an OLD shapes3d lib by @quark : Box Object: missing command setSize(). // OLD Help for setSize(float width, flo…

---

## [Display count needs to be implemented for non-AWT](https://discourse.processing.org/t/display-count-needs-to-be-implemented-for-non-awt/49232)

<div class="topic-metadata">

**Author:** [@AlexRussell](https://discourse.processing.org/u/AlexRussell)\
**Replies:** 5\
**Last updated:** [August 31, 2026, 4:18pm UTC](https://discourse.processing.org/t/display-count-needs-to-be-implemented-for-non-awt/49232 "2026-08-31T16:18:33Z")

</div>

Since I updated to Processing 4.5.6 (on Win 11), every sketch runs okay, but gets the error message: “display count needs to be implemented for non-AWT AWT disabled, displayWidth/displayHeight will be 0” Nothing here:…

---

## [SimpleUI free for all](https://discourse.processing.org/t/simpleui-free-for-all/49244)

<div class="topic-metadata">

**Author:** [@erkosone](https://discourse.processing.org/u/erkosone)\
**Replies:** 5\
**Last updated:** [August 31, 2026, 3:52pm UTC](https://discourse.processing.org/t/simpleui-free-for-all/49244 "2026-08-31T15:52:13Z")

</div>

Llevo desarrollando esta librería para consumo propio desde el año 2013 y he decidido publicarla formalmente para la comunidad, se trata de una librería de interfaz de usuario y sobre todo esta pensada para crear videoju…

---

## [Could not connect to the Processing server to install libraries](https://discourse.processing.org/t/could-not-connect-to-the-processing-server-to-install-libraries/44126)

<div class="topic-metadata">

**Author:** [@ppiyo](https://discourse.processing.org/u/ppiyo)\
**Replies:** 9\
**Last updated:** [August 31, 2026, 12:07pm UTC](https://discourse.processing.org/t/could-not-connect-to-the-processing-server-to-install-libraries/44126 "2026-08-31T12:07:38Z")

</div>

May I know how to solve this issue? I am using Processing 3.5.4.

---

## [Sketchbook Moved But Processing Picksup An Old Version](https://discourse.processing.org/t/sketchbook-moved-but-processing-picksup-an-old-version/49257)

<div class="topic-metadata">

**Author:** [@fredstout](https://discourse.processing.org/u/fredstout)\
**Replies:** 2\
**Last updated:** [August 28, 2026, 9:22pm UTC](https://discourse.processing.org/t/sketchbook-moved-but-processing-picksup-an-old-version/49257 "2026-08-28T21:22:17Z")

</div>

I am moving out of One-Drive and I have moved my processing files including the sketchbook to a new location. When I start processing, I set the new sketchbook path into the preferences position. Processing keeps trying…

---

## [C++ Mode, a plugin that lets you write Processing sketches in C++](https://discourse.processing.org/t/c-mode-a-plugin-that-lets-you-write-processing-sketches-in-c/49142)

<div class="topic-metadata">

**Author:** [@pepc](https://discourse.processing.org/u/pepc)\
**Replies:** 16\
**Last updated:** [August 28, 2026, 2:09pm UTC](https://discourse.processing.org/t/c-mode-a-plugin-that-lets-you-write-processing-sketches-in-c/49142 "2026-08-28T14:09:24Z")

</div>

Hey all, I’ve been building a plugin for the Processing 4 IDE called C++ Mode. It lets you write sketches in C++, using the same API you’re used to. setup(), draw(), background(), mouseX, fill(), all still there. C++ i…

---

## [Serial ports disappear after years of working reliably](https://discourse.processing.org/t/serial-ports-disappear-after-years-of-working-reliably/49236)

<div class="topic-metadata">

**Author:** [@Craig](https://discourse.processing.org/u/Craig)\
**Replies:** 2\
**Last updated:** [August 22, 2026, 5:40pm UTC](https://discourse.processing.org/t/serial-ports-disappear-after-years-of-working-reliably/49236 "2026-08-22T17:40:25Z")

</div>

I have several projects that have been using the Serial library reliably for years. Recently, on all of my computers (using Macintoshes) the /dev/cu.usbserial-XXXX port has disappeared. The Bluetooth ports are still ther…

---

## [Drawing 2D GUI over a 3D sketch](https://discourse.processing.org/t/drawing-2d-gui-over-a-3d-sketch/22819)

<div class="topic-metadata">

**Author:** [@Shwaa](https://discourse.processing.org/u/Shwaa)\
**Replies:** 3\
**Last updated:** [August 18, 2026, 1:49am UTC](https://discourse.processing.org/t/drawing-2d-gui-over-a-3d-sketch/22819 "2026-08-18T01:49:38Z")

</div>

I’m making a 3D game, and a problem I ran into was drawing a 2D GUI over top of the main 3D sketch. The solution I found is pretty simple, but it works really well: //IMPORTANT: make sure to use textMode(SHAPE) befor…

---

## [Modifying the Processing Editor Appearance](https://discourse.processing.org/t/modifying-the-processing-editor-appearance/49174)

<div class="topic-metadata">

**Author:** [@glv](https://discourse.processing.org/u/glv)\
**Replies:** 0\
**Last updated:** [August 16, 2026, 7:12pm UTC](https://discourse.processing.org/t/modifying-the-processing-editor-appearance/49174 "2026-08-16T19:12:14Z")

</div>

Hello folks! How can I modify the font size of the line numbers in Processing? It does not scale along with the code font size. VS Code on left and Processing 4.5.6 on right: Solution editor.gutter.text.font=proc…

---

## [How to 3D flow field?](https://discourse.processing.org/t/how-to-3d-flow-field/49135)

<div class="topic-metadata">

**Author:** [@alecz](https://discourse.processing.org/u/alecz)\
**Replies:** 2\
**Last updated:** [August 11, 2026, 8:17pm UTC](https://discourse.processing.org/t/how-to-3d-flow-field/49135 "2026-08-11T20:17:44Z")

</div>

Hi all, I’m playing around with Dan Shiffmann Perlin noise flow field with Processing 4 and I wondered how to upgrade his example to use it to move particles in a 3D flow field. Currently my code is : import peasy.\*; …

---

## [Generating txt.file in real time](https://discourse.processing.org/t/generating-txt-file-in-real-time/49116)

<div class="topic-metadata">

**Author:** [@stephan](https://discourse.processing.org/u/stephan)\
**Replies:** 3\
**Last updated:** [August 6, 2026, 12:48am UTC](https://discourse.processing.org/t/generating-txt-file-in-real-time/49116 "2026-08-06T00:48:20Z")

</div>

Hi Forum, greetings from Holland. I want to check all random HSB-values the Mac Book is generating for me in Processing 3.5.4. So I inserted the next lines: // - - - - - - - - - - - - - - - - - - - - - - - - - - - - -…

---

## [Notes on the P2D renderer, dynamic full screen, and recording with OBS](https://discourse.processing.org/t/notes-on-the-p2d-renderer-dynamic-full-screen-and-recording-with-obs/49094)

<div class="topic-metadata">

**Author:** [@BarneyCodes](https://discourse.processing.org/u/BarneyCodes)\
**Replies:** 0\
**Last updated:** [August 3, 2026, 1:42am UTC](https://discourse.processing.org/t/notes-on-the-p2d-renderer-dynamic-full-screen-and-recording-with-obs/49094 "2026-08-03T01:42:12Z")

</div>

I’m making my second Steam game which uses Processing to handle all the window creation and graphics side of things (specifically the P2D renderer which allows me to use shaders for some fun effects). Modern games are e…

---

## [Processing in the browser : one day?](https://discourse.processing.org/t/processing-in-the-browser-one-day/47665)

<div class="topic-metadata">

**Author:** [@EricRogerGarcia](https://discourse.processing.org/u/EricRogerGarcia)\
**Replies:** 17\
**Last updated:** [July 31, 2026, 9:19am UTC](https://discourse.processing.org/t/processing-in-the-browser-one-day/47665 "2026-07-31T09:19:20Z")

</div>

Hello :christmas\_tree: , Today, it is possible to run a Java program in a browser through systems like TeaVM (or others), but this requires mastering somewhat complex things like Maven or Graven. Will there be an expor…

---

## [Looking for feedback: Experimental Gradle plugin for Processing libraries](https://discourse.processing.org/t/looking-for-feedback-experimental-gradle-plugin-for-processing-libraries/49041)

<div class="topic-metadata">

**Author:** [@Stephcraft](https://discourse.processing.org/u/Stephcraft)\
**Replies:** 1\
**Last updated:** [July 29, 2026, 7:59am UTC](https://discourse.processing.org/t/looking-for-feedback-experimental-gradle-plugin-for-processing-libraries/49041 "2026-07-29T07:59:42Z")

</div>

Hello everyone :waving\_hand: I’ve been working on an experimental Gradle plugin to simplify developing and distributing Processing libraries, and I’d like to get feedback from library authors and anyone interested in bu…

---

## [fullScreen(P3D) not fullscreening on Windows](https://discourse.processing.org/t/fullscreen-p3d-not-fullscreening-on-windows/49065)

<div class="topic-metadata">

**Author:** [@cjkcjk](https://discourse.processing.org/u/cjkcjk)\
**Replies:** 2\
**Last updated:** [July 28, 2026, 4:53pm UTC](https://discourse.processing.org/t/fullscreen-p3d-not-fullscreening-on-windows/49065 "2026-07-28T16:53:28Z")

</div>

Any help or advice on this is welcomed. When I use fullScreen(P2D) or fullScreen(P3D) I do not get a full screen, rather I get a window in the top left with the same aspect ratio as the screen. If I use fullScreen() then…

---

## [Anyone interested in a Thumbnailer plugin for IntelliJ Idea?](https://discourse.processing.org/t/anyone-interested-in-a-thumbnailer-plugin-for-intellij-idea/49042)

<div class="topic-metadata">

**Author:** [@hamoid](https://discourse.processing.org/u/hamoid)\
**Replies:** 0\
**Last updated:** [July 24, 2026, 8:26am UTC](https://discourse.processing.org/t/anyone-interested-in-a-thumbnailer-plugin-for-intellij-idea/49042 "2026-07-24T08:26:31Z")

</div>

Hello :slight\_smile: For five years now I’ve been using a plugin that displays thumbnails of my own programs in IntelliJ Idea. The current version works with OPENRNDR, a Kotlin based creative coding framework. It helps …

---

## [Have you worked with the oshi library](https://discourse.processing.org/t/have-you-worked-with-the-oshi-library/49007)

<div class="topic-metadata">

**Author:** [@huchavacia](https://discourse.processing.org/u/huchavacia)\
**Replies:** 5\
**Last updated:** [July 21, 2026, 12:14am UTC](https://discourse.processing.org/t/have-you-worked-with-the-oshi-library/49007 "2026-07-21T00:14:26Z")

</div>

Has anybody worked with the oshi library? Regards huchavacia

---

## [I cannot use variable name "to" anymore](https://discourse.processing.org/t/i-cannot-use-variable-name-to-anymore/48989)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 4\
**Last updated:** [July 14, 2026, 11:33am UTC](https://discourse.processing.org/t/i-cannot-use-variable-name-to-anymore/48989 "2026-07-14T11:33:21Z")

</div>

Hello all I cannot use variable name “to” anymore Is it maybe a conflicting library? Thanks!

---

## [Cannot get Processing 4.5.5 to run under Linux Mint](https://discourse.processing.org/t/cannot-get-processing-4-5-5-to-run-under-linux-mint/48986)

<div class="topic-metadata">

**Author:** [@Missor](https://discourse.processing.org/u/Missor)\
**Replies:** 3\
**Last updated:** [July 11, 2026, 5:20pm UTC](https://discourse.processing.org/t/cannot-get-processing-4-5-5-to-run-under-linux-mint/48986 "2026-07-11T17:20:58Z")

</div>

Here are the error messages Exception in thread “Thread-27” java.lang.RuntimeException: Exception while attempting /opt/processing/lib/app/resources/jdk/bin/java -agentlib:jdwp=transport=dt\_socket,address=8695,server=y,…

---

## [Subtracting a curveVertex() hole from a blob](https://discourse.processing.org/t/subtracting-a-curvevertex-hole-from-a-blob/48949)

<div class="topic-metadata">

**Author:** [@tareksobh](https://discourse.processing.org/u/tareksobh)\
**Replies:** 5\
**Last updated:** [July 5, 2026, 6:11pm UTC](https://discourse.processing.org/t/subtracting-a-curvevertex-hole-from-a-blob/48949 "2026-07-05T18:11:51Z")

</div>

Hello everyone! I’m trying to make a donut-like shape in Processing using curveVertex(). The outer shape is a blob, and I want to subtract a smaller blob from the middle to create a hole. It works reliably with vertex() …

---

## [Performance issues with PGraphics layers and image() calls](https://discourse.processing.org/t/performance-issues-with-pgraphics-layers-and-image-calls/48929)

<div class="topic-metadata">

**Author:** [@Braunstein](https://discourse.processing.org/u/Braunstein)\
**Replies:** 7\
**Last updated:** [July 3, 2026, 4:21pm UTC](https://discourse.processing.org/t/performance-issues-with-pgraphics-layers-and-image-calls/48929 "2026-07-03T16:21:34Z")

</div>

Hello! I am working on a Falling Sand + Artillery game. TL;DR: Why is stretching images over a higher resolution significantly more expensive, even if the original image res stays the same? Is there a smart way to render…

---

## [Contribution Manager won't connect](https://discourse.processing.org/t/contribution-manager-wont-connect/48682)

<div class="topic-metadata">

**Author:** [@SkylinePulse](https://discourse.processing.org/u/SkylinePulse)\
**Replies:** 3\
**Last updated:** [June 28, 2026, 1:20pm UTC](https://discourse.processing.org/t/contribution-manager-wont-connect/48682 "2026-06-28T13:20:47Z")

</div>

Hi, I have installed Processing 4.5.2 on OSX 15.7.3, but I can’t get the Contribution Manager to query any libraries. Modes, Tools, Examples and Updates are all blank too. It looks like it cannot connect to the interne…

[Next page](https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=1)
