# Latest

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

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

**Page:** 22

---

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

---

## [Legacy video player code built out to 8 clips, plays only first pressed](https://discourse.processing.org/t/legacy-video-player-code-built-out-to-8-clips-plays-only-first-pressed/41715)

<div class="topic-metadata">

**Author:** [@patlichty1](https://discourse.processing.org/u/patlichty1)\
**Replies:** 1\
**Last updated:** [April 16, 2023, 10:19pm UTC](https://discourse.processing.org/t/legacy-video-player-code-built-out-to-8-clips-plays-only-first-pressed/41715 "2023-04-16T22:19:49Z")

</div>

Hi, everyone, I apologize if this has been solved, but this is the legacy video-on-keypress code that the user discussed that another video would not play after selecting the first one. The thing is that the logic seems…

---

## [Sound library Env causes clicks](https://discourse.processing.org/t/sound-library-env-causes-clicks/46183)

<div class="topic-metadata">

**Author:** [@esc746](https://discourse.processing.org/u/esc746)\
**Replies:** 2\
**Last updated:** [May 28, 2025, 3:25pm UTC](https://discourse.processing.org/t/sound-library-env-causes-clicks/46183 "2025-05-28T15:25:54Z")

</div>

Playing a steady-state oscillator using the Sound library works just fine. But attempting to add an envelope (Env) results in distorted clicks as the sound starts and stops. This can be demonstrated using the Libraries \>…

---

## [Processing + GLSL + Video](https://discourse.processing.org/t/processing-glsl-video/45113)

<div class="topic-metadata">

**Author:** [@Morais](https://discourse.processing.org/u/Morais)\
**Replies:** 4\
**Last updated:** [May 27, 2025, 10:15pm UTC](https://discourse.processing.org/t/processing-glsl-video/45113 "2025-05-27T22:15:08Z")

</div>

Hello everyone, Does anyone know where I can find information on applying shaders to video using Processing? I’ve had success using many Shadertoy examples before, except for those that involve video or webcam inputs. W…

---

## [fullScreen(SPAN) in apple silicon Processing version 4.4.1](https://discourse.processing.org/t/fullscreen-span-in-apple-silicon-processing-version-4-4-1/46261)

<div class="topic-metadata">

**Author:** [@hbarragan](https://discourse.processing.org/u/hbarragan)\
**Replies:** 2\
**Last updated:** [May 20, 2025, 4:10pm UTC](https://discourse.processing.org/t/fullscreen-span-in-apple-silicon-processing-version-4-4-1/46261 "2025-05-20T16:10:55Z")

</div>

Hi guys, it seems there is an issue on version 4.4.1 with the fullScreen(SPAN) command, I get the following error, thank you. java.lang.RuntimeException: Exception while attempting defaults read com.apple.spaces spans-d…

---

## [Snap install on Chromebook can't connect to X11 window server](https://discourse.processing.org/t/snap-install-on-chromebook-cant-connect-to-x11-window-server/46468)

<div class="topic-metadata">

**Author:** [@mb668](https://discourse.processing.org/u/mb668)\
**Replies:** 4\
**Last updated:** [May 27, 2025, 6:09pm UTC](https://discourse.processing.org/t/snap-install-on-chromebook-cant-connect-to-x11-window-server/46468 "2025-05-27T18:09:22Z")

</div>

Since the installation process moved over to snap, I cannot run Processing 4.4.4. Installation via snap works fine with a few prior steps (below) but execution generates multiple X11 window server and other errors. This …

---

## [This is about Java 'network' library](https://discourse.processing.org/t/this-is-about-java-network-library/46291)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 14\
**Last updated:** [May 7, 2025, 2:47pm UTC](https://discourse.processing.org/t/this-is-about-java-network-library/46291 "2025-05-07T14:47:59Z")

</div>

It’s about JAVA ‘network’ library. Hello. Nice to meet you. import processing.net.\*; int port = 10002; Server myServer; void setup() { size(400, 400); background(0); myServer = new Server(this, port); // Starts…

---

## [Array of PImages](https://discourse.processing.org/t/array-of-pimages/46444)

<div class="topic-metadata">

**Author:** [@nikapm](https://discourse.processing.org/u/nikapm)\
**Replies:** 4\
**Last updated:** [May 27, 2025, 12:10am UTC](https://discourse.processing.org/t/array-of-pimages/46444 "2025-05-27T00:10:03Z")

</div>

Hello, i am trying to build an array of images to be displayed i looping, but I receive the error message that image cannot be solve as variable. Here’s code: int maxImages = 10; int imageIndex = 0; PImage\[\] images = …

---

## [Drawing a flower of life with 6 Vesica Piscis](https://discourse.processing.org/t/drawing-a-flower-of-life-with-6-vesica-piscis/46341)

<div class="topic-metadata">

**Author:** [@mortap](https://discourse.processing.org/u/mortap)\
**Replies:** 12\
**Last updated:** [May 24, 2025, 1:30am UTC](https://discourse.processing.org/t/drawing-a-flower-of-life-with-6-vesica-piscis/46341 "2025-05-24T01:30:25Z")

</div>

I’m having trouble getting this to draw the shape nicely. I have one function that evenly draws six petals, rotating them around, and one function to draw a single petal. The issue is not apparent when there is noStroke,…

---

## [Portable linux build is not happy](https://discourse.processing.org/t/portable-linux-build-is-not-happy/46412)

<div class="topic-metadata">

**Author:** [@joshg](https://discourse.processing.org/u/joshg)\
**Replies:** 8\
**Last updated:** [May 25, 2025, 6:05am UTC](https://discourse.processing.org/t/portable-linux-build-is-not-happy/46412 "2025-05-25T06:05:09Z")

</div>

The new Gradle build of Processing 4.4+ is generating a portable Linux build (yay! some of us get annoyed with snaps!) that doesn’t want to start (boo! what!). On running ./Processing in the bin folder, I get: Error: c…

---

## [The processing-java.exe cannot handle a sketch path containing spaces](https://discourse.processing.org/t/the-processing-java-exe-cannot-handle-a-sketch-path-containing-spaces/46451)

<div class="topic-metadata">

**Author:** [@Philip\_Sharman](https://discourse.processing.org/u/Philip_Sharman)\
**Replies:** 4\
**Last updated:** [May 26, 2025, 12:09am UTC](https://discourse.processing.org/t/the-processing-java-exe-cannot-handle-a-sketch-path-containing-spaces/46451 "2025-05-26T00:09:41Z")

</div>

According to my notes, this used to work: processing-java --sketch='/Users/philip/Test B' But now it gives the error Error: got unexpected extra argument (B). I’ve tried escaping the spaces, like this processing-java…

---

## [Emulator not starting](https://discourse.processing.org/t/emulator-not-starting/45833)

<div class="topic-metadata">

**Author:** [@markcosmic](https://discourse.processing.org/u/markcosmic)\
**Replies:** 1\
**Last updated:** [May 25, 2025, 7:30pm UTC](https://discourse.processing.org/t/emulator-not-starting/45833 "2025-05-25T19:30:40Z")

</div>

haxx always want to be installed and the emulator times out and doesn’t start. But sometimes it starts after exiting Processing. Leaving the emulator running and starting processing changes nothing. And yes, I can connec…

---

## [Where can I find jar file for my android studio project of the processing-core](https://discourse.processing.org/t/where-can-i-find-jar-file-for-my-android-studio-project-of-the-processing-core/46450)

<div class="topic-metadata">

**Author:** [@Mardin98K](https://discourse.processing.org/u/Mardin98K)\
**Replies:** 2\
**Last updated:** [May 25, 2025, 5:00pm UTC](https://discourse.processing.org/t/where-can-i-find-jar-file-for-my-android-studio-project-of-the-processing-core/46450 "2025-05-25T17:00:12Z")

</div>

Dear members of this community, I am currently working on an Android Studio project aimed at developing a live wallpaper application with high functionality, albeit at a relatively low visual fidelity. My goal is to lev…

---

## [The processing-java.exe now gives a "java.lang.NoSuchMethodError" error](https://discourse.processing.org/t/the-processing-java-exe-now-gives-a-java-lang-nosuchmethoderror-error/46407)

<div class="topic-metadata">

**Author:** [@Philip\_Sharman](https://discourse.processing.org/u/Philip_Sharman)\
**Replies:** 2\
**Last updated:** [May 25, 2025, 3:26pm UTC](https://discourse.processing.org/t/the-processing-java-exe-now-gives-a-java-lang-nosuchmethoderror-error/46407 "2025-05-25T15:26:21Z")

</div>

The processing-java tool used to work for me, but now it gives me this error: Exception in thread "main" java.lang.NoSuchMethodError: 'void processing.app.Base.setCommandLine()' at processing.mode.java.Commander.main(C…

---

## ["Brightness pixels" example too small](https://discourse.processing.org/t/brightness-pixels-example-too-small/46438)

<div class="topic-metadata">

**Author:** [@nikapm](https://discourse.processing.org/u/nikapm)\
**Replies:** 4\
**Last updated:** [May 25, 2025, 2:51am UTC](https://discourse.processing.org/t/brightness-pixels-example-too-small/46438 "2025-05-25T02:51:26Z")

</div>

I am new to processing and I am testing a code from the processing examples about brightness pixels. It works, but the image is much smaller than the window and I don’t know how to fix it. It cover the whole width with t…

---

## [JavaFX Pagination Demo](https://discourse.processing.org/t/javafx-pagination-demo/46440)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 0\
**Last updated:** [May 24, 2025, 4:31pm UTC](https://discourse.processing.org/t/javafx-pagination-demo/46440 "2025-05-24T16:31:38Z")

</div>

JavaFX Pagination control demo modified to run in Processing default window: //https://jenkov.com/tutorials/javafx/pagination.html import javafx.scene.canvas.Canvas; import javafx.scene.layout.StackPane; import javafx.…

---

## [Device connection failed](https://discourse.processing.org/t/device-connection-failed/46408)

<div class="topic-metadata">

**Author:** [@UZEW8](https://discourse.processing.org/u/UZEW8)\
**Replies:** 14\
**Last updated:** [May 24, 2025, 3:00am UTC](https://discourse.processing.org/t/device-connection-failed/46408 "2025-05-24T03:00:46Z")

</div>

I cannot run the very first board example. “Oscilloscope”. Processing sees 2 COM ports, tries to connect to one and then the other, but then announces “failed to connect”. Please help (board is blinking BLU at 2 Hz) Con…

---

## [Processing.py Tutorials](https://discourse.processing.org/t/processing-py-tutorials/8262)

<div class="topic-metadata">

**Author:** [@tabreturn](https://discourse.processing.org/u/tabreturn)\
**Replies:** 4\
**Last updated:** [May 22, 2025, 8:28pm UTC](https://discourse.processing.org/t/processing-py-tutorials/8262 "2025-05-22T20:28:55Z")

</div>

I while back, in the old forum, somebody was seeking Processing.py books/PDFs/videos. I’ve also been looking and couldn’t find quite what I needed for my students – so I’ve started writing an online textbook: https://t…

---

## [P5.asciify - Apply real-time ASCII conversion to your favorite WebGL p5.js sketches instantly](https://discourse.processing.org/t/p5-asciify-apply-real-time-ascii-conversion-to-your-favorite-webgl-p5-js-sketches-instantly/44893)

<div class="topic-metadata">

**Author:** [@humanbydefinition](https://discourse.processing.org/u/humanbydefinition)\
**Replies:** 1\
**Last updated:** [May 21, 2025, 6:16pm UTC](https://discourse.processing.org/t/p5-asciify-apply-real-time-ascii-conversion-to-your-favorite-webgl-p5-js-sketches-instantly/44893 "2025-05-21T18:16:57Z")

</div>

Hey everyone, I’d like to introduce my relatively new p5.js add-on library p5.asciify on here, which I’ve been actively working on over the last month and will continue to do so for the foreseeable future. p5.asciify …

---

## [Image exports at wrong dimensions in 4.4.4](https://discourse.processing.org/t/image-exports-at-wrong-dimensions-in-4-4-4/46414)

<div class="topic-metadata">

**Author:** [@sonofhop](https://discourse.processing.org/u/sonofhop)\
**Replies:** 2\
**Last updated:** [May 20, 2025, 2:07pm UTC](https://discourse.processing.org/t/image-exports-at-wrong-dimensions-in-4-4-4/46414 "2025-05-20T14:07:56Z")

</div>

Exporting images seems broken in Processing 4.4.4 Here’s a sketch that demonstrates the issue. The canvas size is set to 500x500, but the .png file exports at 1000x1000. Exporting as .pdf or .svg results in the correct …

---

## [JavaFX Controls in Default Window](https://discourse.processing.org/t/javafx-controls-in-default-window/46404)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 6\
**Last updated:** [May 20, 2025, 1:33pm UTC](https://discourse.processing.org/t/javafx-controls-in-default-window/46404 "2025-05-20T13:33:06Z")

</div>

Is there anyone in this forum who can retrieve the root pane of a PSurfaceFX window? Currently it is not possible to place javafx controls in a default Processing window using JavaMode. It has recently been shown by @h…

---

## [How to count the number of digits of a floating number?](https://discourse.processing.org/t/how-to-count-the-number-of-digits-of-a-floating-number/36980)

<div class="topic-metadata">

**Author:** [@juanjoc](https://discourse.processing.org/u/juanjoc)\
**Replies:** 17\
**Last updated:** [May 19, 2025, 8:46pm UTC](https://discourse.processing.org/t/how-to-count-the-number-of-digits-of-a-floating-number/36980 "2025-05-19T20:46:39Z")

</div>

Hello guys, I am a little confused about the following. I need to get the number of floating digits of a float number. So I have for example the number: 12.345678 And I know that the number of int digits are 2 with …

---

## [Processing Does Not Appear To Start](https://discourse.processing.org/t/processing-does-not-appear-to-start/46400)

<div class="topic-metadata">

**Author:** [@fredstout](https://discourse.processing.org/u/fredstout)\
**Replies:** 6\
**Last updated:** [May 19, 2025, 7:54pm UTC](https://discourse.processing.org/t/processing-does-not-appear-to-start/46400 "2025-05-19T19:54:55Z")

</div>

I have a Dell Inspiron 16 running Windows 11. The sketch, in question, has been running for months.When I try to start it, the results are a blank screen with a red dot and the system is locked up. I must do a Ctl, Alt, …

---

## [Processing 4 Java Bug bad printing of a number](https://discourse.processing.org/t/processing-4-java-bug-bad-printing-of-a-number/46398)

<div class="topic-metadata">

**Author:** [@mvq](https://discourse.processing.org/u/mvq)\
**Replies:** 15\
**Last updated:** [May 18, 2025, 10:53am UTC](https://discourse.processing.org/t/processing-4-java-bug-bad-printing-of-a-number/46398 "2025-05-18T10:53:57Z")

</div>

Have got a bug - look like its JAVA that freaking. float \[\]\[\] vDATA = {{45576469, 84.847, 45, 57, 64, 69, 73, 76, 79, 81, 83, 85, 86, 87, 88, 89, 91, 92, 93, 94, 95, }, // tous 253 {45576469, 84.861, 45, 57, 64, 6…

---

## [PSurfaceFX Current Development](https://discourse.processing.org/t/psurfacefx-current-development/46401)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 4\
**Last updated:** [May 17, 2025, 12:43pm UTC](https://discourse.processing.org/t/psurfacefx-current-development/46401 "2025-05-17T12:43:58Z")

</div>

I’m unable to find the current repository for PSurfaceFX; I can find the original github location, but there is a message stating that it has been moved and I can’t find the new one.

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

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