# Processing

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

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

**Page:** 5

---

## [I am attempting a serial communication with my Arduino](https://discourse.processing.org/t/i-am-attempting-a-serial-communication-with-my-arduino/47521)

<div class="topic-metadata">

**Author:** [@electron59](https://discourse.processing.org/u/electron59)\
**Replies:** 3\
**Last updated:** [November 11, 2025, 12:28pm UTC](https://discourse.processing.org/t/i-am-attempting-a-serial-communication-with-my-arduino/47521 "2025-11-11T12:28:31Z")

</div>

I am getting an error stating the class “string” does not exist and in same block variable “port” and variable “ lastTime” does not exist . I believe it is something to do with a serial port list for the Arduino is not …

---

## [Off screen display windows placement when using P3D or P2D](https://discourse.processing.org/t/off-screen-display-windows-placement-when-using-p3d-or-p2d/47405)

<div class="topic-metadata">

**Author:** [@dkemp](https://discourse.processing.org/u/dkemp)\
**Replies:** 8\
**Last updated:** [November 10, 2025, 10:21pm UTC](https://discourse.processing.org/t/off-screen-display-windows-placement-when-using-p3d-or-p2d/47405 "2025-11-10T22:21:48Z")

</div>

When using P2D or P3d my display window appears partially off-screen in the upper left – this even happens when using fullscreen or present mode, which do not actually fill the whole screen anymore. I have a feeling this…

---

## [Displaying very special characters such as ░ ▓ ├ ≡ Σ](https://discourse.processing.org/t/displaying-very-special-characters-such-as/47103)

<div class="topic-metadata">

**Author:** [@pleek](https://discourse.processing.org/u/pleek)\
**Replies:** 3\
**Last updated:** [November 5, 2025, 4:01pm UTC](https://discourse.processing.org/t/displaying-very-special-characters-such-as/47103 "2025-11-05T16:01:47Z")

</div>

Hello everybody..!! I’m coding a visualiser for composing graphics on receipt tickets. For this, I’m trying to text(“░ ▓ ├ ≡ Σ ►\_-:spade\_suit:”), but it’s not working, I get the little squareWithACross for most of th…

---

## [Processing can find the data folder in Windows 11 but not in Linux or Mac](https://discourse.processing.org/t/processing-can-find-the-data-folder-in-windows-11-but-not-in-linux-or-mac/47472)

<div class="topic-metadata">

**Author:** [@ffernandaffranco](https://discourse.processing.org/u/ffernandaffranco)\
**Replies:** 31\
**Last updated:** [November 5, 2025, 2:45pm UTC](https://discourse.processing.org/t/processing-can-find-the-data-folder-in-windows-11-but-not-in-linux-or-mac/47472 "2025-11-05T14:45:45Z")

</div>

Hello! I am working on a project for a class in Processing and Java. It is a game, and for this game I need to load multiple images, a video, and a font. It works correctly in Windows 11. The problem arises when I try t…

---

## [Beginner Java Developer Interested in Contributing to Processing4](https://discourse.processing.org/t/beginner-java-developer-interested-in-contributing-to-processing4/47477)

<div class="topic-metadata">

**Author:** [@vanshika\_malh12](https://discourse.processing.org/u/vanshika_malh12)\
**Replies:** 0\
**Last updated:** [November 3, 2025, 6:10pm UTC](https://discourse.processing.org/t/beginner-java-developer-interested-in-contributing-to-processing4/47477 "2025-11-03T18:10:00Z")

</div>

Hi everyone! :waving\_hand: I’m Vanshika, a college student and Java backend developer. I’m interested in contributing to Processing4 and learning how to get started with open-source development. I’ve looked through the…

---

## [Error: The package “javax.xml.bind” does not exist. You might be missing a library](https://discourse.processing.org/t/error-the-package-javax-xml-bind-does-not-exist-you-might-be-missing-a-library/47360)

<div class="topic-metadata">

**Author:** [@Bua](https://discourse.processing.org/u/Bua)\
**Replies:** 9\
**Last updated:** [October 27, 2025, 4:36pm UTC](https://discourse.processing.org/t/error-the-package-javax-xml-bind-does-not-exist-you-might-be-missing-a-library/47360 "2025-10-27T16:36:10Z")

</div>

Hi, this is an example to connect an Arduino-BLE33 Nano to www.teachablemachine.withgoogle.com and called TM\_Collector. I want to transfer Image-data with the virtuell COM to the processing TM\_Connector application... Th…

---

## [Remove all items from G4P Droplist](https://discourse.processing.org/t/remove-all-items-from-g4p-droplist/44306)

<div class="topic-metadata">

**Author:** [@Thundercat](https://discourse.processing.org/u/Thundercat)\
**Replies:** 5\
**Last updated:** [October 27, 2025, 6:47am UTC](https://discourse.processing.org/t/remove-all-items-from-g4p-droplist/44306 "2025-10-27T06:47:40Z")

</div>

Hi, I’m trying to dynamically empty a drop list on certain conditions. I notice there is no “length” property for the droplist. I don’t know how many items I will have, so when I try to use the “removeItem” method, it d…

---

## [Library documentation for "missing" libraries](https://discourse.processing.org/t/library-documentation-for-missing-libraries/47442)

<div class="topic-metadata">

**Author:** [@sterretje](https://discourse.processing.org/u/sterretje)\
**Replies:** 5\
**Last updated:** [October 26, 2025, 5:56am UTC](https://discourse.processing.org/t/library-documentation-for-missing-libraries/47442 "2025-10-26T05:56:52Z")

</div>

I’ve helped a few people in the past. One of the topics used import processing.video.\*;. I can not remember that I had to install that library specifically (possibly I did use of version of Processing IDE 3.x) but I migh…

---

## ["NullPointerException" when I try to create a MidiBus object from The MidiBus library](https://discourse.processing.org/t/nullpointerexception-when-i-try-to-create-a-midibus-object-from-the-midibus-library/47445)

<div class="topic-metadata">

**Author:** [@JakeFromJakku](https://discourse.processing.org/u/JakeFromJakku)\
**Replies:** 2\
**Last updated:** [October 26, 2025, 12:14am UTC](https://discourse.processing.org/t/nullpointerexception-when-i-try-to-create-a-midibus-object-from-the-midibus-library/47445 "2025-10-26T00:14:18Z")

</div>

Hello, does anyone know how I can open up libraries that I’ve imported so I can investigate why I’m getting a null pointer when I make a new midi bus? I need to get into “The MidiBus” by Severin Smith I’m following the …

---

## [Can I install Processing 4.4.4 on local drive?](https://discourse.processing.org/t/can-i-install-processing-4-4-4-on-local-drive/46917)

<div class="topic-metadata">

**Author:** [@newuser](https://discourse.processing.org/u/newuser)\
**Replies:** 7\
**Last updated:** [October 25, 2025, 9:52pm UTC](https://discourse.processing.org/t/can-i-install-processing-4-4-4-on-local-drive/46917 "2025-10-25T21:52:58Z")

</div>

OS: Windows 11 I previously installed Processing 4.4.4 “Typical” and it was installed on \>\> C:\\Users\\newuser\\OneDrive\\Documentsbut that causes problems with launching when my internet is not working, and also takes abou…

---

## [Decreased quality when coding outside the Processing IDE](https://discourse.processing.org/t/decreased-quality-when-coding-outside-the-processing-ide/40818)

<div class="topic-metadata">

**Author:** [@Grusat](https://discourse.processing.org/u/Grusat)\
**Replies:** 23\
**Last updated:** [October 25, 2025, 8:56pm UTC](https://discourse.processing.org/t/decreased-quality-when-coding-outside-the-processing-ide/40818 "2025-10-25T20:56:59Z")

</div>

After many years with Processing IDE, I missed Intellij IDEA too much so I went back for it but Processing stays on :wink: However, the shapes drawn are way less sharp than in the real PDE, for example, a simple circle …

---

## [Please help, code crashes and I can't figure out why](https://discourse.processing.org/t/please-help-code-crashes-and-i-cant-figure-out-why/47440)

<div class="topic-metadata">

**Author:** [@Hallowed31](https://discourse.processing.org/u/Hallowed31)\
**Replies:** 4\
**Last updated:** [October 25, 2025, 7:17pm UTC](https://discourse.processing.org/t/please-help-code-crashes-and-i-cant-figure-out-why/47440 "2025-10-25T19:17:08Z")

</div>

Hello all. Time is getting thin, as is my ability to troubleshoot errors I do not understand. My code interfaces with an Arduino Uno R4 Wifi and all the Arduino does is send messages over Serial to change the state of m…

---

## [DPI Renderer Scaling Override for JAVA2D](https://discourse.processing.org/t/dpi-renderer-scaling-override-for-java2d/47439)

<div class="topic-metadata">

**Author:** [@glv](https://discourse.processing.org/u/glv)\
**Replies:** 0\
**Last updated:** [October 24, 2025, 6:26pm UTC](https://discourse.processing.org/t/dpi-renderer-scaling-override-for-java2d/47439 "2025-10-24T18:26:13Z")

</div>

Hello folks! Forcing 1:1 Pixel Rendering for Different Renderers in Processing This topic is for OS-level DPI scaling in Windows such as: This sketch demonstrates how to force 1:1 pixel rendering by overriding DPI …

---

## [Support for a planetarium program](https://discourse.processing.org/t/support-for-a-planetarium-program/47398)

<div class="topic-metadata">

**Author:** [@fulldomedia](https://discourse.processing.org/u/fulldomedia)\
**Replies:** 1\
**Last updated:** [October 23, 2025, 3:50pm UTC](https://discourse.processing.org/t/support-for-a-planetarium-program/47398 "2025-10-23T15:50:48Z")

</div>

We need support revising an existing Processing app under Windows 11 for our mobile planetarium. The program explores CO2 emissions in different countries and their development over the decades as an animated data visual…

---

## [Windows UI scaling not respected](https://discourse.processing.org/t/windows-ui-scaling-not-respected/45905)

<div class="topic-metadata">

**Author:** [@esc746](https://discourse.processing.org/u/esc746)\
**Replies:** 4\
**Last updated:** [October 23, 2025, 3:00pm UTC](https://discourse.processing.org/t/windows-ui-scaling-not-respected/45905 "2025-10-23T15:00:19Z")

</div>

When using the default graphics renderer, UI scaling in Windows is respected but not when using FX2D. With any scale higher than 100% the canvas sizes incorrectly. Unfortunately, for the graphics I am teaching, the defa…

---

## [Workaround for Unicode Characters from JAVA2D to P2D](https://discourse.processing.org/t/workaround-for-unicode-characters-from-java2d-to-p2d/47412)

<div class="topic-metadata">

**Author:** [@glv](https://discourse.processing.org/u/glv)\
**Replies:** 0\
**Last updated:** [October 21, 2025, 3:36pm UTC](https://discourse.processing.org/t/workaround-for-unicode-characters-from-java2d-to-p2d/47412 "2025-10-21T15:36:21Z")

</div>

Hello folks! When Windows 10 display scaling is set to 125%, the sketch window rendered with JAVA2D is scaled up, making it appear larger and pixelated. In contrast, the P2D renderer does not scale the window but may h…

---

## [Java Unicode Chars](https://discourse.processing.org/t/java-unicode-chars/34284)

<div class="topic-metadata">

**Author:** [@jcgeo](https://discourse.processing.org/u/jcgeo)\
**Replies:** 5\
**Last updated:** [October 21, 2025, 2:59pm UTC](https://discourse.processing.org/t/java-unicode-chars/34284 "2025-10-21T14:59:20Z")

</div>

Hello, I have a problem with using unicode chars in java in processing. I am trying to display random Katakana chars, which this format: this.value=Character.toString(char(0x30A0 +round(random(0,96)))); print(this.val…

---

## [Video on Raspberry with VLCJvideo library extremely slow](https://discourse.processing.org/t/video-on-raspberry-with-vlcjvideo-library-extremely-slow/47411)

<div class="topic-metadata">

**Author:** [@qualidat](https://discourse.processing.org/u/qualidat)\
**Replies:** 0\
**Last updated:** [October 21, 2025, 2:54pm UTC](https://discourse.processing.org/t/video-on-raspberry-with-vlcjvideo-library-extremely-slow/47411 "2025-10-21T14:54:34Z")

</div>

I want to play a video in MP4 format (H.264 codec) controlled with VLCJVideo. In the Processing environment, it is unreasonably slow and jerky. When I play the same video directly with the VLC player, it runs normally. …

---

## [Serial library not found - Processing 4.4.8](https://discourse.processing.org/t/serial-library-not-found-processing-4-4-8/47302)

<div class="topic-metadata">

**Author:** [@Kittycannon](https://discourse.processing.org/u/Kittycannon)\
**Replies:** 8\
**Last updated:** [October 20, 2025, 2:10pm UTC](https://discourse.processing.org/t/serial-library-not-found-processing-4-4-8/47302 "2025-10-20T14:10:56Z")

</div>

So, where’s the Serial library? I feel like I’m crazy. When I download Processing and then install it, there’s no Serial library available. So I though I had to install it, but it doesn’t appear on the included manager…

---

## [Why P2D not working inside Eclipse when i using the processing.core?](https://discourse.processing.org/t/why-p2d-not-working-inside-eclipse-when-i-using-the-processing-core/45930)

<div class="topic-metadata">

**Author:** [@aiapps](https://discourse.processing.org/u/aiapps)\
**Replies:** 7\
**Last updated:** [October 18, 2025, 8:12pm UTC](https://discourse.processing.org/t/why-p2d-not-working-inside-eclipse-when-i-using-the-processing-core/45930 "2025-10-18T20:12:27Z")

</div>

I just want to use another render in processing, i mean P2D Who is know, hot to fix this trouble in Eclipse? May be i just not imported necessary libs from processing?

---

## [Will there be outline control support? (Control the direction of thickness, in, out, together)](https://discourse.processing.org/t/will-there-be-outline-control-support-control-the-direction-of-thickness-in-out-together/47393)

<div class="topic-metadata">

**Author:** [@aiapps](https://discourse.processing.org/u/aiapps)\
**Replies:** 0\
**Last updated:** [October 18, 2025, 12:57am UTC](https://discourse.processing.org/t/will-there-be-outline-control-support-control-the-direction-of-thickness-in-out-together/47393 "2025-10-18T00:57:28Z")

</div>

There is a lack of stroke control for primitive shapes. It would be nice if we added the stroke direction control, inwards, outwards and in both directions together.

---

## [Report System and Environment Diagnostics at Runtime](https://discourse.processing.org/t/report-system-and-environment-diagnostics-at-runtime/47384)

<div class="topic-metadata">

**Author:** [@glv](https://discourse.processing.org/u/glv)\
**Replies:** 6\
**Last updated:** [October 17, 2025, 6:34pm UTC](https://discourse.processing.org/t/report-system-and-environment-diagnostics-at-runtime/47384 "2025-10-17T18:34:31Z")

</div>

Hello folks! A Processing sketch that reports detailed system and environment diagnostics at runtime. Designed to solve real-world project issues, this sketch blends system diagnostics with AI-assisted development (Cha…

---

## [Help with animating circles](https://discourse.processing.org/t/help-with-animating-circles/47346)

<div class="topic-metadata">

**Author:** [@AVREDDY](https://discourse.processing.org/u/AVREDDY)\
**Replies:** 2\
**Last updated:** [October 16, 2025, 8:42pm UTC](https://discourse.processing.org/t/help-with-animating-circles/47346 "2025-10-16T20:42:57Z")

</div>

Hello. I am coming back to processing after so long. I am trying to make an animation based on circles interlocking to create patterns. How can I make this code more effective? I also want to slow down the frame rate. i…

---

## [What does this error message mean?](https://discourse.processing.org/t/what-does-this-error-message-mean/47370)

<div class="topic-metadata">

**Author:** [@WillyGrz](https://discourse.processing.org/u/WillyGrz)\
**Replies:** 3\
**Last updated:** [October 15, 2025, 6:25pm UTC](https://discourse.processing.org/t/what-does-this-error-message-mean/47370 "2025-10-15T18:25:17Z")

</div>

\< if (projXmove \>= (displayWidth/75)/sqrt(1+(projSlope)(projSlope))) { projXmove = (displayWidth/75)/sqrt(1+(projSlope)(projSlope)); } When I try to run this within my program I get the error message “The operator +…

---

## [Keypressed Function Stuck On](https://discourse.processing.org/t/keypressed-function-stuck-on/47341)

<div class="topic-metadata">

**Author:** [@WillyGrz](https://discourse.processing.org/u/WillyGrz)\
**Replies:** 3\
**Last updated:** [October 13, 2025, 4:51pm UTC](https://discourse.processing.org/t/keypressed-function-stuck-on/47341 "2025-10-13T16:51:27Z")

</div>

\< float playerX=width/2; float playerY=height/2; float playerSpeedXPositive = 0; float playerSpeedXNegative = 0; float playerSpeedYPositive = 0; float playerSpeedYNegative = 0; final int \_keyD = 40; final int \_ke…

---

## [Error with Serial library](https://discourse.processing.org/t/error-with-serial-library/47333)

<div class="topic-metadata">

**Author:** [@unkient](https://discourse.processing.org/u/unkient)\
**Replies:** 3\
**Last updated:** [October 13, 2025, 3:05pm UTC](https://discourse.processing.org/t/error-with-serial-library/47333 "2025-10-13T15:05:17Z")

</div>

Hello, friends! I’ve got an error on my computer. When i’m trying to import serial library with this code: “import processing.serial.\*;” processing gives me an error “The package “processing.serial” does not exist. You…

---

## [VideoExport: movie duration not matching up with mp3](https://discourse.processing.org/t/videoexport-movie-duration-not-matching-up-with-mp3/17259)

<div class="topic-metadata">

**Author:** [@bcoley](https://discourse.processing.org/u/bcoley)\
**Replies:** 9\
**Last updated:** [October 11, 2025, 4:19pm UTC](https://discourse.processing.org/t/videoexport-movie-duration-not-matching-up-with-mp3/17259 "2025-10-11T16:19:20Z")

</div>

I was using VideoExport and wanting to make a music video of sorts from an mp3 file. Everything would seem to mostly work, I start playing the mp3 and call startMovie(), except when I closed the movie, the movie would …

---

## [Movie Maker: Time gap between movie and its audio file](https://discourse.processing.org/t/movie-maker-time-gap-between-movie-and-its-audio-file/46748)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 4\
**Last updated:** [October 11, 2025, 1:23am UTC](https://discourse.processing.org/t/movie-maker-time-gap-between-movie-and-its-audio-file/46748 "2025-10-11T01:23:49Z")

</div>

Hello all, I am using Movie Maker with saveFrame(“frames/####.png”); and inside Movie Maker also an Audio file. I use the Audio file also in the Sketch. I have a huge gap / offset between movie and Audio file. I wou…

---

## [The method getImage() from the type PImage is deprecated](https://discourse.processing.org/t/the-method-getimage-from-the-type-pimage-is-deprecated/47297)

<div class="topic-metadata">

**Author:** [@bonner45](https://discourse.processing.org/u/bonner45)\
**Replies:** 1\
**Last updated:** [October 8, 2025, 4:27pm UTC](https://discourse.processing.org/t/the-method-getimage-from-the-type-pimage-is-deprecated/47297 "2025-10-08T16:27:14Z")

</div>

void settingsUI() { frameSettings = new JFrame("Settings"); frameSettings.setSize(500, 300); frameSettings.setDefaultCloseOperation(JFrame.DISPOSE\_ON\_CLOSE); frameSettings.setResizable(false); frameSettings.set…

---

## [Check if file exists or not](https://discourse.processing.org/t/check-if-file-exists-or-not/39317)

<div class="topic-metadata">

**Author:** [@jensemand](https://discourse.processing.org/u/jensemand)\
**Replies:** 7\
**Last updated:** [October 6, 2025, 2:42pm UTC](https://discourse.processing.org/t/check-if-file-exists-or-not/39317 "2025-10-06T14:42:59Z")

</div>

As the title says, I want to check whether a file exists. I am not trying to look at the data folder because I think you just have to use dataFile(). At the moment I just have to see if a specific file is in the sketch …

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

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