# Latest

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

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

**Page:** 390

---

## [Sketch folder dissapeared](https://discourse.processing.org/t/sketch-folder-dissapeared/17805)

<div class="topic-metadata">

**Author:** [@gomiza](https://discourse.processing.org/u/gomiza)\
**Replies:** 5\
**Last updated:** [February 25, 2020, 6:42am UTC](https://discourse.processing.org/t/sketch-folder-dissapeared/17805 "2020-02-25T06:42:38Z")

</div>

I accidentally moved the Processing folder from the Documents folder to another location and Processing stopped launching: every time I launch Processing, I get an error message that says “Sketch folder disappeared”, and…

---

## [Monitoring process of ffmpeg in processing](https://discourse.processing.org/t/monitoring-process-of-ffmpeg-in-processing/17950)

<div class="topic-metadata">

**Author:** [@tribblesontoast](https://discourse.processing.org/u/tribblesontoast)\
**Replies:** 7\
**Last updated:** [February 25, 2020, 5:32am UTC](https://discourse.processing.org/t/monitoring-process-of-ffmpeg-in-processing/17950 "2020-02-25T05:32:10Z")

</div>

Hi all, I’m using ffmpeg to output audio tracks from videos using the example by Hamoid found here but slightly modified (code below). What I would like to do is to pipe the progress from ffmpeg back into processing so…

---

## [PCD @ Worldwide 2020](https://discourse.processing.org/t/pcd-worldwide-2020/14980)

<div class="topic-metadata">

**Author:** [@saberkhan](https://discourse.processing.org/u/saberkhan)\
**Replies:** 8\
**Last updated:** [February 25, 2020, 1:45am UTC](https://discourse.processing.org/t/pcd-worldwide-2020/14980 "2020-02-25T01:45:45Z")

</div>

Hello PCD Worldwide organizers! We are back. We have a new website - https://processingfoundation.org/advocacy/processing-community-day-2020. Please introduce yourself - who are you? Where are you hosting a PCD and wha…

---

## [Why can't i color this bubble?](https://discourse.processing.org/t/why-cant-i-color-this-bubble/17915)

<div class="topic-metadata">

**Author:** [@Rai](https://discourse.processing.org/u/Rai)\
**Replies:** 36\
**Last updated:** [February 24, 2020, 9:13pm UTC](https://discourse.processing.org/t/why-cant-i-color-this-bubble/17915 "2020-02-24T21:13:34Z")

</div>

please help me why can’t i color this bubble ? Bubble b1; Bubble b2; void setup() { size(640, 360); b1 = new Bubble(200, 360, 60, color(255, 100, 0)); b2 = new Bubble(400, 360, 60, color(0, 100, 200)); } void dr…

---

## [Drawing connected lines with keystroke commands](https://discourse.processing.org/t/drawing-connected-lines-with-keystroke-commands/17947)

<div class="topic-metadata">

**Author:** [@MichelO](https://discourse.processing.org/u/MichelO)\
**Replies:** 8\
**Last updated:** [February 24, 2020, 2:09pm UTC](https://discourse.processing.org/t/drawing-connected-lines-with-keystroke-commands/17947 "2020-02-24T14:09:53Z")

</div>

I have been trying to write a code that will allow me to press numbers keys and draw lines of that length, each connected to the one before. Ideally, the image would rotate 90 degrees between each line segment. In other …

---

## [How to find location of random object](https://discourse.processing.org/t/how-to-find-location-of-random-object/18061)

<div class="topic-metadata">

**Author:** [@NotConsumable](https://discourse.processing.org/u/NotConsumable)\
**Replies:** 3\
**Last updated:** [February 24, 2020, 11:57am UTC](https://discourse.processing.org/t/how-to-find-location-of-random-object/18061 "2020-02-24T11:57:01Z")

</div>

so I am trying to make a hot and cold game and i have a randomly generated ellipse and i was wondering how to find the location of the ellipse in relation to my mouse so whenever i click it shows me how far away i am fro…

---

## [Why can I not draw in the serialEvent() function?](https://discourse.processing.org/t/why-can-i-not-draw-in-the-serialevent-function/18032)

<div class="topic-metadata">

**Author:** [@tophee](https://discourse.processing.org/u/tophee)\
**Replies:** 6\
**Last updated:** [February 24, 2020, 10:09am UTC](https://discourse.processing.org/t/why-can-i-not-draw-in-the-serialevent-function/18032 "2020-02-24T10:09:55Z")

</div>

When I put the text("Bla", 30,30) in the loop, it works, i.e. it prints “Bla” on my Canvas. void Draw() { text("Bla", 30,30); } But when I but the same code into the serialEvent() function and trigger it by receiving…

---

## [Rosetta Code examples for JRubyArt](https://discourse.processing.org/t/rosetta-code-examples-for-jrubyart/17982)

<div class="topic-metadata">

**Author:** [@monkstone](https://discourse.processing.org/u/monkstone)\
**Replies:** 4\
**Last updated:** [February 23, 2020, 2:25pm UTC](https://discourse.processing.org/t/rosetta-code-examples-for-jrubyart/17982 "2020-02-23T14:25:13Z")

</div>

Only just found @jeremydouglass rosetta code examples, it would be nice exercise for people to have a go at translating for JRubyArt. I had a go at the Animation example:- # Animation # https://rosettacode.org/wiki/Anim…

---

## [Music player now rewinds the whole song](https://discourse.processing.org/t/music-player-now-rewinds-the-whole-song/18036)

<div class="topic-metadata">

**Author:** [@Robb](https://discourse.processing.org/u/Robb)\
**Replies:** 3\
**Last updated:** [February 24, 2020, 5:07am UTC](https://discourse.processing.org/t/music-player-now-rewinds-the-whole-song/18036 "2020-02-24T05:07:56Z")

</div>

I’m new to Processing and programming overall. I’ve been making this code as part of my mid-term assigment. It consists on making a music player with the help of the Minim library. I cannot write code I haven’t been toug…

---

## [How to get a .pdf export in correct dimensions?](https://discourse.processing.org/t/how-to-get-a-pdf-export-in-correct-dimensions/14094)

<div class="topic-metadata">

**Author:** [@Teljemo](https://discourse.processing.org/u/Teljemo)\
**Replies:** 13\
**Last updated:** [February 23, 2020, 6:12am UTC](https://discourse.processing.org/t/how-to-get-a-pdf-export-in-correct-dimensions/14094 "2020-02-23T06:12:56Z")

</div>

Hello! Intro: This is my very first (of many) post in this forum and it is about the issue that made me find this community. A couple of years back I found a “digitizer” project online. (measuring arm) I bought the…

---

## [Task repeat every 10 seconds](https://discourse.processing.org/t/task-repeat-every-10-seconds/18028)

<div class="topic-metadata">

**Author:** [@nathan1](https://discourse.processing.org/u/nathan1)\
**Replies:** 6\
**Last updated:** [February 23, 2020, 7:24pm UTC](https://discourse.processing.org/t/task-repeat-every-10-seconds/18028 "2020-02-23T19:24:31Z")

</div>

Hi, I am using p5 js and I am trying to have some code execute every 10 seconds. I am having trouble finding the solution. Thanks.

---

## [The dry sound of delay function in Sound library is not output](https://discourse.processing.org/t/the-dry-sound-of-delay-function-in-sound-library-is-not-output/17999)

<div class="topic-metadata">

**Author:** [@AETA](https://discourse.processing.org/u/AETA)\
**Replies:** 1\
**Last updated:** [February 22, 2020, 7:00am UTC](https://discourse.processing.org/t/the-dry-sound-of-delay-function-in-sound-library-is-not-output/17999 "2020-02-22T07:00:40Z")

</div>

I tested delay function in Sound library with the simple sequencer. You can control start and stop by space bar. When delaySw = false, it goes well. But, delaySw = true, the dry sound is not output. In addition, I wou…

---

## [Repeating shapes](https://discourse.processing.org/t/repeating-shapes/18033)

<div class="topic-metadata">

**Author:** [@Mythikal](https://discourse.processing.org/u/Mythikal)\
**Replies:** 1\
**Last updated:** [February 23, 2020, 7:03am UTC](https://discourse.processing.org/t/repeating-shapes/18033 "2020-02-23T07:03:37Z")

</div>

I have a player I want to control with the arrow keys. I can’t figure out for the life of me how to stop the objects the player is made out of (an ellipse and rectangle) from repeating after moving. I’m sure the solutio…

---

## [Calculating the impact of a collision in box2d for Processing](https://discourse.processing.org/t/calculating-the-impact-of-a-collision-in-box2d-for-processing/17835)

<div class="topic-metadata">

**Author:** [@ilinx](https://discourse.processing.org/u/ilinx)\
**Replies:** 3\
**Last updated:** [February 23, 2020, 6:10am UTC](https://discourse.processing.org/t/calculating-the-impact-of-a-collision-in-box2d-for-processing/17835 "2020-02-23T06:10:24Z")

</div>

Hi all, I’ve been searching around the internet for a while now, but couldn’t find a solution to the following problem: In box2d for Processing, I’d like to calculate the impact of a contact in order to modify certain …

---

## [Processing 3.5.3 - G4P library - print variable to 2nd window](https://discourse.processing.org/t/processing-3-5-3-g4p-library-print-variable-to-2nd-window/17968)

<div class="topic-metadata">

**Author:** [@Theo68](https://discourse.processing.org/u/Theo68)\
**Replies:** 4\
**Last updated:** [February 21, 2020, 5:47pm UTC](https://discourse.processing.org/t/processing-3-5-3-g4p-library-print-variable-to-2nd-window/17968 "2020-02-21T17:47:24Z")

</div>

I’m using the g4p\_controls library. Pressing a button opens a second window. In the 2nd window I have placed some labels that correspond to the values of a sensor. I’m trying to display the sensor value next to the label…

---

## [Executing shell commands](https://discourse.processing.org/t/executing-shell-commands/18000)

<div class="topic-metadata">

**Author:** [@pandl](https://discourse.processing.org/u/pandl)\
**Replies:** 2\
**Last updated:** [February 23, 2020, 12:54am UTC](https://discourse.processing.org/t/executing-shell-commands/18000 "2020-02-23T00:54:38Z")

</div>

I’m trying to run an executable file as follows: void setup() { noLoop(); } void draw() { launch("/usr/bin/gpsbabel"); launch("/usr/bin/gpsbabel -i gpx -f /home/phil/Downloads/test3.gpx -o garmin -F /dev/ttyUSB0")…

---

## [Check boolean method in all instances for true/false](https://discourse.processing.org/t/check-boolean-method-in-all-instances-for-true-false/18022)

<div class="topic-metadata">

**Author:** [@slow\_izzm](https://discourse.processing.org/u/slow_izzm)\
**Replies:** 12\
**Last updated:** [February 22, 2020, 11:01pm UTC](https://discourse.processing.org/t/check-boolean-method-in-all-instances-for-true-false/18022 "2020-02-22T23:01:24Z")

</div>

This is not scalable, what is the correct way to go about checking to see if the boolean method in all instances are false, rather than && each instance? for (Button b : buttons) { b.render(); if (b.isHovering(…

---

## [textToPoints - error loading](https://discourse.processing.org/t/texttopoints-error-loading/17943)

<div class="topic-metadata">

**Author:** [@bmehta](https://discourse.processing.org/u/bmehta)\
**Replies:** 1\
**Last updated:** [February 22, 2020, 10:16pm UTC](https://discourse.processing.org/t/texttopoints-error-loading/17943 "2020-02-22T22:16:09Z")

</div>

I’m trying to use the textToPoints function: https://p5js.org/reference/#/p5.Font/textToPoints But keep getting the following error: \> p5.js says: It looks like there was a problem loading your font. Try checking if the…

---

## [Glsl background difference](https://discourse.processing.org/t/glsl-background-difference/18024)

<div class="topic-metadata">

**Author:** [@bitCrasher](https://discourse.processing.org/u/bitCrasher)\
**Replies:** 0\
**Last updated:** [February 22, 2020, 8:05pm UTC](https://discourse.processing.org/t/glsl-background-difference/18024 "2020-02-22T20:05:10Z")

</div>

hi to all! i’m tryng to subtract the background ov a video stream processing code import processing.video.\*; Capture video; PShader shader; PGraphics pg; void setup() { size(1280, 720, P2D); shader = loadShade…

---

## [G4P GUI Builder 4.4 Tool](https://discourse.processing.org/t/g4p-gui-builder-4-4-tool/18008)

<div class="topic-metadata">

**Author:** [@Theo68](https://discourse.processing.org/u/Theo68)\
**Replies:** 4\
**Last updated:** [February 22, 2020, 6:01pm UTC](https://discourse.processing.org/t/g4p-gui-builder-4-4-tool/18008 "2020-02-22T18:01:04Z")

</div>

I’ve placed some Labels. One of them enables me to set the option as BOLT or ITALIC. In the rest no.

---

## [Processing Foundation has been accepted into GSOC 2020](https://discourse.processing.org/t/processing-foundation-has-been-accepted-into-gsoc-2020/17956)

<div class="topic-metadata">

**Author:** [@saberkhan](https://discourse.processing.org/u/saberkhan)\
**Replies:** 7\
**Last updated:** [February 22, 2020, 5:48pm UTC](https://discourse.processing.org/t/processing-foundation-has-been-accepted-into-gsoc-2020/17956 "2020-02-22T17:48:26Z")

</div>

Hi everyone, Good news. Processing has been accepted into Google Summer of Code 2020 - https://summerofcode.withgoogle.com/. Students can apply from March 16 thru March 31. If you are interested the Project List is here…

---

## [Saving/Storing a multidimensional array](https://discourse.processing.org/t/saving-storing-a-multidimensional-array/16391)

<div class="topic-metadata">

**Author:** [@Baz](https://discourse.processing.org/u/Baz)\
**Replies:** 4\
**Last updated:** [December 18, 2019, 12:31am UTC](https://discourse.processing.org/t/saving-storing-a-multidimensional-array/16391 "2019-12-18T00:31:54Z")

</div>

For a project of mine I want to create a function that can save a 3d double or a 2d double array such as I can recover what was inside if I restart the program. I think you can do that in JSON, but I never used it, and I…

---

## [Points on a line](https://discourse.processing.org/t/points-on-a-line/17977)

<div class="topic-metadata">

**Author:** [@richardh](https://discourse.processing.org/u/richardh)\
**Replies:** 3\
**Last updated:** [February 22, 2020, 3:44pm UTC](https://discourse.processing.org/t/points-on-a-line/17977 "2020-02-22T15:44:03Z")

</div>

I was looking for help with the following problem; draw a line between two points, along that line place points on it at various % (i.e. place a point every 15% of the line length). place text next to each point with t…

---

## [Tutorial on Easing](https://discourse.processing.org/t/tutorial-on-easing/18011)

<div class="topic-metadata">

**Author:** [@hessa](https://discourse.processing.org/u/hessa)\
**Replies:** 2\
**Last updated:** [February 22, 2020, 3:33pm UTC](https://discourse.processing.org/t/tutorial-on-easing/18011 "2020-02-22T15:33:05Z")

</div>

Theres an easing example on p5js that i would love to make my own but i’m not completely sure how easing works. Can anyone explain how easing works? like why we’re defining these variables and what each of them do? that …

---

## [How to increment a variable on a timer?](https://discourse.processing.org/t/how-to-increment-a-variable-on-a-timer/17984)

<div class="topic-metadata">

**Author:** [@abc](https://discourse.processing.org/u/abc)\
**Replies:** 1\
**Last updated:** [February 21, 2020, 8:50pm UTC](https://discourse.processing.org/t/how-to-increment-a-variable-on-a-timer/17984 "2020-02-21T20:50:01Z")

</div>

My goal was to make the background color change every 4 seconds, yet I can’t seem to figure out what I should use to allow my variable to continuously increase, right now the color stays the same. what do I need to add …

---

## [How should I modify this for loop to satisfy a condition?](https://discourse.processing.org/t/how-should-i-modify-this-for-loop-to-satisfy-a-condition/17994)

<div class="topic-metadata">

**Author:** [@anon94203042](https://discourse.processing.org/u/anon94203042)\
**Replies:** 1\
**Last updated:** [February 22, 2020, 3:57am UTC](https://discourse.processing.org/t/how-should-i-modify-this-for-loop-to-satisfy-a-condition/17994 "2020-02-22T03:57:36Z")

</div>

So let’s say that we have a for loop: SIZE = 3; // can be changed later on for (int a = 250; a \< SIZE; a += 100) What number should I add/multiply to SIZE so that the loop only runs 3 times? And I can’t set SIZE to a …

---

## [How to loop through objects?](https://discourse.processing.org/t/how-to-loop-through-objects/17990)

<div class="topic-metadata">

**Author:** [@anon94203042](https://discourse.processing.org/u/anon94203042)\
**Replies:** 5\
**Last updated:** [February 22, 2020, 2:50am UTC](https://discourse.processing.org/t/how-to-loop-through-objects/17990 "2020-02-22T02:50:21Z")

</div>

Let’s say that we have a simple class in use here: boolean wheatClicked = false; boolean carrotClicked = false; boolean potatoClicked = false; class Crop { int quantity; Crop(int cropQuantity) { quantity …

---

## [How can get the body outline contour through the Kinect?](https://discourse.processing.org/t/how-can-get-the-body-outline-contour-through-the-kinect/10384)

<div class="topic-metadata">

**Author:** [@jiangjun](https://discourse.processing.org/u/jiangjun)\
**Replies:** 7\
**Last updated:** [February 22, 2020, 2:13am UTC](https://discourse.processing.org/t/how-can-get-the-body-outline-contour-through-the-kinect/10384 "2020-02-22T02:13:14Z")

</div>

// code goes here import gab.opencv.\*; import KinectPV2.KJoint; import KinectPV2.\*; KinectPV2 kinect; OpenCV opencv; void setup() { //size(512, 424, P3D); fullScreen(); opencv=new OpenCV(this,1920,1080); // W…

---

## [Where is \`processing-java\` looking for libraries?](https://discourse.processing.org/t/where-is-processing-java-looking-for-libraries/17989)

<div class="topic-metadata">

**Author:** [@tophee](https://discourse.processing.org/u/tophee)\
**Replies:** 0\
**Last updated:** [February 21, 2020, 11:06pm UTC](https://discourse.processing.org/t/where-is-processing-java-looking-for-libraries/17989 "2020-02-21T23:06:16Z")

</div>

When I’m running processing on a headless server as described at https://github.com/processing/processing/wiki/Running-without-a-Display, where does it expect the libraries to be? I’m running xvfb-run /opt/processing-3.…

---

## [Join Slack Channel for GSOC](https://discourse.processing.org/t/join-slack-channel-for-gsoc/17973)

<div class="topic-metadata">

**Author:** [@riteshsp2000](https://discourse.processing.org/u/riteshsp2000)\
**Replies:** 2\
**Last updated:** [February 21, 2020, 10:42pm UTC](https://discourse.processing.org/t/join-slack-channel-for-gsoc/17973 "2020-02-21T22:42:06Z")

</div>

Hello Congratulations on getting selected for GSOC 2020. I was trying to join the slack channel but was not able to sign in. Is there any invite system or any place to sign up? If someone could guide it me it would be h…

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

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