# Latest

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

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

**Page:** 59

---

## [Video halts shortly after loading](https://discourse.processing.org/t/video-halts-shortly-after-loading/42997)

<div class="topic-metadata">

**Author:** [@enrike](https://discourse.processing.org/u/enrike)\
**Replies:** 0\
**Last updated:** [October 17, 2023, 6:08pm UTC](https://discourse.processing.org/t/video-halts-shortly-after-loading/42997 "2023-10-17T18:08:00Z")

</div>

Hi I have this code below that keeps playing random short videos from a folder. They are all around 10 secs. I noticed that randomly once in a while when loading a new video the program halts but gives no error at all. …

---

## [I don't know what I am doing wrong! (class and brackets)](https://discourse.processing.org/t/i-dont-know-what-i-am-doing-wrong-class-and-brackets/42978)

<div class="topic-metadata">

**Author:** [@Amamallama](https://discourse.processing.org/u/Amamallama)\
**Replies:** 27\
**Last updated:** [October 17, 2023, 12:29pm UTC](https://discourse.processing.org/t/i-dont-know-what-i-am-doing-wrong-class-and-brackets/42978 "2023-10-17T12:29:47Z")

</div>

Doing the zoog assignment and we are starting with the class chapters. We are working on our zoog and I can’t figure out what is wrong with my code. I am a suppperrr beginner. My brain just isn’t processing (ha see what…

---

## [selectInput() + loadTable()](https://discourse.processing.org/t/selectinput-loadtable/42966)

<div class="topic-metadata">

**Author:** [@xxxdiegoxxx](https://discourse.processing.org/u/xxxdiegoxxx)\
**Replies:** 3\
**Last updated:** [October 17, 2023, 11:47am UTC](https://discourse.processing.org/t/selectinput-loadtable/42966 "2023-10-17T11:47:45Z")

</div>

Hi! im on a sketch in which i have some classes and one of then should take a .csv file and create some lists. ive set a global string to receive the selectInput() result and asked the class to generate the table using …

---

## [Processing Community Day @ Copenhagen, Denmark 11/11 2023](https://discourse.processing.org/t/processing-community-day-copenhagen-denmark-11-11-2023/42991)

<div class="topic-metadata">

**Author:** [@AndreasRef](https://discourse.processing.org/u/AndreasRef)\
**Replies:** 0\
**Last updated:** [October 17, 2023, 8:12am UTC](https://discourse.processing.org/t/processing-community-day-copenhagen-denmark-11-11-2023/42991 "2023-10-17T08:12:53Z")

</div>

Happy to announce Processing Community Day Copenhagen, Denmark 2023 November 11th. A free event with talks, food and friendly people! Keynote Tim Rodenbröker This year we have the pleasure of welcoming Tim Rodenbröke…

---

## [Can't access p5.Vector methods in typescript, like random2D() and sub()](https://discourse.processing.org/t/cant-access-p5-vector-methods-in-typescript-like-random2d-and-sub/38315)

<div class="topic-metadata">

**Author:** [@pedrocoelho](https://discourse.processing.org/u/pedrocoelho)\
**Replies:** 4\
**Last updated:** [October 16, 2023, 8:20pm UTC](https://discourse.processing.org/t/cant-access-p5-vector-methods-in-typescript-like-random2d-and-sub/38315 "2023-10-16T20:20:46Z")

</div>

Hello, I’m new to p5.js and I’m trying to convert what I learned in a tutorial from the Coding Train into a NextJS app with React and Typescript. I have this Vehicle class but when I try to use any Vector methods I get …

---

## [Why is the saved gif low-quality? What can I do about this?](https://discourse.processing.org/t/why-is-the-saved-gif-low-quality-what-can-i-do-about-this/42985)

<div class="topic-metadata">

**Author:** [@laya](https://discourse.processing.org/u/laya)\
**Replies:** 0\
**Last updated:** [October 16, 2023, 2:24pm UTC](https://discourse.processing.org/t/why-is-the-saved-gif-low-quality-what-can-i-do-about-this/42985 "2023-10-16T14:24:06Z")

</div>

Swear the trailing light was smoother in the browser.

---

## [Save a PShape on Hard Drive (please help)](https://discourse.processing.org/t/save-a-pshape-on-hard-drive-please-help/34389)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 6\
**Last updated:** [October 15, 2023, 5:46pm UTC](https://discourse.processing.org/t/save-a-pshape-on-hard-drive-please-help/34389 "2023-10-15T17:46:05Z")

</div>

hello all, I am generating an PShape from a CSG (with JCSG) and wanted to ask whether I can save the PShape in one go. like (pseudo code) PShape myShape; ....... myShape.save(sketchPath("")+"sample.obj"); Any ideas? …

---

## [FX2D is better than P2D](https://discourse.processing.org/t/fx2d-is-better-than-p2d/42937)

<div class="topic-metadata">

**Author:** [@nuhuhwy](https://discourse.processing.org/u/nuhuhwy)\
**Replies:** 2\
**Last updated:** [October 15, 2023, 12:37pm UTC](https://discourse.processing.org/t/fx2d-is-better-than-p2d/42937 "2023-10-15T12:37:41Z")

</div>

If you want to use GLSL and a pressure library, use P2D. If not, use FX2D, because: Rounded Rectangles in rect(100,100,200,200,25); look incredibly weird, if you want clear strokes. (compare it using FX2D / Default r…

---

## [First use of image() takes too long on integrated graphics](https://discourse.processing.org/t/first-use-of-image-takes-too-long-on-integrated-graphics/42950)

<div class="topic-metadata">

**Author:** [@User442B](https://discourse.processing.org/u/User442B)\
**Replies:** 2\
**Last updated:** [October 15, 2023, 1:56am UTC](https://discourse.processing.org/t/first-use-of-image-takes-too-long-on-integrated-graphics/42950 "2023-10-15T01:56:39Z")

</div>

A game I have made with Processing is in closed beta at the moment, and one issue that has come up is excessive hang ups the first time an image is drawn. For context the game uses the P2D renderer. The background for th…

---

## [What can be a good alternative to Syphon in Windows?](https://discourse.processing.org/t/what-can-be-a-good-alternative-to-syphon-in-windows/42959)

<div class="topic-metadata">

**Author:** [@tmm88](https://discourse.processing.org/u/tmm88)\
**Replies:** 0\
**Last updated:** [October 13, 2023, 12:07pm UTC](https://discourse.processing.org/t/what-can-be-a-good-alternative-to-syphon-in-windows/42959 "2023-10-13T12:07:58Z")

</div>

what can be a good alternative to syphon in windows? i heard of: Spout NDI (network device interface) what is your piece of advice

---

## [Text rendering off-center in P2D renderer](https://discourse.processing.org/t/text-rendering-off-center-in-p2d-renderer/42947)

<div class="topic-metadata">

**Author:** [@Username3](https://discourse.processing.org/u/Username3)\
**Replies:** 3\
**Last updated:** [October 14, 2023, 12:56pm UTC](https://discourse.processing.org/t/text-rendering-off-center-in-p2d-renderer/42947 "2023-10-14T12:56:19Z")

</div>

When I try to draw text in the P2D renderer, it draws slightly below where I want it, and the line spacing is greatly increased compared to the default renderer (see the image) Does anyone know why it does this? Thank…

---

## [Which sound library should I use?](https://discourse.processing.org/t/which-sound-library-should-i-use/42935)

<div class="topic-metadata">

**Author:** [@berndbausch](https://discourse.processing.org/u/berndbausch)\
**Replies:** 25\
**Last updated:** [October 14, 2023, 12:28pm UTC](https://discourse.processing.org/t/which-sound-library-should-i-use/42935 "2023-10-14T12:28:46Z")

</div>

I am aware of three libraries: Built-in Sound, Minim, and Beads. My main goal is sound synthesis. While I have not studied them in-depth (I want to avoid investing time in learning about a tool I won’t use), this is wha…

---

## [Asking for some open unassigned good first issues](https://discourse.processing.org/t/asking-for-some-open-unassigned-good-first-issues/42843)

<div class="topic-metadata">

**Author:** [@vibhoo24](https://discourse.processing.org/u/vibhoo24)\
**Replies:** 3\
**Last updated:** [October 13, 2023, 8:17pm UTC](https://discourse.processing.org/t/asking-for-some-open-unassigned-good-first-issues/42843 "2023-10-13T20:17:17Z")

</div>

Hi there! I have setup the p5.js web editor locally following the Readme.md. I am unable to find open unassigned good first issues.

---

## [How to play a short animation upon interaction (rotate a shape)](https://discourse.processing.org/t/how-to-play-a-short-animation-upon-interaction-rotate-a-shape/42934)

<div class="topic-metadata">

**Author:** [@jackeddielove](https://discourse.processing.org/u/jackeddielove)\
**Replies:** 14\
**Last updated:** [October 13, 2023, 6:01am UTC](https://discourse.processing.org/t/how-to-play-a-short-animation-upon-interaction-rotate-a-shape/42934 "2023-10-13T06:01:58Z")

</div>

Hi all! I want to rotate a cube about a particular axis through a particular angle every time the user presses the RIGHTARROW key. I want the user to see the rotation happen, starting at its original position and rotati…

---

## [Sound library audio formats](https://discourse.processing.org/t/sound-library-audio-formats/42841)

<div class="topic-metadata">

**Author:** [@kellyegan](https://discourse.processing.org/u/kellyegan)\
**Replies:** 6\
**Last updated:** [October 13, 2023, 2:26am UTC](https://discourse.processing.org/t/sound-library-audio-formats/42841 "2023-10-13T02:26:30Z")

</div>

I am having some weird results for playing specific wav files I have exported from Audacity in the Sound library. Certain files will glitch and distort. The audio plays fine in other audio program and when using other so…

---

## [Get value from slider in child window to main window](https://discourse.processing.org/t/get-value-from-slider-in-child-window-to-main-window/42953)

<div class="topic-metadata">

**Author:** [@Leo\_Aguiar](https://discourse.processing.org/u/Leo_Aguiar)\
**Replies:** 1\
**Last updated:** [October 12, 2023, 9:27pm UTC](https://discourse.processing.org/t/get-value-from-slider-in-child-window-to-main-window/42953 "2023-10-12T21:27:28Z")

</div>

Hi, I have a sketch that builds on top of the MultipleWindows example provided with the Processing IDE. I am trying to use the controlP5 library sliders to change variables in the main sketch but I don’t know why it isn’…

---

## [Help wanted, regarding JavaFX Tablet pressure!](https://discourse.processing.org/t/help-wanted-regarding-javafx-tablet-pressure/42870)

<div class="topic-metadata">

**Author:** [@nuhuhwy](https://discourse.processing.org/u/nuhuhwy)\
**Replies:** 19\
**Last updated:** [October 12, 2023, 3:25pm UTC](https://discourse.processing.org/t/help-wanted-regarding-javafx-tablet-pressure/42870 "2023-10-12T15:25:21Z")

</div>

Is there any method to get the tablet pressure on windows & Linux using any library using the FX2D (javafx) renderer in processing? Mabye using the commandline it would be possible to get the pressure of the pen? Using…

---

## [Array of pixels (enclosed in shape)](https://discourse.processing.org/t/array-of-pixels-enclosed-in-shape/42946)

<div class="topic-metadata">

**Author:** [@Wouter](https://discourse.processing.org/u/Wouter)\
**Replies:** 8\
**Last updated:** [October 12, 2023, 12:31pm UTC](https://discourse.processing.org/t/array-of-pixels-enclosed-in-shape/42946 "2023-10-12T12:31:04Z")

</div>

Hi there! If you draw a closed shape in processing, is there a way to get all points/pixels that the shape encloses in a separate array? Best wishes, Wouter

---

## [CreateFont() doesn't work](https://discourse.processing.org/t/createfont-doesnt-work/42942)

<div class="topic-metadata">

**Author:** [@AniManOtaku](https://discourse.processing.org/u/AniManOtaku)\
**Replies:** 5\
**Last updated:** [October 12, 2023, 10:31am UTC](https://discourse.processing.org/t/createfont-doesnt-work/42942 "2023-10-12T10:31:23Z")

</div>

Hello, I tried to use the createFont() function, but when I use it, the app just closes. code: PFont font; void setup(){ font=createFont("FieldGuide.ttf",100); textFont(font,100); } void draw() { background(255…

---

## [Get CMD output?](https://discourse.processing.org/t/get-cmd-output/42949)

<div class="topic-metadata">

**Author:** [@nuhuhwy](https://discourse.processing.org/u/nuhuhwy)\
**Replies:** 0\
**Last updated:** [October 12, 2023, 1:15am UTC](https://discourse.processing.org/t/get-cmd-output/42949 "2023-10-12T01:15:53Z")

</div>

Is there a way to get the bash output, that a bash file might produce? and can this run at 120fps or is this highly inefficient?

---

## [The table is not displaying updated data](https://discourse.processing.org/t/the-table-is-not-displaying-updated-data/42931)

<div class="topic-metadata">

**Author:** [@kusspuss](https://discourse.processing.org/u/kusspuss)\
**Replies:** 6\
**Last updated:** [October 11, 2023, 1:09pm UTC](https://discourse.processing.org/t/the-table-is-not-displaying-updated-data/42931 "2023-10-11T13:09:00Z")

</div>

the table is not displaying updated data , processing ide recieved parsed values import processing.serial.\*; import java.util.ArrayList; Serial myPort; // Create a Serial object Table dataTable; // A table to store the…

---

## [Ben Fry resigning from the Processing Foundation](https://discourse.processing.org/t/ben-fry-resigning-from-the-processing-foundation/42888)

<div class="topic-metadata">

**Author:** [@solub](https://discourse.processing.org/u/solub)\
**Replies:** 20\
**Last updated:** [October 11, 2023, 11:28am UTC](https://discourse.processing.org/t/ben-fry-resigning-from-the-processing-foundation/42888 "2023-10-11T11:28:30Z")

</div>

---

## [Enums in Processing](https://discourse.processing.org/t/enums-in-processing/42930)

<div class="topic-metadata">

**Author:** [@nuhuhwy](https://discourse.processing.org/u/nuhuhwy)\
**Replies:** 2\
**Last updated:** [October 9, 2023, 8:12pm UTC](https://discourse.processing.org/t/enums-in-processing/42930 "2023-10-09T20:12:51Z")

</div>

Do enums work in processing? I didn’t find an example sadly, would be great help if someone could provide an example! :slight\_smile:

---

## [Display grid of objects (animated circles)](https://discourse.processing.org/t/display-grid-of-objects-animated-circles/42927)

<div class="topic-metadata">

**Author:** [@Alesk1969](https://discourse.processing.org/u/Alesk1969)\
**Replies:** 5\
**Last updated:** [October 9, 2023, 3:48pm UTC](https://discourse.processing.org/t/display-grid-of-objects-animated-circles/42927 "2023-10-09T15:48:42Z")

</div>

Hi everyone, I know that this is a frequent and simple question but I haven’t been able to find a solution for what I’d like to do. I’m creating an object made of circles. In the class I have a function that modifies t…

---

## [Two MIDI Outputs](https://discourse.processing.org/t/two-midi-outputs/42921)

<div class="topic-metadata">

**Author:** [@Grumpy\_Mike](https://discourse.processing.org/u/Grumpy_Mike)\
**Replies:** 1\
**Last updated:** [October 9, 2023, 11:48am UTC](https://discourse.processing.org/t/two-midi-outputs/42921 "2023-10-09T11:48:18Z")

</div>

I am trying to connect two devices to the MIDI outputs in Processing 4. The problem is that in order to do so I have to use String destination = "device1"; String destination = "device2"; either one will work but not …

---

## [I'm having issues displaying text on a point in a graph when you hover over it in Processing4](https://discourse.processing.org/t/im-having-issues-displaying-text-on-a-point-in-a-graph-when-you-hover-over-it-in-processing4/42923)

<div class="topic-metadata">

**Author:** [@E142](https://discourse.processing.org/u/E142)\
**Replies:** 2\
**Last updated:** [October 8, 2023, 10:57pm UTC](https://discourse.processing.org/t/im-having-issues-displaying-text-on-a-point-in-a-graph-when-you-hover-over-it-in-processing4/42923 "2023-10-08T22:57:52Z")

</div>

I’m having issues displaying text on a point in a graph when you hover over it in Processing4.I have tried using a loop to display the text but it seems the graph plot doesn’t allow anything display on it. I dont know wh…

---

## [How to clear points when using GPlot functions](https://discourse.processing.org/t/how-to-clear-points-when-using-gplot-functions/42912)

<div class="topic-metadata">

**Author:** [@E142](https://discourse.processing.org/u/E142)\
**Replies:** 3\
**Last updated:** [October 8, 2023, 9:48pm UTC](https://discourse.processing.org/t/how-to-clear-points-when-using-gplot-functions/42912 "2023-10-08T21:48:28Z")

</div>

So I have a code that draws a graph using GPlot functions. I am trying to create a function that changes the points on the graph, so I’m looking for a function to clear the previous points. I tried Plot1.clear(), but it …

---

## [saveCanvas() of p5.js stopped working after downloading newest version of Processing](https://discourse.processing.org/t/savecanvas-of-p5-js-stopped-working-after-downloading-newest-version-of-processing/42914)

<div class="topic-metadata">

**Author:** [@laya](https://discourse.processing.org/u/laya)\
**Replies:** 1\
**Last updated:** [October 8, 2023, 11:18am UTC](https://discourse.processing.org/t/savecanvas-of-p5-js-stopped-working-after-downloading-newest-version-of-processing/42914 "2023-10-08T11:18:18Z")

</div>

It was working pretty well before. I was able to save jpg files by just calling saveCanvas() in the setup(). After I downloaded the newest version of processing, it stopped working, and only a blank canvas is saved.

---

## [Reading MPU6050 from Processing](https://discourse.processing.org/t/reading-mpu6050-from-processing/42910)

<div class="topic-metadata">

**Author:** [@Waboqueox](https://discourse.processing.org/u/Waboqueox)\
**Replies:** 3\
**Last updated:** [October 8, 2023, 9:53am UTC](https://discourse.processing.org/t/reading-mpu6050-from-processing/42910 "2023-10-08T09:53:46Z")

</div>

Hi, I’m quite new to Raspberry pi and I’m trying to read a MPU6050 sensor from a Processing program running on it. I already have a C++ demo example working and accessing the MPU6050 info (through the I2C port by which …

---

## [Help wanted using complicated math drawing (spline)](https://discourse.processing.org/t/help-wanted-using-complicated-math-drawing-spline/42911)

<div class="topic-metadata">

**Author:** [@nuhuhwy](https://discourse.processing.org/u/nuhuhwy)\
**Replies:** 2\
**Last updated:** [October 8, 2023, 4:48am UTC](https://discourse.processing.org/t/help-wanted-using-complicated-math-drawing-spline/42911 "2023-10-08T04:48:04Z")

</div>

I tried writing some code that allows the user to add points to an array, then draws a dotted line which is curved. Meaning this is happens: I tried figuring this out myself, but it didnt end well. The only thing i …

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

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