# Latest

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

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

**Page:** 136

---

## [Trying to syphon sound from spotify to a sketch](https://discourse.processing.org/t/trying-to-syphon-sound-from-spotify-to-a-sketch/37003)

<div class="topic-metadata">

**Author:** [@yairkass](https://discourse.processing.org/u/yairkass)\
**Replies:** 0\
**Last updated:** [May 21, 2022, 5:36pm UTC](https://discourse.processing.org/t/trying-to-syphon-sound-from-spotify-to-a-sketch/37003 "2022-05-21T17:36:15Z")

</div>

Hey everybody :slight\_smile: I’m testing syphoning sound from my mac to a processing sketch for some audio viz stuff. I installed Sound Siphon and created a new virtual input. When i list my sound devices in processin…

---

## [Pictures in for loop disappear when using other command(redraw();)](https://discourse.processing.org/t/pictures-in-for-loop-disappear-when-using-other-command-redraw/37000)

<div class="topic-metadata">

**Author:** [@Katharina](https://discourse.processing.org/u/Katharina)\
**Replies:** 1\
**Last updated:** [May 21, 2022, 2:20pm UTC](https://discourse.processing.org/t/pictures-in-for-loop-disappear-when-using-other-command-redraw/37000 "2022-05-21T14:20:56Z")

</div>

Before giving the Problem + code let me tell you my Programm. Im trying to create a dress up game for my schoolwork. You click on a bar and the game starts. I’ve created 3 lines of arrows (pfeil) for that: \<–(left) and -…

---

## [How to display multiple line using nested loop](https://discourse.processing.org/t/how-to-display-multiple-line-using-nested-loop/36994)

<div class="topic-metadata">

**Author:** [@Bossinnit](https://discourse.processing.org/u/Bossinnit)\
**Replies:** 4\
**Last updated:** [May 21, 2022, 12:39pm UTC](https://discourse.processing.org/t/how-to-display-multiple-line-using-nested-loop/36994 "2022-05-21T12:39:16Z")

</div>

I am trying to draw a lane through the use of nested loop, where i can control the lanes through use of “final int”, I have pretty much tried everything but didn’t result as i would like to be.

---

## [Scorewriter for Gregorian chorales / Gregorian chant](https://discourse.processing.org/t/scorewriter-for-gregorian-chorales-gregorian-chant/36969)

<div class="topic-metadata">

**Author:** [@NumericPrime](https://discourse.processing.org/u/NumericPrime)\
**Replies:** 9\
**Last updated:** [May 21, 2022, 9:41am UTC](https://discourse.processing.org/t/scorewriter-for-gregorian-chorales-gregorian-chant/36969 "2022-05-21T09:41:29Z")

</div>

I just wanted to share my biggest project yet! It is a scorewriter for gregorianic chorals and old form of music. I’ve written that software for my school wich is in Germany so in the source code a few parts have a Germ…

---

## [Ignore single click on double triple four etc click](https://discourse.processing.org/t/ignore-single-click-on-double-triple-four-etc-click/36990)

<div class="topic-metadata">

**Author:** [@xxlinxx](https://discourse.processing.org/u/xxlinxx)\
**Replies:** 0\
**Last updated:** [May 21, 2022, 9:05am UTC](https://discourse.processing.org/t/ignore-single-click-on-double-triple-four-etc-click/36990 "2022-05-21T09:05:01Z")

</div>

public void mousePressed(MouseEvent e) { if (e.getButton() == LEFT) { clickTimerStart(e); if(e.getCount()==1){ } else if(e.getCount()==2){ //also t…

---

## [Copy from source to PGraphics](https://discourse.processing.org/t/copy-from-source-to-pgraphics/36958)

<div class="topic-metadata">

**Author:** [@Luis\_Luethi1](https://discourse.processing.org/u/Luis_Luethi1)\
**Replies:** 2\
**Last updated:** [May 21, 2022, 8:39am UTC](https://discourse.processing.org/t/copy-from-source-to-pgraphics/36958 "2022-05-21T08:39:32Z")

</div>

Hello, I am working on a simple visualization from the slitscan process. I try to copy from an movie input into an PGraphics buffer. When I try it I get the following error when I try to copy in draw. Width (0) and hei…

---

## [Guide(s): Interesting methods to implement in your sketch](https://discourse.processing.org/t/guide-s-interesting-methods-to-implement-in-your-sketch/36981)

<div class="topic-metadata">

**Author:** [@NumericPrime](https://discourse.processing.org/u/NumericPrime)\
**Replies:** 1\
**Last updated:** [May 21, 2022, 7:22am UTC](https://discourse.processing.org/t/guide-s-interesting-methods-to-implement-in-your-sketch/36981 "2022-05-21T07:22:40Z")

</div>

Over the years I work with processing I learned a few useful tricks to help me at points where Processing seems to hit it’s limits. I want to share a few of these tricks with you: Save current state of the sketchIf you …

---

## [Problems with Serial Library](https://discourse.processing.org/t/problems-with-serial-library/36988)

<div class="topic-metadata">

**Author:** [@hbridge](https://discourse.processing.org/u/hbridge)\
**Replies:** 0\
**Last updated:** [May 21, 2022, 3:16am UTC](https://discourse.processing.org/t/problems-with-serial-library/36988 "2022-05-21T03:16:47Z")

</div>

I have a Processing sketch that receives Serial and writes a csv file. It all worked fine on my old Macbook laptop. Maybe OSX 10.10 or something. I got a new laptop (with an Apple chip) and OSX 12.3 and Processing will n…

---

## [GSoC'22 Proposal -p5.js Teach Page Update](https://discourse.processing.org/t/gsoc22-proposal-p5-js-teach-page-update/36321)

<div class="topic-metadata">

**Author:** [@GraciaZ](https://discourse.processing.org/u/GraciaZ)\
**Replies:** 5\
**Last updated:** [May 21, 2022, 3:05am UTC](https://discourse.processing.org/t/gsoc22-proposal-p5-js-teach-page-update/36321 "2022-05-21T03:05:59Z")

</div>

Hi I’m Gracia! Here’s my proposal to improve Teach Page: Please feel free to suggest my proposal! I would appreciate that! :smiley: @yinhwa

---

## [Circle Packing. Trying to implement on my project](https://discourse.processing.org/t/circle-packing-trying-to-implement-on-my-project/8368)

<div class="topic-metadata">

**Author:** [@agitcelik](https://discourse.processing.org/u/agitcelik)\
**Replies:** 21\
**Last updated:** [May 21, 2022, 12:56am UTC](https://discourse.processing.org/t/circle-packing-trying-to-implement-on-my-project/8368 "2022-05-21T00:56:07Z")

</div>

Hi, Came here from below youtube discussion, I am working on my final thesis and I watched your video related to circle packing (https://www.youtube.com/watch?v=pF0cadg2mg0). I have some question on my mind. Github li…

---

## [3D Flocking simulation with two species and octree optimisation](https://discourse.processing.org/t/3d-flocking-simulation-with-two-species-and-octree-optimisation/36984)

<div class="topic-metadata">

**Author:** [@m.codeeee](https://discourse.processing.org/u/m.codeeee)\
**Replies:** 0\
**Last updated:** [May 20, 2022, 10:01pm UTC](https://discourse.processing.org/t/3d-flocking-simulation-with-two-species-and-octree-optimisation/36984 "2022-05-20T22:01:27Z")

</div>

Hi, I’m trying to set up a flocking simulation with two species of boids and octree optimization. My problem here is that I want the two species to run on different octrees, and I don’t really understand how to do that …

---

## [Confusing order of download links](https://discourse.processing.org/t/confusing-order-of-download-links/36831)

<div class="topic-metadata">

**Author:** [@jango\_fx](https://discourse.processing.org/u/jango_fx)\
**Replies:** 1\
**Last updated:** [May 11, 2022, 10:24pm UTC](https://discourse.processing.org/t/confusing-order-of-download-links/36831 "2022-05-11T22:24:12Z")

</div>

maybe it’s just me and there’s a reason behind it, but i find the current order of download links on the website super confusing if there are 2-3 version of an current OS i would expect all alternatives clearly group…

---

## [Sampler2D doesnt show the exact PImage, but the average color of the PImage](https://discourse.processing.org/t/sampler2d-doesnt-show-the-exact-pimage-but-the-average-color-of-the-pimage/36972)

<div class="topic-metadata">

**Author:** [@Sevval](https://discourse.processing.org/u/Sevval)\
**Replies:** 2\
**Last updated:** [May 20, 2022, 10:54am UTC](https://discourse.processing.org/t/sampler2d-doesnt-show-the-exact-pimage-but-the-average-color-of-the-pimage/36972 "2022-05-20T10:54:28Z")

</div>

I’m trying to write a simple shader where I just copy the current frame of the program into the shader via the shader.set function: PShader shader; PImage screen; void setup(){ size(1000, 1000, P2D); shader = new …

---

## [Error:VideoExport.startFfmpeg(Unknown Source) but ffmpeg is already installed](https://discourse.processing.org/t/error-videoexport-startffmpeg-unknown-source-but-ffmpeg-is-already-installed/36977)

<div class="topic-metadata">

**Author:** [@salt](https://discourse.processing.org/u/salt)\
**Replies:** 1\
**Last updated:** [May 20, 2022, 5:41am UTC](https://discourse.processing.org/t/error-videoexport-startffmpeg-unknown-source-but-ffmpeg-is-already-installed/36977 "2022-05-20T05:41:26Z")

</div>

Ffmpeg is already installed on your computer C:\\Users\\Fu\>ffmpeg ffmpeg version 5.0.1-essentials\_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers NullPointerException at com.hamoid.VideoExport.startFfm…

---

## [Accessing local elements in another function in p5js](https://discourse.processing.org/t/accessing-local-elements-in-another-function-in-p5js/36978)

<div class="topic-metadata">

**Author:** [@lvndr](https://discourse.processing.org/u/lvndr)\
**Replies:** 0\
**Last updated:** [May 20, 2022, 5:20am UTC](https://discourse.processing.org/t/accessing-local-elements-in-another-function-in-p5js/36978 "2022-05-20T05:20:17Z")

</div>

I am pretty new to p5js and website building, I am doing a project for uni-related to emotion sensing Ai, basically, it generates recipes based on your emotion. I have built a random recipe generator but I need to append…

---

## [Hey guys, was wondering how i can make a scoring system and get my character to reset? I also need to be able to change the max score](https://discourse.processing.org/t/hey-guys-was-wondering-how-i-can-make-a-scoring-system-and-get-my-character-to-reset-i-also-need-to-be-able-to-change-the-max-score/36940)

<div class="topic-metadata">

**Author:** [@mosey](https://discourse.processing.org/u/mosey)\
**Replies:** 9\
**Last updated:** [May 20, 2022, 4:13am UTC](https://discourse.processing.org/t/hey-guys-was-wondering-how-i-can-make-a-scoring-system-and-get-my-character-to-reset-i-also-need-to-be-able-to-change-the-max-score/36940 "2022-05-20T04:13:22Z")

</div>

int pedestrianX; int pedestrianY; int vehicleX; int vehicleY; PFont f; int lineX = 0; int lineY = 80; // Vertical location of each line int spacing = 50; // How far apart is each line int len = 50; // L…

---

## [Kerning problem with .otf font in p5.js](https://discourse.processing.org/t/kerning-problem-with-otf-font-in-p5-js/36974)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 0\
**Last updated:** [May 20, 2022, 12:33am UTC](https://discourse.processing.org/t/kerning-problem-with-otf-font-in-p5-js/36974 "2022-05-20T00:33:39Z")

</div>

A kerning problem with an .otf font called NewgroundsFont-Regular has been posted on Stack Overflow and there have been no answers which address the underlying problem, so I am reposting a shortened version of the source…

---

## [P5 Access Day on Saturday, May 21](https://discourse.processing.org/t/p5-access-day-on-saturday-may-21/36973)

<div class="topic-metadata">

**Author:** [@saberkhan](https://discourse.processing.org/u/saberkhan)\
**Replies:** 0\
**Last updated:** [May 20, 2022, 12:29am UTC](https://discourse.processing.org/t/p5-access-day-on-saturday-may-21/36973 "2022-05-20T00:29:44Z")

</div>

p5.js Access Day is THIS SATURDAY, May 21, 10:00am - 3:30pm PST! Join us for all 4 sessions or pop in for the sessions of your interest! The p5.js Access Day is a virtual conference to talk about access in open-source …

---

## [Infinite scrolling?!](https://discourse.processing.org/t/infinite-scrolling/34028)

<div class="topic-metadata">

**Author:** [@doordewar](https://discourse.processing.org/u/doordewar)\
**Replies:** 7\
**Last updated:** [May 18, 2022, 10:58am UTC](https://discourse.processing.org/t/infinite-scrolling/34028 "2022-05-18T10:58:58Z")

</div>

Hi all, I am trying to create infinite scrolling of images (only vertically), basically like any infinite scroll (social) media platform. What would be the way to go about this? I have tried preloading a large amount of…

---

## [How to add a new item in a arraylist when this class is defined by myself?](https://discourse.processing.org/t/how-to-add-a-new-item-in-a-arraylist-when-this-class-is-defined-by-myself/36944)

<div class="topic-metadata">

**Author:** [@Lee027](https://discourse.processing.org/u/Lee027)\
**Replies:** 6\
**Last updated:** [May 19, 2022, 2:06pm UTC](https://discourse.processing.org/t/how-to-add-a-new-item-in-a-arraylist-when-this-class-is-defined-by-myself/36944 "2022-05-19T14:06:53Z")

</div>

I defined a class named (drop) to represent a moving cloud with rain. And then I created an array uninitialized named (drops\[\]) to represent a list will increase automatically with ‘for loop’ in a table. But when using …

---

## [Instagram video settings with VideoExport and FFMPEG](https://discourse.processing.org/t/instagram-video-settings-with-videoexport-and-ffmpeg/32759)

<div class="topic-metadata">

**Author:** [@fmiramar0101101](https://discourse.processing.org/u/fmiramar0101101)\
**Replies:** 3\
**Last updated:** [May 19, 2022, 1:43pm UTC](https://discourse.processing.org/t/instagram-video-settings-with-videoexport-and-ffmpeg/32759 "2022-05-19T13:43:55Z")

</div>

Hi everybody! I am trying to export a high resolution animation to Instagram using Video Export but after the upload it is getting heavily compressed. I am using size(1080, 1350) and videoExport.setFrameRate(30). I’ve …

---

## [Processing IDE: option key does not allow moving the cursor around in macOS](https://discourse.processing.org/t/processing-ide-option-key-does-not-allow-moving-the-cursor-around-in-macos/36955)

<div class="topic-metadata">

**Author:** [@kryt](https://discourse.processing.org/u/kryt)\
**Replies:** 0\
**Last updated:** [May 19, 2022, 5:30am UTC](https://discourse.processing.org/t/processing-ide-option-key-does-not-allow-moving-the-cursor-around-in-macos/36955 "2022-05-19T05:30:06Z")

</div>

I’m looking for a fix for macOS version of the IDE. Normally when editing text in other environments, whether it is for coding or for text, one can move the cursor around word-by-word basis by keeping option-key pressed…

---

## [Beziers with noise](https://discourse.processing.org/t/beziers-with-noise/36949)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 7\
**Last updated:** [May 19, 2022, 12:19am UTC](https://discourse.processing.org/t/beziers-with-noise/36949 "2022-05-19T00:19:08Z")

</div>

Hi there, I am doing a loop with bezier curves and I am trying to make small variations between them, as you can see on the picture. I have read that noise function is the best way to make these kind of variations but I…

---

## [\[Android\] Is it possible to update libraries like Ketai?](https://discourse.processing.org/t/android-is-it-possible-to-update-libraries-like-ketai/36856)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 4\
**Last updated:** [May 18, 2022, 11:12pm UTC](https://discourse.processing.org/t/android-is-it-possible-to-update-libraries-like-ketai/36856 "2022-05-18T23:12:50Z")

</div>

\[Android\] Is it possible to update libraries like Ketai? hello. I have created several projects and APPs through ‘Android Processing’. Good environment and software. However, there are many things that do not work thr…

---

## [Rotate() a Texture in a PShape don't work anymore in P4](https://discourse.processing.org/t/rotate-a-texture-in-a-pshape-dont-work-anymore-in-p4/36941)

<div class="topic-metadata">

**Author:** [@matheplica](https://discourse.processing.org/u/matheplica)\
**Replies:** 0\
**Last updated:** [May 18, 2022, 12:45pm UTC](https://discourse.processing.org/t/rotate-a-texture-in-a-pshape-dont-work-anymore-in-p4/36941 "2022-05-18T12:45:07Z")

</div>

Hi, I’m trying to use this code in P4 to rotate a Texture in a PShape void adaptTexture() { uvtr.reset(); uvtr.translate(0.5, 0.5); uvtr.rotate(rotText); uvtr.translate(-0.5, -0.5); …

---

## [Loop inside loop - find latest loop value](https://discourse.processing.org/t/loop-inside-loop-find-latest-loop-value/36945)

<div class="topic-metadata">

**Author:** [@Erif](https://discourse.processing.org/u/Erif)\
**Replies:** 2\
**Last updated:** [May 18, 2022, 8:40pm UTC](https://discourse.processing.org/t/loop-inside-loop-find-latest-loop-value/36945 "2022-05-18T20:40:47Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hi there, I still have some issues with nested loops conceptually. Is there a way to know what would be the last value of ‘angle’ before the lo…

---

## [SimpleSliderWithArrows](https://discourse.processing.org/t/simplesliderwitharrows/36912)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 1\
**Last updated:** [May 18, 2022, 3:50pm UTC](https://discourse.processing.org/t/simplesliderwitharrows/36912 "2022-05-18T15:50:51Z")

</div>

/\* Simple slider with vertical arrows. \*/ color BLUE = color(64, 124, 188); color LTGRAY = color(185, 180, 180); color YELLOW = color(245, 250, 13); color RED = color(255, 0, 0); color BLACK = color(0, 0, 0); color WH…

---

## [How to read ProcessBuilder's output stream in controlP5's console in the sketch?](https://discourse.processing.org/t/how-to-read-processbuilders-output-stream-in-controlp5s-console-in-the-sketch/36909)

<div class="topic-metadata">

**Author:** [@dattasaurabh82](https://discourse.processing.org/u/dattasaurabh82)\
**Replies:** 5\
**Last updated:** [May 18, 2022, 1:43am UTC](https://discourse.processing.org/t/how-to-read-processbuilders-output-stream-in-controlp5s-console-in-the-sketch/36909 "2022-05-18T01:43:12Z")

</div>

Intent: Run a shell command from sketch on a keyPress event and show the command’s output in Sketch window. Idea: Use controlp5 GUI library to draw a console in sketch and use println() to print output. Sketch: import…

---

## [Traversing elements inside an array which is inside another array in p5js](https://discourse.processing.org/t/traversing-elements-inside-an-array-which-is-inside-another-array-in-p5js/36923)

<div class="topic-metadata">

**Author:** [@lvndr](https://discourse.processing.org/u/lvndr)\
**Replies:** 1\
**Last updated:** [May 17, 2022, 8:32pm UTC](https://discourse.processing.org/t/traversing-elements-inside-an-array-which-is-inside-another-array-in-p5js/36923 "2022-05-17T20:32:28Z")

</div>

Is there a way in p5js to traverse elements inside an array that is inside another array? This is the CSV file I am using, and I want to access the elements inside the ingredients column one by one. Since each row ha…

---

## [PCD Copenhagen 2022 featuring Shiffman!](https://discourse.processing.org/t/pcd-copenhagen-2022-featuring-shiffman/36928)

<div class="topic-metadata">

**Author:** [@AndreasRef](https://discourse.processing.org/u/AndreasRef)\
**Replies:** 0\
**Last updated:** [May 17, 2022, 7:39pm UTC](https://discourse.processing.org/t/pcd-copenhagen-2022-featuring-shiffman/36928 "2022-05-17T19:39:06Z")

</div>

Very happy to announce that Daniel Shiffman from The Coding Train will be in Copenhagen for Processing Community Day Copenhagen 2022 June 14th. A free event with workshops, talks and friendly people! Tickets and more inf…

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

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