# Processing

**URL:** https://discourse.processing.org/c/processing/6.md?page=5

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

**Page:** 6

---

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

---

## [Why color? 0x00000000 Doesn't give a transparent color?](https://discourse.processing.org/t/why-color-0x00000000-doesnt-give-a-transparent-color/47221)

<div class="topic-metadata">

**Author:** [@aiapps](https://discourse.processing.org/u/aiapps)\
**Replies:** 11\
**Last updated:** [October 6, 2025, 2:14pm UTC](https://discourse.processing.org/t/why-color-0x00000000-doesnt-give-a-transparent-color/47221 "2025-10-06T14:14:41Z")

</div>

When I do: stroke(0x00000000); This does not give a transparent color. (Yes, I know I can write 0,0) The question is more about the consistency of API processing, since in many cases the processing itself transforms …

---

## [Compose Multiplatform example project?](https://discourse.processing.org/t/compose-multiplatform-example-project/47287)

<div class="topic-metadata">

**Author:** [@ADev](https://discourse.processing.org/u/ADev)\
**Replies:** 1\
**Last updated:** [October 6, 2025, 9:38am UTC](https://discourse.processing.org/t/compose-multiplatform-example-project/47287 "2025-10-06T09:38:51Z")

</div>

I’d like to create a new Processing project using Compose Multiplatform. Is there an example project or a starter project that would show me how to get started on one?

---

## [I have asked a lot of people but no one knows this effect](https://discourse.processing.org/t/i-have-asked-a-lot-of-people-but-no-one-knows-this-effect/45361)

<div class="topic-metadata">

**Author:** [@Dalol](https://discourse.processing.org/u/Dalol)\
**Replies:** 12\
**Last updated:** [October 4, 2025, 11:57pm UTC](https://discourse.processing.org/t/i-have-asked-a-lot-of-people-but-no-one-knows-this-effect/45361 "2025-10-04T23:57:06Z")

</div>

https://www.instagram.com/p/CMxUWEBhmEY/?utm\_source=ig\_web\_copy\_link&igsh=MzRlODBiNWFlZA== Do you know how to make this effect? I have asked a lot of people but no one knows… So far people said it maybe sin waves, n…

---

## [Google Maps Will Not Accept My .csv File](https://discourse.processing.org/t/google-maps-will-not-accept-my-csv-file/47237)

<div class="topic-metadata">

**Author:** [@fredstout](https://discourse.processing.org/u/fredstout)\
**Replies:** 5\
**Last updated:** [October 1, 2025, 1:41pm UTC](https://discourse.processing.org/t/google-maps-will-not-accept-my-csv-file/47237 "2025-10-01T13:41:44Z")

</div>

Google Maps expects a .csv file containing data to place on a map. My test file has 5 rows and 5 columns. The first row is a header with column names. My file ends with the usual null characters. It failed to load. I add…

---

## [Will the code be organized as this is done in Arduino IDE? VS Code extension](https://discourse.processing.org/t/will-the-code-be-organized-as-this-is-done-in-arduino-ide-vs-code-extension/47135)

<div class="topic-metadata">

**Author:** [@Aigars](https://discourse.processing.org/u/Aigars)\
**Replies:** 53\
**Last updated:** [September 30, 2025, 9:07pm UTC](https://discourse.processing.org/t/will-the-code-be-organized-as-this-is-done-in-arduino-ide-vs-code-extension/47135 "2025-09-30T21:07:59Z")

</div>

Excellent development environment. If you add the “Code folding” function, it will be much easier not only for beginners but also advanced users. Instead, I found outdated videos as a Proсessing compiler to connect to Vi…

---

## [Create PDF runtime error with v4.4.7](https://discourse.processing.org/t/create-pdf-runtime-error-with-v4-4-7/47174)

<div class="topic-metadata">

**Author:** [@Geoffree3](https://discourse.processing.org/u/Geoffree3)\
**Replies:** 8\
**Last updated:** [September 30, 2025, 11:10am UTC](https://discourse.processing.org/t/create-pdf-runtime-error-with-v4-4-7/47174 "2025-09-30T11:10:50Z")

</div>

Creating a pdf of drawing to the screen with beginRecord(PDF, fileName) now gives and error: “java.lang.RuntimeException: Use createFont() instead of loadFont() when drawing text using the PDF library” My code uses cre…

---

## [Background image size error - Apple Silicon?](https://discourse.processing.org/t/background-image-size-error-apple-silicon/47252)

<div class="topic-metadata">

**Author:** [@AaronQ](https://discourse.processing.org/u/AaronQ)\
**Replies:** 2\
**Last updated:** [September 29, 2025, 9:25pm UTC](https://discourse.processing.org/t/background-image-size-error-apple-silicon/47252 "2025-09-29T21:25:08Z")

</div>

Hello. I have recently installed Processing4.4.7 on MacOS15.6.1 running Apple Silicon. I have used other versions of Processing on Mac Intel before. I have confirmed the code below works successfully on Processing4.4.…

---

## [Multiple Background processes accumulate with VS Code](https://discourse.processing.org/t/multiple-background-processes-accumulate-with-vs-code/47234)

<div class="topic-metadata">

**Author:** [@glv](https://discourse.processing.org/u/glv)\
**Replies:** 0\
**Last updated:** [September 26, 2025, 6:28pm UTC](https://discourse.processing.org/t/multiple-background-processes-accumulate-with-vs-code/47234 "2025-09-26T18:28:48Z")

</div>

Hello @stefterv, A new Processing task remains in my Background processes after running VS Code with the Processing VS Code Extension. Steps to reproduce: Open VS Code The last Processing sketch opens. Assumed that …

---

## [Read/write data on a remote server](https://discourse.processing.org/t/read-write-data-on-a-remote-server/47179)

<div class="topic-metadata">

**Author:** [@EricRogerGarcia](https://discourse.processing.org/u/EricRogerGarcia)\
**Replies:** 5\
**Last updated:** [September 27, 2025, 5:56pm UTC](https://discourse.processing.org/t/read-write-data-on-a-remote-server/47179 "2025-09-27T17:56:33Z")

</div>

Is it conceivable to use Processing or P5js to read/write data on a remote server? It would be about creating an application to query the data of their account (with the use of a password). What would be the simplest w…

---

## [Processing Editor for BIG Projects](https://discourse.processing.org/t/processing-editor-for-big-projects/30338)

<div class="topic-metadata">

**Author:** [@Flolo](https://discourse.processing.org/u/Flolo)\
**Replies:** 6\
**Last updated:** [May 31, 2021, 7:12am UTC](https://discourse.processing.org/t/processing-editor-for-big-projects/30338 "2021-05-31T07:12:12Z")

</div>

Hey, I’ve been programming with Processing for 2 years and now have a slightly larger project. I need a lot of classes in this project. So that it remains superfluous for me, I need a lot of tabs. The problem with Proces…

---

## [Relatives and global positioning](https://discourse.processing.org/t/relatives-and-global-positioning/47006)

<div class="topic-metadata">

**Author:** [@EricRogerGarcia](https://discourse.processing.org/u/EricRogerGarcia)\
**Replies:** 8\
**Last updated:** [September 26, 2025, 5:56pm UTC](https://discourse.processing.org/t/relatives-and-global-positioning/47006 "2025-09-26T17:56:04Z")

</div>

If we don’t use scaling, it works well but there… it doesn’t work at all… and I really don’t find why. If you know it… thank you VERY much in advance !!! The sketch is here ! Otherwise, Openprocessing indicates an e…

---

## [Serial.list() does not update when connected port is removed](https://discourse.processing.org/t/serial-list-does-not-update-when-connected-port-is-removed/47224)

<div class="topic-metadata">

**Author:** [@bonner45](https://discourse.processing.org/u/bonner45)\
**Replies:** 2\
**Last updated:** [September 26, 2025, 1:38am UTC](https://discourse.processing.org/t/serial-list-does-not-update-when-connected-port-is-removed/47224 "2025-09-26T01:38:22Z")

</div>

It appears that when you connect to a serial port and then remove the cable serial list does not update. here is a test code. import processing.serial.\*; Serial myPort; // Create object from Serial class void setup…

---

## [Export application from VScode extension](https://discourse.processing.org/t/export-application-from-vscode-extension/47216)

<div class="topic-metadata">

**Author:** [@bonner45](https://discourse.processing.org/u/bonner45)\
**Replies:** 6\
**Last updated:** [September 25, 2025, 3:04pm UTC](https://discourse.processing.org/t/export-application-from-vscode-extension/47216 "2025-09-25T15:04:12Z")

</div>

Hi is there a way to export a project application from vscode. the processing plugin is set up and it runs my project fine but it would be nice to be able to export the app from vscode as well. any suggestions would be …

---

## [Code not running](https://discourse.processing.org/t/code-not-running/47217)

<div class="topic-metadata">

**Author:** [@mewmew419](https://discourse.processing.org/u/mewmew419)\
**Replies:** 5\
**Last updated:** [September 24, 2025, 11:01pm UTC](https://discourse.processing.org/t/code-not-running/47217 "2025-09-24T23:01:31Z")

</div>

so i just downloadd processing for school,i am not all too familiar with coding but everytime I click run, its a blank grey square canvas. how to fix this?

---

## [How to handle user input](https://discourse.processing.org/t/how-to-handle-user-input/47163)

<div class="topic-metadata">

**Author:** [@bonner45](https://discourse.processing.org/u/bonner45)\
**Replies:** 10\
**Last updated:** [September 23, 2025, 1:34am UTC](https://discourse.processing.org/t/how-to-handle-user-input/47163 "2025-09-23T01:34:39Z")

</div>

So i was wondering what the simplest way to handle 50 some commands would be. Say a user enters a command in a textfield and the code needs to handle each command separately. Is there something shorter than a if/else or…

---

## [Concerns about use of Snap for linux installations](https://discourse.processing.org/t/concerns-about-use-of-snap-for-linux-installations/47185)

<div class="topic-metadata">

**Author:** [@desk](https://discourse.processing.org/u/desk)\
**Replies:** 7\
**Last updated:** [September 23, 2025, 12:08am UTC](https://discourse.processing.org/t/concerns-about-use-of-snap-for-linux-installations/47185 "2025-09-23T00:08:22Z")

</div>

Hi all, I rarely post here, but I was surprised not to see more pushback on this. The Linux download page now offers Processing only as a Snap. Snap works for some people, and I get why the maintainers like it: one bui…

---

## [Variable and Function Questions](https://discourse.processing.org/t/variable-and-function-questions/29636)

<div class="topic-metadata">

**Author:** [@hklotz13](https://discourse.processing.org/u/hklotz13)\
**Replies:** 6\
**Last updated:** [September 22, 2025, 12:54pm UTC](https://discourse.processing.org/t/variable-and-function-questions/29636 "2025-09-22T12:54:39Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hi there folks. I’m very much a beginner, and I’m currently very lost trying to troubleshoot a project I’m working on for a class. Essentially I…

---

## [Debugging in VSCode](https://discourse.processing.org/t/debugging-in-vscode/47178)

<div class="topic-metadata">

**Author:** [@BurmeseJoe323](https://discourse.processing.org/u/BurmeseJoe323)\
**Replies:** 1\
**Last updated:** [September 20, 2025, 5:41am UTC](https://discourse.processing.org/t/debugging-in-vscode/47178 "2025-09-20T05:41:08Z")

</div>

Are there any plans to add debugging capabilities to the official VSCode extension? Is there any way to do that currently? I have not been very successful in debugging with the PDE, and I would prefer to use VSCode anywa…

---

## [Command Line Interface for Processing 4.4.1 with VS Code](https://discourse.processing.org/t/command-line-interface-for-processing-4-4-1-with-vs-code/46391)

<div class="topic-metadata">

**Author:** [@MSousa](https://discourse.processing.org/u/MSousa)\
**Replies:** 17\
**Last updated:** [September 18, 2025, 7:08am UTC](https://discourse.processing.org/t/command-line-interface-for-processing-4-4-1-with-vs-code/46391 "2025-09-18T07:08:01Z")

</div>

I am trying to run Processing in VSCode. It is looking for the processing-java CLI. I cannot find it anywhere. I have seen it in very old version of Processing. Is it not part of the installation?

---

## [Can you stop the windows key from popping the windows menu up?](https://discourse.processing.org/t/can-you-stop-the-windows-key-from-popping-the-windows-menu-up/47124)

<div class="topic-metadata">

**Author:** [@WillyGrz](https://discourse.processing.org/u/WillyGrz)\
**Replies:** 3\
**Last updated:** [September 16, 2025, 9:34pm UTC](https://discourse.processing.org/t/can-you-stop-the-windows-key-from-popping-the-windows-menu-up/47124 "2025-09-16T21:34:29Z")

</div>

I’ve seen people post things about overriding keys to when they press one, it ‘presses’ or functions as another, but this seems to be only in the program itself. Would there be any other way to stop the windows key (obvi…

---

## [Can someone post the code for the text() function with 5 params here please?](https://discourse.processing.org/t/can-someone-post-the-code-for-the-text-function-with-5-params-here-please/47144)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 3\
**Last updated:** [September 16, 2025, 5:15pm UTC](https://discourse.processing.org/t/can-someone-post-the-code-for-the-text-function-with-5-params-here-please/47144 "2025-09-16T17:15:38Z")

</div>

Hello all, Can someone post the JAVA SOURCE code for the text() function with 5 params here please? I need to modify it for my purpose. For example I have a list of buttons (rectangles) and within each botton is a tex…

---

## [How to override escape key closing the game](https://discourse.processing.org/t/how-to-override-escape-key-closing-the-game/47123)

<div class="topic-metadata">

**Author:** [@WillyGrz](https://discourse.processing.org/u/WillyGrz)\
**Replies:** 7\
**Last updated:** [September 15, 2025, 12:56am UTC](https://discourse.processing.org/t/how-to-override-escape-key-closing-the-game/47123 "2025-09-15T00:56:17Z")

</div>

\<void keyPressed() { if (key == ESC) { key = 0; } }\> The only code I’ve found to do it is from 2018 and doesn’t seem to be working in my current application, I still use Processing 4. Are there any other ways to kin…

---

## [Mouse pointer size](https://discourse.processing.org/t/mouse-pointer-size/47128)

<div class="topic-metadata">

**Author:** [@Barrowman](https://discourse.processing.org/u/Barrowman)\
**Replies:** 6\
**Last updated:** [September 12, 2025, 8:22pm UTC](https://discourse.processing.org/t/mouse-pointer-size/47128 "2025-09-12T20:22:13Z")

</div>

How do I increase the mouse pointer size in the editor?

---

## [Proposal for a shared folder for certain tabs](https://discourse.processing.org/t/proposal-for-a-shared-folder-for-certain-tabs/47089)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 5\
**Last updated:** [September 11, 2025, 7:32pm UTC](https://discourse.processing.org/t/proposal-for-a-shared-folder-for-certain-tabs/47089 "2025-09-11T19:32:33Z")

</div>

Hello all! I have a proposal for the IDE (or for a Tool?). Often I have different Sketches that use the same Helper Class, like a Button class, a PVector Tools class, a Menu Class, a Table Tools class… these are stored…

---

## [Is it possible to make a sketch template?](https://discourse.processing.org/t/is-it-possible-to-make-a-sketch-template/33830)

<div class="topic-metadata">

**Author:** [@CaseyJ](https://discourse.processing.org/u/CaseyJ)\
**Replies:** 3\
**Last updated:** [September 11, 2025, 7:34pm UTC](https://discourse.processing.org/t/is-it-possible-to-make-a-sketch-template/33830 "2025-09-11T19:34:22Z")

</div>

I am curious if there is a way to make a template for new sketches so that when you open Processing 3 from start it has a bunch of text pre-loaded instead of being blank? I was able to do this in Arduino via the instruc…

[Previous page](https://discourse.processing.org/c/processing/6.md?page=4)

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