# Latest

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

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

**Page:** 66

---

## [Significant delay with serial communication to Arduino](https://discourse.processing.org/t/significant-delay-with-serial-communication-to-arduino/42508)

<div class="topic-metadata">

**Author:** [@somebody](https://discourse.processing.org/u/somebody)\
**Replies:** 3\
**Last updated:** [July 28, 2023, 1:53am UTC](https://discourse.processing.org/t/significant-delay-with-serial-communication-to-arduino/42508 "2023-07-28T01:53:50Z")

</div>

Hello, I am currently attempting to make a simple bluetooth car controlled by an Arduino. I am attempting to control the car from my computer through the use of a key listener. When I run my code, the key listener works …

---

## [2D lineart - culling hidden lines for SVG output / Plotting](https://discourse.processing.org/t/2d-lineart-culling-hidden-lines-for-svg-output-plotting/30031)

<div class="topic-metadata">

**Author:** [@mrWoodo](https://discourse.processing.org/u/mrWoodo)\
**Replies:** 13\
**Last updated:** [July 30, 2023, 8:23pm UTC](https://discourse.processing.org/t/2d-lineart-culling-hidden-lines-for-svg-output-plotting/30031 "2023-07-30T20:23:12Z")

</div>

Hi All, I would like generatively create something like this, in a 2D lineart/doodle sketch style. Using PShape seems like the way to go, as a “Building” class with variants for Window, Roof, Door, etc (I’m a beginner…

---

## [Movie pause and loop triggered by amplitude instead of mousePressed](https://discourse.processing.org/t/movie-pause-and-loop-triggered-by-amplitude-instead-of-mousepressed/42439)

<div class="topic-metadata">

**Author:** [@blindschleiche](https://discourse.processing.org/u/blindschleiche)\
**Replies:** 18\
**Last updated:** [July 30, 2023, 5:14pm UTC](https://discourse.processing.org/t/movie-pause-and-loop-triggered-by-amplitude-instead-of-mousepressed/42439 "2023-07-30T17:14:01Z")

</div>

the idea is, that the movie should show in a paused situation. when there is some noise recognised by the microphone, the movie should play and a red line shows up in front of the movie. as soon as there is no more noise…

---

## [Why circle disappears at y-coordinates ~ 250](https://discourse.processing.org/t/why-circle-disappears-at-y-coordinates-250/42256)

<div class="topic-metadata">

**Author:** [@helpME0](https://discourse.processing.org/u/helpME0)\
**Replies:** 2\
**Last updated:** [July 30, 2023, 12:38pm UTC](https://discourse.processing.org/t/why-circle-disappears-at-y-coordinates-250/42256 "2023-07-30T12:38:41Z")

</div>

void setup() { size(500,500); background(0); } void draw() { loop(); float y=500+(-90\*millis()/1000+(10\*millis()\*millis()/2/1000000)); float D=25; float x = 0+15\*millis()/1000; float yc = y; float xc…

---

## [Proximity Data Visualization Arduino-Processing. Running into issue with for loop visualization, layout of Processing sketch](https://discourse.processing.org/t/proximity-data-visualization-arduino-processing-running-into-issue-with-for-loop-visualization-layout-of-processing-sketch/42296)

<div class="topic-metadata">

**Author:** [@12345](https://discourse.processing.org/u/12345)\
**Replies:** 7\
**Last updated:** [July 30, 2023, 3:10pm UTC](https://discourse.processing.org/t/proximity-data-visualization-arduino-processing-running-into-issue-with-for-loop-visualization-layout-of-processing-sketch/42296 "2023-07-30T15:10:52Z")

</div>

Hi, running into an issue here that seems related to the for loop section of my processing sketch. My aim is to re-draw the loaded image as a grid of ellipses, using .get. The Distance sensor reading from arduino, (myDi…

---

## [Changing font text with mouse position in Processing](https://discourse.processing.org/t/changing-font-text-with-mouse-position-in-processing/42499)

<div class="topic-metadata">

**Author:** [@juuhlbs](https://discourse.processing.org/u/juuhlbs)\
**Replies:** 6\
**Last updated:** [July 30, 2023, 12:19pm UTC](https://discourse.processing.org/t/changing-font-text-with-mouse-position-in-processing/42499 "2023-07-30T12:19:25Z")

</div>

Hello guys, I’m trying to create something relatively simple based on some studies that I made but now I’m facing an issue I don’t know enough about to solve. My idea is to change the font from light to regular and the…

---

## [Where can i submit ideas? Feature Requests?](https://discourse.processing.org/t/where-can-i-submit-ideas-feature-requests/42517)

<div class="topic-metadata">

**Author:** [@nuhuhwy](https://discourse.processing.org/u/nuhuhwy)\
**Replies:** 1\
**Last updated:** [July 30, 2023, 9:19am UTC](https://discourse.processing.org/t/where-can-i-submit-ideas-feature-requests/42517 "2023-07-30T09:19:00Z")

</div>

It would be great if there was a way to create a java server :frowning: i just cant get it to work and i wanted to submit a request for a built in function that lets someone create servers and use. (minecraft has a open…

---

## [Firebase 10.1.0 and p5](https://discourse.processing.org/t/firebase-10-1-0-and-p5/42514)

<div class="topic-metadata">

**Author:** [@lizzy](https://discourse.processing.org/u/lizzy)\
**Replies:** 3\
**Last updated:** [July 28, 2023, 10:37pm UTC](https://discourse.processing.org/t/firebase-10-1-0-and-p5/42514 "2023-07-28T22:37:36Z")

</div>

Hello forum, In the past I have been successful integrating a p5 sketch with a firebase realtime database. When I went to start a new project, it’s not working the way that it used to and I am stuck. With firebase vers…

---

## [Collision detection with rotated objects](https://discourse.processing.org/t/collision-detection-with-rotated-objects/11810)

<div class="topic-metadata">

**Author:** [@lizzy](https://discourse.processing.org/u/lizzy)\
**Replies:** 4\
**Last updated:** [July 28, 2023, 1:29pm UTC](https://discourse.processing.org/t/collision-detection-with-rotated-objects/11810 "2023-07-28T13:29:34Z")

</div>

I am trying to detect collision between a rotated and non-rotated object. I’m using the p5 rotate function, and the objects are not in the same coordinate space. Thanks for your help! translate(width/2,height/2); …

---

## [Processing 4.3 is out! ✨](https://discourse.processing.org/t/processing-4-3-is-out/42509)

<div class="topic-metadata">

**Author:** [@sableraph](https://discourse.processing.org/u/sableraph)\
**Replies:** 3\
**Last updated:** [July 28, 2023, 12:03pm UTC](https://discourse.processing.org/t/processing-4-3-is-out/42509 "2023-07-28T12:03:46Z")

</div>

Hi everyone! Processing 4.3 was just released. We’ve revamped icons to avoid confusion with VSCode, made design & dark mode tweaks, and enhanced text centering. Plus, Java update & critical bug fixes, including syntax e…

---

## [Can you make the window title smaller?](https://discourse.processing.org/t/can-you-make-the-window-title-smaller/42511)

<div class="topic-metadata">

**Author:** [@nuhuhwy](https://discourse.processing.org/u/nuhuhwy)\
**Replies:** 2\
**Last updated:** [July 27, 2023, 10:17pm UTC](https://discourse.processing.org/t/can-you-make-the-window-title-smaller/42511 "2023-07-27T22:17:47Z")

</div>

Is it possible to make the window title thing smaller? Like this! So the title is thinner than a normal window!

---

## [Error attempting to open the P5.js downloaded program](https://discourse.processing.org/t/error-attempting-to-open-the-p5-js-downloaded-program/42486)

<div class="topic-metadata">

**Author:** [@Do\_Not\_Give\_Up](https://discourse.processing.org/u/Do_Not_Give_Up)\
**Replies:** 21\
**Last updated:** [July 27, 2023, 2:54pm UTC](https://discourse.processing.org/t/error-attempting-to-open-the-p5-js-downloaded-program/42486 "2023-07-27T14:54:59Z")

</div>

---

## [Draw a PShape from a PShape array](https://discourse.processing.org/t/draw-a-pshape-from-a-pshape-array/42473)

<div class="topic-metadata">

**Author:** [@eliamedeot](https://discourse.processing.org/u/eliamedeot)\
**Replies:** 8\
**Last updated:** [July 27, 2023, 12:06pm UTC](https://discourse.processing.org/t/draw-a-pshape-from-a-pshape-array/42473 "2023-07-27T12:06:51Z")

</div>

Hello, I’m getting a “NullPointerException” trying to draw a PShape from an array of the same type. This is the code snippet: PShape s10, s15, s20, s25, s30, s35, s40, s45, s50; PShape\[\]\[\] grid = { {s50, s50, s50, s…

---

## [Is multi-canvas production possible? (In Processing p5 Mode)](https://discourse.processing.org/t/is-multi-canvas-production-possible-in-processing-p5-mode/41642)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 10\
**Last updated:** [July 27, 2023, 1:58am UTC](https://discourse.processing.org/t/is-multi-canvas-production-possible-in-processing-p5-mode/41642 "2023-07-27T01:58:40Z")

</div>

hello. nice to meet you. Is multi-canvas production possible? (In Processing p5 Mode) As you can see from the picture, the position of the canvas is also determined, and the size (size) is determined and placed. Is…

---

## [Issues with wallpaper written in Processing in APDE on phone restart](https://discourse.processing.org/t/issues-with-wallpaper-written-in-processing-in-apde-on-phone-restart/42482)

<div class="topic-metadata">

**Author:** [@AlexandraKateva](https://discourse.processing.org/u/AlexandraKateva)\
**Replies:** 0\
**Last updated:** [July 23, 2023, 11:20am UTC](https://discourse.processing.org/t/issues-with-wallpaper-written-in-processing-in-apde-on-phone-restart/42482 "2023-07-23T11:20:50Z")

</div>

Hello, I made a wallpaper sketch, where you have dots in the background on the phone, that move around a circle and wrap around the edges of the screen. i really like how it works, however i’ve been having weird issues w…

---

## [I can't export my first Android program](https://discourse.processing.org/t/i-cant-export-my-first-android-program/42505)

<div class="topic-metadata">

**Author:** [@fsdonato](https://discourse.processing.org/u/fsdonato)\
**Replies:** 4\
**Last updated:** [July 26, 2023, 7:27pm UTC](https://discourse.processing.org/t/i-cant-export-my-first-android-program/42505 "2023-07-26T19:27:52Z")

</div>

I’m doing the following code in Processin 4, Android mode: void setup() { } void draw() { ellipse(mouseX, mouseY, mouseX-pmouseX, mouseY-pmouseY); } The code works, it runs on the Smartphone. But I am …

---

## [Sample from a distribution](https://discourse.processing.org/t/sample-from-a-distribution/42503)

<div class="topic-metadata">

**Author:** [@SNICKRS](https://discourse.processing.org/u/SNICKRS)\
**Replies:** 1\
**Last updated:** [July 26, 2023, 3:39pm UTC](https://discourse.processing.org/t/sample-from-a-distribution/42503 "2023-07-26T15:39:24Z")

</div>

Hi all, just a quick question: Say I have this array: float\[\] probs = new float\[\] {0.2, 0.5, 0.3}; How do I sample from this array of probabilities to get an index? Like if say the first element with a probability of …

---

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

<div class="topic-metadata">

**Author:** [@Rbu](https://discourse.processing.org/u/Rbu)\
**Replies:** 2\
**Last updated:** [July 26, 2023, 10:41am UTC](https://discourse.processing.org/t/code-not-drawing/42498 "2023-07-26T10:41:58Z")

</div>

So I am new and struggling i have a code that shows no errors but i not getting the desired results can some one help. PShape svg; float angle = 0; float radius = 10; float frequency = 0.1; void setup() { size(800, …

---

## [Intersecting ellipses animation](https://discourse.processing.org/t/intersecting-ellipses-animation/42494)

<div class="topic-metadata">

**Author:** [@quark](https://discourse.processing.org/u/quark)\
**Replies:** 2\
**Last updated:** [July 26, 2023, 8:09am UTC](https://discourse.processing.org/t/intersecting-ellipses-animation/42494 "2023-07-26T08:09:20Z")

</div>

This sketch demonstrates a closed-form (algebraic) solution to finding the intersections of 2 arbitrary ellipses. Masochists and mathematicians can see some of the maths I developed here. The minimum number of ellipses …

---

## [Speech Recognition (STT) with Minim library](https://discourse.processing.org/t/speech-recognition-stt-with-minim-library/42464)

<div class="topic-metadata">

**Author:** [@glomb](https://discourse.processing.org/u/glomb)\
**Replies:** 1\
**Last updated:** [July 25, 2023, 9:58pm UTC](https://discourse.processing.org/t/speech-recognition-stt-with-minim-library/42464 "2023-07-25T21:58:26Z")

</div>

Hi, I need a speech recognition system (speech to text) using Processing’s Minim library. I hope you can help me, Thanks

---

## [Setting display to secondary display via preferences has no effect? Bug?](https://discourse.processing.org/t/setting-display-to-secondary-display-via-preferences-has-no-effect-bug/42495)

<div class="topic-metadata">

**Author:** [@MuddyGardener](https://discourse.processing.org/u/MuddyGardener)\
**Replies:** 0\
**Last updated:** [July 25, 2023, 4:51pm UTC](https://discourse.processing.org/t/setting-display-to-secondary-display-via-preferences-has-no-effect-bug/42495 "2023-07-25T16:51:17Z")

</div>

I’m on a Macbook Pro Ventura 13.4.1, hooked up to a secondary display (Dell U2412M) via HDMI, with the Built In Display set as the Main Display in my system settings. Running P4. I am trying to get sketches to display …

---

## [AI learns to play Snake!](https://discourse.processing.org/t/ai-learns-to-play-snake/42492)

<div class="topic-metadata">

**Author:** [@SNICKRS](https://discourse.processing.org/u/SNICKRS)\
**Replies:** 0\
**Last updated:** [July 25, 2023, 2:11pm UTC](https://discourse.processing.org/t/ai-learns-to-play-snake/42492 "2023-07-25T14:11:07Z")

</div>

I taught an AI to play snake! I wanted to start learning how to implement Deep Q Learning just to get my hands dirty. Contrary to my last post on neural networks, this time, the math wasn’t too hard (still struggled obvi…

---

## [New release of py5!](https://discourse.processing.org/t/new-release-of-py5/42488)

<div class="topic-metadata">

**Author:** [@hx2A](https://discourse.processing.org/u/hx2A)\
**Replies:** 0\
**Last updated:** [July 24, 2023, 2:27pm UTC](https://discourse.processing.org/t/new-release-of-py5/42488 "2023-07-24T14:27:52Z")

</div>

Hello everyone! We wanted to let you know there is a new release of py5. py5 is a version of Processing for Python 3.8+. If you are new to py5, you can find out more on the py5coding.org website. The release blog post …

---

## [How to open window maximised?](https://discourse.processing.org/t/how-to-open-window-maximised/42450)

<div class="topic-metadata">

**Author:** [@turke1034](https://discourse.processing.org/u/turke1034)\
**Replies:** 4\
**Last updated:** [July 24, 2023, 5:19am UTC](https://discourse.processing.org/t/how-to-open-window-maximised/42450 "2023-07-24T05:19:54Z")

</div>

Hi, I want to know how to open the window maximised. Either it would open already maximised, or I could maximise it immediately after it opens. I have the following code from a stackoverflow answer: com.jogamp.newt.open…

---

## [Target VM failed to initialize](https://discourse.processing.org/t/target-vm-failed-to-initialize/42448)

<div class="topic-metadata">

**Author:** [@olliebown](https://discourse.processing.org/u/olliebown)\
**Replies:** 7\
**Last updated:** [July 23, 2023, 11:16pm UTC](https://discourse.processing.org/t/target-vm-failed-to-initialize/42448 "2023-07-23T23:16:43Z")

</div>

I’m getting an error “Could not run the sketch (Target VM failed to initialize).” This error suddenly appeared from one minute to the next. I thought it was to do with my code but after working though every possibility …

---

## [Can I do IP BAN on WEB (P5)?](https://discourse.processing.org/t/can-i-do-ip-ban-on-web-p5/42481)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 2\
**Last updated:** [July 23, 2023, 7:56pm UTC](https://discourse.processing.org/t/can-i-do-ip-ban-on-web-p5/42481 "2023-07-23T19:56:55Z")

</div>

Can I do IP BAN on WEB (P5)? hello. Thank you for your interest in my article. We confirmed that there is an ‘IP BAN’ function in ‘WEB’ that we use. Is there any way to do ‘IP BAN’ in ‘P5’? Or do you have a ‘solution’…

---

## [Software for industrial automation using Arduino - SD Plotter DB 1.00](https://discourse.processing.org/t/software-for-industrial-automation-using-arduino-sd-plotter-db-1-00/42478)

<div class="topic-metadata">

**Author:** [@Spidoug](https://discourse.processing.org/u/Spidoug)\
**Replies:** 1\
**Last updated:** [July 23, 2023, 11:04am UTC](https://discourse.processing.org/t/software-for-industrial-automation-using-arduino-sd-plotter-db-1-00/42478 "2023-07-23T11:04:24Z")

</div>

Hello guys. I come here to present my software and firmware that I developed for my monograph. The software was developed for industrial automation, focusing on the management of a pilot plant for the chemical industry…

---

## [Wide shape is not drawn from corner, but tall shape is](https://discourse.processing.org/t/wide-shape-is-not-drawn-from-corner-but-tall-shape-is/42475)

<div class="topic-metadata">

**Author:** [@User442B](https://discourse.processing.org/u/User442B)\
**Replies:** 0\
**Last updated:** [July 22, 2023, 4:25pm UTC](https://discourse.processing.org/t/wide-shape-is-not-drawn-from-corner-but-tall-shape-is/42475 "2023-07-22T16:25:55Z")

</div>

color black = color(36,39,45); color green = color(141,187,110); PShape rec; void setup(){ size(1600,900,P2D); smooth(8); background(black); frameRate(60); rec = loadShape("wideRec.svg"); } void draw(){ …

---

## [Open Discussion for Processing-Android feature implementation](https://discourse.processing.org/t/open-discussion-for-processing-android-feature-implementation/42303)

<div class="topic-metadata">

**Author:** [@AdityaRana](https://discourse.processing.org/u/AdityaRana)\
**Replies:** 0\
**Last updated:** [June 28, 2023, 9:35pm UTC](https://discourse.processing.org/t/open-discussion-for-processing-android-feature-implementation/42303 "2023-06-28T21:35:05Z")

</div>

Hi everyone, lets take a step forward and change the way we implementa features in Processing in opensource. I am proposing a new way to delivery new features in processing w/ opensource, lets start discussion every ti…

---

## [Run auto start a export application Processing 4 on Pi 4](https://discourse.processing.org/t/run-auto-start-a-export-application-processing-4-on-pi-4/42452)

<div class="topic-metadata">

**Author:** [@quydan](https://discourse.processing.org/u/quydan)\
**Replies:** 0\
**Last updated:** [July 19, 2023, 1:33pm UTC](https://discourse.processing.org/t/run-auto-start-a-export-application-processing-4-on-pi-4/42452 "2023-07-19T13:33:45Z")

</div>

Hello every one I make an export application file from processing 4. I want to run auto start after Rasberry Pi 4 booting. Please guide me. Thanks

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

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