# Processing

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

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

**Page:** 9

---

## [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…

---

## [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 …

---

## [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 …

---

## [High school programming project, (COMPLETE BEGINNER)](https://discourse.processing.org/t/high-school-programming-project-complete-beginner/46500)

<div class="topic-metadata">

**Author:** [@dinomaster123](https://discourse.processing.org/u/dinomaster123)\
**Replies:** 5\
**Last updated:** [June 23, 2025, 2:03pm UTC](https://discourse.processing.org/t/high-school-programming-project-complete-beginner/46500 "2025-06-23T14:03:25Z")

</div>

Hello my name is Max, and I am a complete beginner in processing,but am starting to enjoy coding and reading interesting / exciting new codes ! In my code i have an enum,(which i dont know what it means) a Lambda methode…

---

## [Manually import Java library, JDSP, and cannot use JDSP built-in functions](https://discourse.processing.org/t/manually-import-java-library-jdsp-and-cannot-use-jdsp-built-in-functions/46585)

<div class="topic-metadata">

**Author:** [@jodoro](https://discourse.processing.org/u/jodoro)\
**Replies:** 10\
**Last updated:** [June 22, 2025, 7:03pm UTC](https://discourse.processing.org/t/manually-import-java-library-jdsp-and-cannot-use-jdsp-built-in-functions/46585 "2025-06-22T19:03:03Z")

</div>

The purpose of this code is to test whether the jdsp function can be called. I manually added the third-party library jdsp according to the method provided by the official. How to Install a Contributed Library · proces…

---

## [AI and Processing](https://discourse.processing.org/t/ai-and-processing/46571)

<div class="topic-metadata">

**Author:** [@jeffmarc](https://discourse.processing.org/u/jeffmarc)\
**Replies:** 1\
**Last updated:** [June 19, 2025, 6:39pm UTC](https://discourse.processing.org/t/ai-and-processing/46571 "2025-06-19T18:39:22Z")

</div>

I want to use AI in Processing , has anyone done this? I want AI to rank a set of images for uniform appearance. I tested this online with Claude and it worked ! Now I want o integrate it into my Processing program th…

---

## [How can I get video capture from a virtual webcam?](https://discourse.processing.org/t/how-can-i-get-video-capture-from-a-virtual-webcam/1650)

<div class="topic-metadata">

**Author:** [@Birb](https://discourse.processing.org/u/Birb)\
**Replies:** 9\
**Last updated:** [June 11, 2025, 5:41pm UTC](https://discourse.processing.org/t/how-can-i-get-video-capture-from-a-virtual-webcam/1650 "2025-06-11T17:41:44Z")

</div>

I want to use the processing video library (or another library) to receive a video stream of my OBS virtualcam. However printArray(Capture.list()); only returns the physical webcam, and not the video stream I need create…

---

## [Got stuck for 4 days on a tiny Serial bug](https://discourse.processing.org/t/got-stuck-for-4-days-on-a-tiny-serial-bug/46555)

<div class="topic-metadata">

**Author:** [@sterretje](https://discourse.processing.org/u/sterretje)\
**Replies:** 5\
**Last updated:** [June 17, 2025, 4:54am UTC](https://discourse.processing.org/t/got-stuck-for-4-days-on-a-tiny-serial-bug/46555 "2025-06-17T04:54:27Z")

</div>

I’ve spent 4 days trying to find a bug in a piece of code :frowning: It eventually boiled down to the below (incorrect) line \_myPort = new Serial(\_parent, \_port, 115200, 'N', '8', '1'); And yes, I’ve done serial…

---

## [JavaFX GIF Player Discussion](https://discourse.processing.org/t/javafx-gif-player-discussion/46547)

<div class="topic-metadata">

**Author:** [@glv](https://discourse.processing.org/u/glv)\
**Replies:** 22\
**Last updated:** [June 17, 2025, 1:46am UTC](https://discourse.processing.org/t/javafx-gif-player-discussion/46547 "2025-06-17T01:46:54Z")

</div>

Hello @svan, This is a discussion of your gallery post: JavaFX GIF Player I do not want to sidetrack Gallery posts, so I thought I would bring this here. Great examples! Could you add a note to your JavaFX posts that…

---

## [Help with smoothly connecting two circles](https://discourse.processing.org/t/help-with-smoothly-connecting-two-circles/46549)

<div class="topic-metadata">

**Author:** [@arkwl](https://discourse.processing.org/u/arkwl)\
**Replies:** 5\
**Last updated:** [June 16, 2025, 10:33pm UTC](https://discourse.processing.org/t/help-with-smoothly-connecting-two-circles/46549 "2025-06-16T22:33:51Z")

</div>

Hello! My goal is to write a function that can organically connect two circles no matter the distance. I originally tried metaballs but found they don’t connect at large distances without increasing the threshold (which …

---

## [Trying to import DJL into Processing](https://discourse.processing.org/t/trying-to-import-djl-into-processing/46526)

<div class="topic-metadata">

**Author:** [@trashcan08](https://discourse.processing.org/u/trashcan08)\
**Replies:** 0\
**Last updated:** [June 11, 2025, 1:54pm UTC](https://discourse.processing.org/t/trying-to-import-djl-into-processing/46526 "2025-06-11T13:54:01Z")

</div>

Hi, I am trying to import the Deep Java Library (https://docs.djl.ai/master/index.html) into processing, to make visualisations of machine learning. However, following the instructions, and building the folder using grad…

---

## [Possible timing issues with OSC](https://discourse.processing.org/t/possible-timing-issues-with-osc/46523)

<div class="topic-metadata">

**Author:** [@dom](https://discourse.processing.org/u/dom)\
**Replies:** 2\
**Last updated:** [June 14, 2025, 2:41pm UTC](https://discourse.processing.org/t/possible-timing-issues-with-osc/46523 "2025-06-14T14:41:36Z")

</div>

I am sending OSC messages from Supercollider to Processing. I want to use the OSC messages to populate two arrays storing x and y coordinates for certain shapes. My idea was to send three messages: an index, an x positio…

---

## [LinkedHashMap missing?](https://discourse.processing.org/t/linkedhashmap-missing/46542)

<div class="topic-metadata">

**Author:** [@esc746](https://discourse.processing.org/u/esc746)\
**Replies:** 4\
**Last updated:** [June 14, 2025, 11:06am UTC](https://discourse.processing.org/t/linkedhashmap-missing/46542 "2025-06-14T11:06:20Z")

</div>

Perhaps this is another case of user error. Even if I “import java.util” I am told by the IDE that “the class LinkedHashMap does not exist”. Why?

---

## [Plot real time values in Viewport](https://discourse.processing.org/t/plot-real-time-values-in-viewport/46536)

<div class="topic-metadata">

**Author:** [@Gert](https://discourse.processing.org/u/Gert)\
**Replies:** 4\
**Last updated:** [June 13, 2025, 5:41pm UTC](https://discourse.processing.org/t/plot-real-time-values-in-viewport/46536 "2025-06-13T17:41:51Z")

</div>

Hello Processing Community, I’m new here so be patient :slight\_smile: I need to plot a real-time graph of values ​​generated by a mathematical function. The graph should appear in a small central area of ​​the main wind…

---

## [Scaling and fullscreen on Windows 11](https://discourse.processing.org/t/scaling-and-fullscreen-on-windows-11/46534)

<div class="topic-metadata">

**Author:** [@wblut](https://discourse.processing.org/u/wblut)\
**Replies:** 10\
**Last updated:** [June 13, 2025, 10:18am UTC](https://discourse.processing.org/t/scaling-and-fullscreen-on-windows-11/46534 "2025-06-13T10:18:40Z")

</div>

I’ve been having problems with Processing 4.4.4 and screen scaling on Windows 11 systems, both laptop and desktop. The only way I have been able to reliably set fullscreen or screen sizes is by setting all my monitors to…

---

## [Resolution of window decreases when increasing scale of screen](https://discourse.processing.org/t/resolution-of-window-decreases-when-increasing-scale-of-screen/46528)

<div class="topic-metadata">

**Author:** [@CascadeFalls](https://discourse.processing.org/u/CascadeFalls)\
**Replies:** 1\
**Last updated:** [June 12, 2025, 1:45am UTC](https://discourse.processing.org/t/resolution-of-window-decreases-when-increasing-scale-of-screen/46528 "2025-06-12T01:45:23Z")

</div>

I’m using a Windows 11 with just regular Processing. Whenever I upscale to the recommended scaling, the resolution of the window displayed by processing decreases significantly. It works if I return the scaling of the…

---

## [Grid of Images PImage error](https://discourse.processing.org/t/grid-of-images-pimage-error/46496)

<div class="topic-metadata">

**Author:** [@nikapm](https://discourse.processing.org/u/nikapm)\
**Replies:** 3\
**Last updated:** [June 8, 2025, 12:44am UTC](https://discourse.processing.org/t/grid-of-images-pimage-error/46496 "2025-06-08T00:44:47Z")

</div>

Hello, I am kind of new to processing and I am building an image grid using 2d array, but I don’t know why I keep getting this error message :"Types mismatch: cannot convert from PImage to Pimage \[\]. I made my research a…

---

## [Wrong Text Rasterization Position on Mac](https://discourse.processing.org/t/wrong-text-rasterization-position-on-mac/46507)

<div class="topic-metadata">

**Author:** [@nurlanpie](https://discourse.processing.org/u/nurlanpie)\
**Replies:** 2\
**Last updated:** [June 6, 2025, 4:51am UTC](https://discourse.processing.org/t/wrong-text-rasterization-position-on-mac/46507 "2025-06-06T04:51:14Z")

</div>

I wrote a sketch that is supposed to rasterize text placed on a PGraphics object and display it centered on the canvas. However, in practice, the rasterized text appears in the bottom right corner instead of the center. …

---

## [Transparent Background/Window with Opaque Objects](https://discourse.processing.org/t/transparent-background-window-with-opaque-objects/46502)

<div class="topic-metadata">

**Author:** [@YellowGTM](https://discourse.processing.org/u/YellowGTM)\
**Replies:** 7\
**Last updated:** [June 5, 2025, 11:37am UTC](https://discourse.processing.org/t/transparent-background-window-with-opaque-objects/46502 "2025-06-05T11:37:30Z")

</div>

Hello Everyone, Long time, no write. I’m attempting to write some code that utilizes a transparent window/background, but need opaque objects to be imposed over the Desktop image. This code works for the transparent …

---

## [Diagonal line loop](https://discourse.processing.org/t/diagonal-line-loop/46459)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 8\
**Last updated:** [May 31, 2025, 6:07am UTC](https://discourse.processing.org/t/diagonal-line-loop/46459 "2025-05-31T06:07:15Z")

</div>

Could someone tell me why I these lines are not straight? void setup() { size(1000,1000); background(255,255,255); } void draw() { for (int i=0; i\<1000; i=i+20) { line(i,0,i+40,1000); } }

---

## [Zagged line of a rectangle created by lines](https://discourse.processing.org/t/zagged-line-of-a-rectangle-created-by-lines/46486)

<div class="topic-metadata">

**Author:** [@Kylle](https://discourse.processing.org/u/Kylle)\
**Replies:** 4\
**Last updated:** [May 30, 2025, 2:16pm UTC](https://discourse.processing.org/t/zagged-line-of-a-rectangle-created-by-lines/46486 "2025-05-30T14:16:08Z")

</div>

Hi I am creating a drawing using lines that make up a piece of art. The problem boils down to the fact that a set of parallel lines that should fill a rectangle does not match the performance or the rect() function. I …

---

## [Saving The Screen As An Image](https://discourse.processing.org/t/saving-the-screen-as-an-image/46484)

<div class="topic-metadata">

**Author:** [@fredstout](https://discourse.processing.org/u/fredstout)\
**Replies:** 2\
**Last updated:** [May 30, 2025, 1:24pm UTC](https://discourse.processing.org/t/saving-the-screen-as-an-image/46484 "2025-05-30T13:24:55Z")

</div>

I want to enable the a person using my application to select an area on the screen. When selected, a window will open with details about what was selected. When finished, the screen area used to show details would be ref…

---

## [What do I need to do to submit my library to Processing? as a "community contribution"](https://discourse.processing.org/t/what-do-i-need-to-do-to-submit-my-library-to-processing-as-a-community-contribution/46480)

<div class="topic-metadata">

**Author:** [@aiapps](https://discourse.processing.org/u/aiapps)\
**Replies:** 1\
**Last updated:** [May 29, 2025, 5:56am UTC](https://discourse.processing.org/t/what-do-i-need-to-do-to-submit-my-library-to-processing-as-a-community-contribution/46480 "2025-05-29T05:56:18Z")

</div>

I’ve been working on a GUI library for a couple of years now and would like to release it to everyone officially as a “Community Contribution”.

---

## [Processing video library isn't loading videos](https://discourse.processing.org/t/processing-video-library-isnt-loading-videos/36308)

<div class="topic-metadata">

**Author:** [@tete40i](https://discourse.processing.org/u/tete40i)\
**Replies:** 1\
**Last updated:** [May 28, 2025, 5:10pm UTC](https://discourse.processing.org/t/processing-video-library-isnt-loading-videos/36308 "2025-05-28T17:10:17Z")

</div>

Hello, I’m using Processing 4.0b7 (also tried with previous versions), and installed its Video Library. I have the following code (Im literally just trying to play a video): import processing.video.\*; Movie vide…

---

## [IDE Font Setting](https://discourse.processing.org/t/ide-font-setting/46473)

<div class="topic-metadata">

**Author:** [@CyberianWolf](https://discourse.processing.org/u/CyberianWolf)\
**Replies:** 1\
**Last updated:** [May 28, 2025, 5:03pm UTC](https://discourse.processing.org/t/ide-font-setting/46473 "2025-05-28T17:03:09Z")

</div>

Request :slight\_smile: “It would be great if the Processing IDE allowed font customization. The default font appears somewhat incomplete.”

---

## [Suppress warnings in console?](https://discourse.processing.org/t/suppress-warnings-in-console/46479)

<div class="topic-metadata">

**Author:** [@esc746](https://discourse.processing.org/u/esc746)\
**Replies:** 0\
**Last updated:** [May 28, 2025, 5:02pm UTC](https://discourse.processing.org/t/suppress-warnings-in-console/46479 "2025-05-28T17:02:33Z")

</div>

The subject line says it all. Is there any way to suppress warnings in the console? Perhaps by intercepting the exception? I know that I can in Python. In my example I am getting spurious errors while playing video. Fun…

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

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