# Latest

**URL:** https://discourse.processing.org/latest.md?page=25

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

**Page:** 26

---

## [GWindow 'g4p' / Draws incorrectly. (Windows 'new window' problem)](https://discourse.processing.org/t/gwindow-g4p-draws-incorrectly-windows-new-window-problem/45942)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 4\
**Last updated:** [March 11, 2025, 8:50am UTC](https://discourse.processing.org/t/gwindow-g4p-draws-incorrectly-windows-new-window-problem/45942 "2025-03-11T08:50:09Z")

</div>

GWindow ‘g4p’ / Draws incorrectly. (Windows ‘new window’ problem) Please check 2 images. If it is drawn correctly, if it is drawn incorrectly Draw stops after 1 operation with ‘noLoop’. Is there a way to inc…

---

## [Is Python mode's aplication export not working at all?](https://discourse.processing.org/t/is-python-modes-aplication-export-not-working-at-all/45950)

<div class="topic-metadata">

**Author:** [@LSharkey](https://discourse.processing.org/u/LSharkey)\
**Replies:** 2\
**Last updated:** [March 10, 2025, 7:11pm UTC](https://discourse.processing.org/t/is-python-modes-aplication-export-not-working-at-all/45950 "2025-03-10T19:11:36Z")

</div>

I’ve found some other forum posts (on github and StackOverflow) talking about an issue being resolved in Beta 7(although not sure what that means), but it seems to be referring to Java mode. Wondering if it is still poss…

---

## [How to lock the resolution in JAVA2D rendering environment](https://discourse.processing.org/t/how-to-lock-the-resolution-in-java2d-rendering-environment/45936)

<div class="topic-metadata">

**Author:** [@cola](https://discourse.processing.org/u/cola)\
**Replies:** 1\
**Last updated:** [March 9, 2025, 10:03am UTC](https://discourse.processing.org/t/how-to-lock-the-resolution-in-java2d-rendering-environment/45936 "2025-03-09T10:03:44Z")

</div>

Hello everyone! I am doing resolution adaptation in the JAVA2D environment, hoping that the UI interface will be distorted when switching screens. How to lock the resolution in JAVA2D rendering environment？ Thanks! publ…

---

## [Canvas size is wrong on external monitor on Ubuntu 24.04 LTS](https://discourse.processing.org/t/canvas-size-is-wrong-on-external-monitor-on-ubuntu-24-04-lts/45927)

<div class="topic-metadata">

**Author:** [@LangdonS](https://discourse.processing.org/u/LangdonS)\
**Replies:** 1\
**Last updated:** [March 8, 2025, 11:39pm UTC](https://discourse.processing.org/t/canvas-size-is-wrong-on-external-monitor-on-ubuntu-24-04-lts/45927 "2025-03-08T23:39:56Z")

</div>

I have a Java/Processing app that I am developing on my Lenovo T490 laptop running Ubuntu 24.04 LTS. I have the canvas size set in the settings method to 416x416px On the laptop’s screen, the drawable canvas is 416x416…

---

## [Creating a Vector-Based "Texture" and filling a shape](https://discourse.processing.org/t/creating-a-vector-based-texture-and-filling-a-shape/45911)

<div class="topic-metadata">

**Author:** [@revived](https://discourse.processing.org/u/revived)\
**Replies:** 7\
**Last updated:** [March 7, 2025, 11:12am UTC](https://discourse.processing.org/t/creating-a-vector-based-texture-and-filling-a-shape/45911 "2025-03-07T11:12:35Z")

</div>

Hi all - I’d like to create an SVG file of an arbitrarily-sided polygon that is filled with triangles (or other drawings, potentially.). I have no idea how to do this in Processing or if it is even possible. I was hop…

---

## [Curious About p5.js 2.0](https://discourse.processing.org/t/curious-about-p5-js-2-0/45920)

<div class="topic-metadata">

**Author:** [@himanshukholiya](https://discourse.processing.org/u/himanshukholiya)\
**Replies:** 1\
**Last updated:** [March 7, 2025, 11:04am UTC](https://discourse.processing.org/t/curious-about-p5-js-2-0/45920 "2025-03-07T11:04:28Z")

</div>

I was exploring the p5.js GitHub repository and came across discussions about p5.js 2.0. The project caught my interest, especially seeing how some features have already been completed while others are still open for con…

---

## [\[Solved\] Chromebook installation OK but all code fails to run](https://discourse.processing.org/t/solved-chromebook-installation-ok-but-all-code-fails-to-run/45900)

<div class="topic-metadata">

**Author:** [@mb668](https://discourse.processing.org/u/mb668)\
**Replies:** 2\
**Last updated:** [March 6, 2025, 12:06pm UTC](https://discourse.processing.org/t/solved-chromebook-installation-ok-but-all-code-fails-to-run/45900 "2025-03-06T12:06:04Z")

</div>

Even sample code fails to run with a vanilla installation of Processing 4.3.3 in a Linux container on an ARM Chromebook (installed using these instructions). Is there anything in the following error messages that would …

---

## [Problem with for() loops](https://discourse.processing.org/t/problem-with-for-loops/45897)

<div class="topic-metadata">

**Author:** [@JALAJ\_0106](https://discourse.processing.org/u/JALAJ_0106)\
**Replies:** 2\
**Last updated:** [March 4, 2025, 11:39am UTC](https://discourse.processing.org/t/problem-with-for-loops/45897 "2025-03-04T11:39:24Z")

</div>

int th = 36; int tw = 36; for(int y = 0; y \< th - 1; y++) { for(int x = 0; x \< tw - 1; x++) { PVector p1 = normals\[x\]\[y\]; //works PVector p2 = normals\[34\]\[y\]; // works PVector p3…

---

## [New Library: Backup Your Project on the Fly](https://discourse.processing.org/t/new-library-backup-your-project-on-the-fly/45806)

<div class="topic-metadata">

**Author:** [@domizai](https://discourse.processing.org/u/domizai)\
**Replies:** 1\
**Last updated:** [March 3, 2025, 11:02am UTC](https://discourse.processing.org/t/new-library-backup-your-project-on-the-fly/45806 "2025-03-03T11:02:32Z")

</div>

Hi everyone! I’d like to share a small library called SimpleBackup that allows you to back up your project on demand while your sketch is running. If you’re like me, you enjoy sketching and messing around, exporting re…

---

## [Looking for a solution to make video autoplay work with p5.js on Firefox for Android, while it works in other browsers](https://discourse.processing.org/t/looking-for-a-solution-to-make-video-autoplay-work-with-p5-js-on-firefox-for-android-while-it-works-in-other-browsers/45850)

<div class="topic-metadata">

**Author:** [@v\_v.c](https://discourse.processing.org/u/v_v.c)\
**Replies:** 1\
**Last updated:** [March 2, 2025, 9:02am UTC](https://discourse.processing.org/t/looking-for-a-solution-to-make-video-autoplay-work-with-p5-js-on-firefox-for-android-while-it-works-in-other-browsers/45850 "2025-03-02T09:02:17Z")

</div>

Hey all I’m trying to get p5.js to autoplay video on Firefox Android, but I haven’t found a solution yet. Here’s a CodePen link demonstrating the issue: The page contains a video played with generic HTML and another …

---

## [How to create a buffer to send JSON data to the server quantitatively](https://discourse.processing.org/t/how-to-create-a-buffer-to-send-json-data-to-the-server-quantitatively/45848)

<div class="topic-metadata">

**Author:** [@cola](https://discourse.processing.org/u/cola)\
**Replies:** 0\
**Last updated:** [February 27, 2025, 1:20pm UTC](https://discourse.processing.org/t/how-to-create-a-buffer-to-send-json-data-to-the-server-quantitatively/45848 "2025-02-27T13:20:32Z")

</div>

Hello,everyone！I want to create a buffer to store ecg\<2384\>,emg\<2384\> data, each time only storing 2 channels and 384 data points, and once enough data points are obtained, send the data in json format to the server. The…

---

## [Connecting with Mentor & community calls for GSoC](https://discourse.processing.org/t/connecting-with-mentor-community-calls-for-gsoc/45859)

<div class="topic-metadata">

**Author:** [@Mamatha1718](https://discourse.processing.org/u/Mamatha1718)\
**Replies:** 1\
**Last updated:** [February 28, 2025, 3:45pm UTC](https://discourse.processing.org/t/connecting-with-mentor-community-calls-for-gsoc/45859 "2025-02-28T15:45:39Z")

</div>

Hi everyone! :wave: I am Mamatha, I would like to contribute to processing foundation as a part of gsoc, I am Studying MCA(masters in computer applications) final year. My skills are HTML, CSS, JavaScript, I am contrib…

---

## [Suggestions for new contributors GSoC 2025](https://discourse.processing.org/t/suggestions-for-new-contributors-gsoc-2025/45641)

<div class="topic-metadata">

**Author:** [@Mamatha1718](https://discourse.processing.org/u/Mamatha1718)\
**Replies:** 5\
**Last updated:** [February 28, 2025, 3:43pm UTC](https://discourse.processing.org/t/suggestions-for-new-contributors-gsoc-2025/45641 "2025-02-28T15:43:37Z")

</div>

Dear Processing Support Team, My name is Mamatha, and I am deeply interested in contributing to your organization as part of Google Summer of Code (GSoC) 2025. I admire the impactful work of your organization, and I am …

---

## [The image kills the touch screen](https://discourse.processing.org/t/the-image-kills-the-touch-screen/45851)

<div class="topic-metadata">

**Author:** [@AniManOtaku](https://discourse.processing.org/u/AniManOtaku)\
**Replies:** 2\
**Last updated:** [February 28, 2025, 5:39am UTC](https://discourse.processing.org/t/the-image-kills-the-touch-screen/45851 "2025-02-28T05:39:54Z")

</div>

Well, I was programming and testing stuff and accidentally created an image that literally destroys the touch screen. PImage img; boolean draw=true; void setup(){ img=new PImage(min(width,height),min(width,height))…

---

## [How Can I Create a Rectangle Whose Inside Has a Different Drag Properties than the VerletPhysics2D World It Is In?](https://discourse.processing.org/t/how-can-i-create-a-rectangle-whose-inside-has-a-different-drag-properties-than-the-verletphysics2d-world-it-is-in/45839)

<div class="topic-metadata">

**Author:** [@Ermi](https://discourse.processing.org/u/Ermi)\
**Replies:** 3\
**Last updated:** [February 27, 2025, 11:04pm UTC](https://discourse.processing.org/t/how-can-i-create-a-rectangle-whose-inside-has-a-different-drag-properties-than-the-verletphysics2d-world-it-is-in/45839 "2025-02-27T23:04:45Z")

</div>

I am trying to modify the example Attraction2D so that the drag increases from half of the screen(world), making the particles appear to be falling into water. Is it possible to create two different mediums whose drag va…

---

## [Concept for moving in a direction for ship in game asteroids](https://discourse.processing.org/t/concept-for-moving-in-a-direction-for-ship-in-game-asteroids/20456)

<div class="topic-metadata">

**Author:** [@Arsenii](https://discourse.processing.org/u/Arsenii)\
**Replies:** 9\
**Last updated:** [February 27, 2025, 8:15pm UTC](https://discourse.processing.org/t/concept-for-moving-in-a-direction-for-ship-in-game-asteroids/20456 "2025-02-27T20:15:53Z")

</div>

I want to recreate asteroids game but don’t know how to program ship moving in the direction of it’s aim.

---

## [Webcam video for Linux workaround](https://discourse.processing.org/t/webcam-video-for-linux-workaround/45784)

<div class="topic-metadata">

**Author:** [@Seamiki](https://discourse.processing.org/u/Seamiki)\
**Replies:** 0\
**Last updated:** [February 16, 2025, 4:03pm UTC](https://discourse.processing.org/t/webcam-video-for-linux-workaround/45784 "2025-02-16T16:03:58Z")

</div>

I share below a workaround for whoever got issues on linux with the video library. I was trying to get the video feed from the webcam but only got errors related to libsoup and gstreamer. the workaround that i found us…

---

## [Packet loss when transmitting using Bluetooth](https://discourse.processing.org/t/packet-loss-when-transmitting-using-bluetooth/45754)

<div class="topic-metadata">

**Author:** [@cola](https://discourse.processing.org/u/cola)\
**Replies:** 2\
**Last updated:** [February 27, 2025, 2:18am UTC](https://discourse.processing.org/t/packet-loss-when-transmitting-using-bluetooth/45754 "2025-02-27T02:18:21Z")

</div>

I use the Bluetooth serial port to transmit data. There is data output but it cannot be output in real time. Because multiple data packets are transmitted, is it because my unpacking process affects the drawing? Here is …

---

## [Emulator starts after exiting the Processing IDE](https://discourse.processing.org/t/emulator-starts-after-exiting-the-processing-ide/45842)

<div class="topic-metadata">

**Author:** [@markcosmic](https://discourse.processing.org/u/markcosmic)\
**Replies:** 0\
**Last updated:** [February 26, 2025, 8:56pm UTC](https://discourse.processing.org/t/emulator-starts-after-exiting-the-processing-ide/45842 "2025-02-26T20:56:17Z")

</div>

In trying to run an app in the emulator, Processing for Android want to download intel HAXM. It says successfully installed. The emulator doesn’t start I get the error disconnected from emulator. A familiar error. But wh…

---

## [Processing old release download](https://discourse.processing.org/t/processing-old-release-download/45834)

<div class="topic-metadata">

**Author:** [@mrbbp](https://discourse.processing.org/u/mrbbp)\
**Replies:** 3\
**Last updated:** [February 25, 2025, 8:07pm UTC](https://discourse.processing.org/t/processing-old-release-download/45834 "2025-02-25T20:07:56Z")

</div>

Hello, i’m trying to work with the midiBus library, on some mac computer, the library does not work. if we use an older version of Processing v3.x is working. but i was looking for older versions of v4, but on github …

---

## [Switch Net 4 - Neural Network](https://discourse.processing.org/t/switch-net-4-neural-network/33220)

<div class="topic-metadata">

**Author:** [@seanc4s](https://discourse.processing.org/u/seanc4s)\
**Replies:** 18\
**Last updated:** [March 29, 2022, 2:47am UTC](https://discourse.processing.org/t/switch-net-4-neural-network/33220 "2022-03-29T02:47:36Z")

</div>

Multiple small width 4 neural network layers knitted together with the fast Walsh Hadamard transform acting as a connectionist device. final class SWNet4 { final int vecLen; final int depth; final float scale; f…

---

## [JavaFX with FXML Interface](https://discourse.processing.org/t/javafx-with-fxml-interface/45788)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 0\
**Last updated:** [February 16, 2025, 10:24pm UTC](https://discourse.processing.org/t/javafx-with-fxml-interface/45788 "2025-02-16T22:24:22Z")

</div>

The following source code will create a user interface using JavaFX FXML with source code from either an .xml or .fxml file. SceneBuilder (an app available from gluon) will allow the user to drag 'n drop controls onto a…

---

## [Conway's Game of Life operating on images](https://discourse.processing.org/t/conways-game-of-life-operating-on-images/45827)

<div class="topic-metadata">

**Author:** [@paul-reiners](https://discourse.processing.org/u/paul-reiners)\
**Replies:** 1\
**Last updated:** [February 23, 2025, 5:55pm UTC](https://discourse.processing.org/t/conways-game-of-life-operating-on-images/45827 "2025-02-23T17:55:46Z")

</div>

I wrote this program that operates on images using Conway’s Game of Life. I used Joan Soler-Adillon’s Game of Life program as a starting point. Code

---

## [Sound, Perlin Noise, and Processing. Looking for a demo](https://discourse.processing.org/t/sound-perlin-noise-and-processing-looking-for-a-demo/45732)

<div class="topic-metadata">

**Author:** [@mario60](https://discourse.processing.org/u/mario60)\
**Replies:** 4\
**Last updated:** [February 21, 2025, 10:33pm UTC](https://discourse.processing.org/t/sound-perlin-noise-and-processing-looking-for-a-demo/45732 "2025-02-21T22:33:04Z")

</div>

Hi Simple question: has anybody developed In Processing a couple of simple examples as those at What Does Perlin Noise Sound Like? ? If you did, I appreciate if you may share your code. Thanks a lot.

---

## [ClassCastException using ttslib](https://discourse.processing.org/t/classcastexception-using-ttslib/45805)

<div class="topic-metadata">

**Author:** [@john55](https://discourse.processing.org/u/john55)\
**Replies:** 2\
**Last updated:** [February 21, 2025, 2:10am UTC](https://discourse.processing.org/t/classcastexception-using-ttslib/45805 "2025-02-21T02:10:23Z")

</div>

Running ttstest example sketch on Mac results in ClassCastException. ClassCastException: class com.sun.speech.freetts.en.us.cmu\_time\_awb.AlanVoiceDirectory cannot be cast to class com.sun.speech.freetts.VoiceDirectory (…

---

## [Rotate arc in pacman animation](https://discourse.processing.org/t/rotate-arc-in-pacman-animation/45367)

<div class="topic-metadata">

**Author:** [@edufissure](https://discourse.processing.org/u/edufissure)\
**Replies:** 44\
**Last updated:** [February 20, 2025, 10:02pm UTC](https://discourse.processing.org/t/rotate-arc-in-pacman-animation/45367 "2025-02-20T22:02:15Z")

</div>

Hi ive been reading the tutorial or example were you make an animation of a pacman bit opening and closing the mouth The code: function draw() { background(0); // Style the arc. //noStroke(); fill(255, 255, 0)…

---

## [PC files don't open properly on Mac](https://discourse.processing.org/t/pc-files-dont-open-properly-on-mac/45803)

<div class="topic-metadata">

**Author:** [@Gadger](https://discourse.processing.org/u/Gadger)\
**Replies:** 0\
**Last updated:** [February 20, 2025, 4:02pm UTC](https://discourse.processing.org/t/pc-files-dont-open-properly-on-mac/45803 "2025-02-20T16:02:15Z")

</div>

I created a pde file on a PC and saved in Dropbox. When I open the file with Processing on a Mac (Apple silicon) the tabs open correctly but all the code is missing. If I create a file on the Mac, save to Dropbox, open …

---

## [USB Camera(CAM) Library Recommendations](https://discourse.processing.org/t/usb-camera-cam-library-recommendations/45802)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 0\
**Last updated:** [February 20, 2025, 5:25am UTC](https://discourse.processing.org/t/usb-camera-cam-library-recommendations/45802 "2025-02-20T05:25:12Z")

</div>

USB Camera(CAM) Library Recommendations Hello. Nice to meet you. Model name: e-con See3CAM\_CU135 13MP USB Camera What kind of ‘library’ is there for ‘USB’ Camera? I think there will be a lag with ‘13MP’. Is th…

---

## [Advice on what graphic card to buy](https://discourse.processing.org/t/advice-on-what-graphic-card-to-buy/45798)

<div class="topic-metadata">

**Author:** [@lucedan](https://discourse.processing.org/u/lucedan)\
**Replies:** 0\
**Last updated:** [February 19, 2025, 10:37am UTC](https://discourse.processing.org/t/advice-on-what-graphic-card-to-buy/45798 "2025-02-19T10:37:47Z")

</div>

Hello everybody, I started creating an audiovisual work, playing my Processing and SuperCollider simultaneously. However, I see some limitations due to my integrated graphic card, and I was considering whether buying an…

---

## [Inquiry Regarding GSoC 2024 Participation and Contribution Review for Processing Repository](https://discourse.processing.org/t/inquiry-regarding-gsoc-2024-participation-and-contribution-review-for-processing-repository/43633)

<div class="topic-metadata">

**Author:** [@SaumyaKarnwal](https://discourse.processing.org/u/SaumyaKarnwal)\
**Replies:** 1\
**Last updated:** [February 11, 2025, 10:44am UTC](https://discourse.processing.org/t/inquiry-regarding-gsoc-2024-participation-and-contribution-review-for-processing-repository/43633 "2025-02-11T10:44:46Z")

</div>

My name is Saumya Karnwal, and I am a new contributor aspiring to participate in Google Summer of Code (GSoC) 2024. I recently came across the Processing repository and noticed that it appears to be active. I am eager to…

[Previous page](https://discourse.processing.org/latest.md?page=24)

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