# Latest

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

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

**Page:** 182

---

## [Overlapping one sound multiple times with minim library](https://discourse.processing.org/t/overlapping-one-sound-multiple-times-with-minim-library/32878)

<div class="topic-metadata">

**Author:** [@rojele](https://discourse.processing.org/u/rojele)\
**Replies:** 8\
**Last updated:** [October 31, 2021, 5:29am UTC](https://discourse.processing.org/t/overlapping-one-sound-multiple-times-with-minim-library/32878 "2021-10-31T05:29:09Z")

</div>

Hi, I’m working on the sound part of an interactive installation that would need an event to be triggered by osc an undefined number of times, making the sound linked to it overlaps instead of being rewinded and started …

---

## [Translate() causing problems with colors](https://discourse.processing.org/t/translate-causing-problems-with-colors/33155)

<div class="topic-metadata">

**Author:** [@LindowMan](https://discourse.processing.org/u/LindowMan)\
**Replies:** 2\
**Last updated:** [October 30, 2021, 2:26am UTC](https://discourse.processing.org/t/translate-causing-problems-with-colors/33155 "2021-10-30T02:26:10Z")

</div>

Hello! I am getting somewhat confused with what translate() is doing here. For context, I am writing a dithering algorithm that creates squares of size 16x16. It takes a value between 0 and 255 for brightness as input. …

---

## [When p5js slider value is released function?](https://discourse.processing.org/t/when-p5js-slider-value-is-released-function/30581)

<div class="topic-metadata">

**Author:** [@olaf000olaf](https://discourse.processing.org/u/olaf000olaf)\
**Replies:** 5\
**Last updated:** [October 30, 2021, 10:52pm UTC](https://discourse.processing.org/t/when-p5js-slider-value-is-released-function/30581 "2021-10-30T22:52:57Z")

</div>

I want to re-draw the canvas when the user is done changing the slider values, how could I do that?

---

## [Light reflection](https://discourse.processing.org/t/light-reflection/33177)

<div class="topic-metadata">

**Author:** [@zack10](https://discourse.processing.org/u/zack10)\
**Replies:** 3\
**Last updated:** [October 30, 2021, 9:48pm UTC](https://discourse.processing.org/t/light-reflection/33177 "2021-10-30T21:48:25Z")

</div>

Hello i want to illuminate objects that are close to the sphere so when it’s dark i can see the object in the dark and also the objects which is close to it thank you

---

## [\[CANCELED\] G4P GUI Builder - cannot reopen a previous generated gui](https://discourse.processing.org/t/canceled-g4p-gui-builder-cannot-reopen-a-previous-generated-gui/33159)

<div class="topic-metadata">

**Author:** [@Brun0oO](https://discourse.processing.org/u/Brun0oO)\
**Replies:** 6\
**Last updated:** [October 30, 2021, 5:37pm UTC](https://discourse.processing.org/t/canceled-g4p-gui-builder-cannot-reopen-a-previous-generated-gui/33159 "2021-10-30T17:37:28Z")

</div>

Hi, I’m having an issue with the G4P GUI Builder tool. I got this error when I try to reopen a previous session with this tool : java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.app…

---

## [Can't find the missing curly bracket](https://discourse.processing.org/t/cant-find-the-missing-curly-bracket/33152)

<div class="topic-metadata">

**Author:** [@hacketet](https://discourse.processing.org/u/hacketet)\
**Replies:** 7\
**Last updated:** [October 30, 2021, 3:51pm UTC](https://discourse.processing.org/t/cant-find-the-missing-curly-bracket/33152 "2021-10-30T15:51:32Z")

</div>

I can’t find the error associated with \<Syntax Error - Missing right curly bracket “}”\> The problem is in the last few lines of code. Lines underscored by the debugger are indicated by //!! which I inserted after pasti…

---

## [Linedrawing Processing webcam video keypressed reset problem](https://discourse.processing.org/t/linedrawing-processing-webcam-video-keypressed-reset-problem/33128)

<div class="topic-metadata">

**Author:** [@jinjin](https://discourse.processing.org/u/jinjin)\
**Replies:** 1\
**Last updated:** [October 30, 2021, 3:19pm UTC](https://discourse.processing.org/t/linedrawing-processing-webcam-video-keypressed-reset-problem/33128 "2021-10-30T15:19:20Z")

</div>

I am a student studying processing. Currently, I am implementing a real-time line drawing code using a webcam and I am currently facing a problem. In the current code, I want to press q to start the video, press s to s…

---

## [How to have image move in random directions](https://discourse.processing.org/t/how-to-have-image-move-in-random-directions/33176)

<div class="topic-metadata">

**Author:** [@MoonAlien822](https://discourse.processing.org/u/MoonAlien822)\
**Replies:** 0\
**Last updated:** [October 30, 2021, 3:15pm UTC](https://discourse.processing.org/t/how-to-have-image-move-in-random-directions/33176 "2021-10-30T15:15:12Z")

</div>

how do i make the “trash” image move in a random direction with 10 pixels per frame. (so randomly have trashX move either -10 or +10 pixels) float trashX; float trashY; float boatX; float boatY; float movingspeed = 10…

---

## [Serial communication between Arduino and Processing and resetting the sketch problem](https://discourse.processing.org/t/serial-communication-between-arduino-and-processing-and-resetting-the-sketch-problem/33117)

<div class="topic-metadata">

**Author:** [@jinjin](https://discourse.processing.org/u/jinjin)\
**Replies:** 1\
**Last updated:** [October 30, 2021, 3:07pm UTC](https://discourse.processing.org/t/serial-communication-between-arduino-and-processing-and-resetting-the-sketch-problem/33117 "2021-10-30T15:07:09Z")

</div>

Hello, I am a student who is working hard on a project. I’m currently using Arduino’s heart rate sensor to create a line drawing that changes the thickness of the line in real time. But I’m facing two problems now. On…

---

## [How to wait until a callback function has completed](https://discourse.processing.org/t/how-to-wait-until-a-callback-function-has-completed/33173)

<div class="topic-metadata">

**Author:** [@Grumpy\_Mike](https://discourse.processing.org/u/Grumpy_Mike)\
**Replies:** 4\
**Last updated:** [October 30, 2021, 12:23pm UTC](https://discourse.processing.org/t/how-to-wait-until-a-callback-function-has-completed/33173 "2021-10-30T12:23:18Z")

</div>

In processing 3 I have two call back functions, one to select an input file and the other to select an output file. In the setup function I want to call the input file select and then the output file select. But being c…

---

## [Process crashes Java](https://discourse.processing.org/t/process-crashes-java/33077)

<div class="topic-metadata">

**Author:** [@RMead](https://discourse.processing.org/u/RMead)\
**Replies:** 5\
**Last updated:** [October 30, 2021, 10:47am UTC](https://discourse.processing.org/t/process-crashes-java/33077 "2021-10-30T10:47:54Z")

</div>

I’m trying to set up a facial recognition system for my art degree - where I want it to print off peoples faces each time they enter the gallery space. The code I’ve used, from a couple of guides, is included below - and…

---

## [SimplexNoise is not defined](https://discourse.processing.org/t/simplexnoise-is-not-defined/33163)

<div class="topic-metadata">

**Author:** [@momo](https://discourse.processing.org/u/momo)\
**Replies:** 5\
**Last updated:** [October 30, 2021, 10:39am UTC](https://discourse.processing.org/t/simplexnoise-is-not-defined/33163 "2021-10-30T10:39:54Z")

</div>

Hello, I’m a beginner of P5.JS. And I found openprocessing is really great place to start. I was learning this interesting sketch made by Takawo 210612a - OpenProcessing(a really nice sketch), when I want to run it local…

---

## [Cannot see anything in console](https://discourse.processing.org/t/cannot-see-anything-in-console/33166)

<div class="topic-metadata">

**Author:** [@HeadRhino](https://discourse.processing.org/u/HeadRhino)\
**Replies:** 3\
**Last updated:** [October 30, 2021, 3:22am UTC](https://discourse.processing.org/t/cannot-see-anything-in-console/33166 "2021-10-30T03:22:21Z")

</div>

Using Tristan Bunn book - On step one - Hello World - But console is blank when I hit the play button - This also happens when I use the examples. I am using processing.org

---

## [My Space Ship's Velocity is going whack](https://discourse.processing.org/t/my-space-ships-velocity-is-going-whack/33065)

<div class="topic-metadata">

**Author:** [@DividedRabbit](https://discourse.processing.org/u/DividedRabbit)\
**Replies:** 1\
**Last updated:** [October 30, 2021, 12:00am UTC](https://discourse.processing.org/t/my-space-ships-velocity-is-going-whack/33065 "2021-10-30T00:00:35Z")

</div>

Running this code is fine at first, but after a bit the velocity and gravity start moving to opposite extremes, but since they’re opposite they average out to the ship’s velocity. Eventually the ship starts acting weird …

---

## [flowField:Defining a vector from a table](https://discourse.processing.org/t/flowfield-defining-a-vector-from-a-table/33164)

<div class="topic-metadata">

**Author:** [@sigbjorn](https://discourse.processing.org/u/sigbjorn)\
**Replies:** 0\
**Last updated:** [October 29, 2021, 5:26pm UTC](https://discourse.processing.org/t/flowfield-defining-a-vector-from-a-table/33164 "2021-10-29T17:26:38Z")

</div>

Hi! I found a Perlin Noise code on Github which I would like to tweak for an art project at school. I would like to add an new Pvector forcefield which is based on a some x,y coordinates I have in a .csv file. I would …

---

## [Can't open the P5 editor on my browser](https://discourse.processing.org/t/cant-open-the-p5-editor-on-my-browser/33108)

<div class="topic-metadata">

**Author:** [@momo](https://discourse.processing.org/u/momo)\
**Replies:** 3\
**Last updated:** [October 29, 2021, 4:25pm UTC](https://discourse.processing.org/t/cant-open-the-p5-editor-on-my-browser/33108 "2021-10-29T16:25:16Z")

</div>

Hi, does anyone have the same issue? I can’t use it for at least 2 days. I know some approaches to working locally, but since i have been use the editor for months, I have made several collections. How can I get them?

---

## [Draw stay-on-screen objects/UI with AR renderer](https://discourse.processing.org/t/draw-stay-on-screen-objects-ui-with-ar-renderer/33161)

<div class="topic-metadata">

**Author:** [@miiiko](https://discourse.processing.org/u/miiiko)\
**Replies:** 0\
**Last updated:** [October 29, 2021, 1:04pm UTC](https://discourse.processing.org/t/draw-stay-on-screen-objects-ui-with-ar-renderer/33161 "2021-10-29T13:04:06Z")

</div>

I’m thinking of using Processing for Android as an AR prototyping tool. But the official examples using the AR renderer only show how to draw 2D/3D forms or add .obj objects into the 3D scene. Is it possible to draw/add …

---

## [Sketch is stuck on loading](https://discourse.processing.org/t/sketch-is-stuck-on-loading/33126)

<div class="topic-metadata">

**Author:** [@gm314](https://discourse.processing.org/u/gm314)\
**Replies:** 3\
**Last updated:** [October 29, 2021, 9:43am UTC](https://discourse.processing.org/t/sketch-is-stuck-on-loading/33126 "2021-10-29T09:43:23Z")

</div>

I created a sketch that contains a pre-load function and uploaded it to my website’s ftp on dreamhost. The preload references a csv file via a url. The sketch runs fine in the p5js web editor. But it won’t run on my site…

---

## [Get color value for every pixel for making a mosaic](https://discourse.processing.org/t/get-color-value-for-every-pixel-for-making-a-mosaic/32907)

<div class="topic-metadata">

**Author:** [@LindowMan](https://discourse.processing.org/u/LindowMan)\
**Replies:** 4\
**Last updated:** [October 29, 2021, 9:22am UTC](https://discourse.processing.org/t/get-color-value-for-every-pixel-for-making-a-mosaic/32907 "2021-10-29T09:22:55Z")

</div>

Hi! Now I know this is very basic, and probably has been answered before, but I am running into issues with my project, and couldn’t find the answer I need. I want to create a program that allows me to load an image and…

---

## [User Type Input](https://discourse.processing.org/t/user-type-input/33101)

<div class="topic-metadata">

**Author:** [@Ethanation](https://discourse.processing.org/u/Ethanation)\
**Replies:** 1\
**Last updated:** [October 29, 2021, 8:35am UTC](https://discourse.processing.org/t/user-type-input/33101 "2021-10-29T08:35:23Z")

</div>

Hello, I am having trouble with this, when I press enter for the first screen, it switches to the next screen just fine. But I cannot type anything in on the second screen as I should be able to. //sets up all of the in…

---

## [Smooth transition between frequencies amplitudes over time using a FFT analysis](https://discourse.processing.org/t/smooth-transition-between-frequencies-amplitudes-over-time-using-a-fft-analysis/33144)

<div class="topic-metadata">

**Author:** [@werls](https://discourse.processing.org/u/werls)\
**Replies:** 2\
**Last updated:** [October 29, 2021, 4:21am UTC](https://discourse.processing.org/t/smooth-transition-between-frequencies-amplitudes-over-time-using-a-fft-analysis/33144 "2021-10-29T04:21:08Z")

</div>

I’ve done a few experiments with sound visualization in Processing using the Sound and Minim libraries, but I always stuck in the same problem: the values of frequencies amplitudes over time are very discrepants and the …

---

## [Spawning PGraphics using 2D array](https://discourse.processing.org/t/spawning-pgraphics-using-2d-array/33087)

<div class="topic-metadata">

**Author:** [@Skycstls](https://discourse.processing.org/u/Skycstls)\
**Replies:** 0\
**Last updated:** [October 26, 2021, 1:14pm UTC](https://discourse.processing.org/t/spawning-pgraphics-using-2d-array/33087 "2021-10-26T13:14:41Z")

</div>

Hello Processing forum! I’ve been learning a lot of stuff using processing, its really fun and all errors and things i didnt understand were easy to find here in the forum or in the reference, today i wanted to start usi…

---

## [How to get this library to work?](https://discourse.processing.org/t/how-to-get-this-library-to-work/32778)

<div class="topic-metadata">

**Author:** [@MoonAlien822](https://discourse.processing.org/u/MoonAlien822)\
**Replies:** 2\
**Last updated:** [October 28, 2021, 6:22pm UTC](https://discourse.processing.org/t/how-to-get-this-library-to-work/32778 "2021-10-28T18:22:51Z")

</div>

how to get the “unfolding maps” library to work?

---

## [Android MediaPlayer help](https://discourse.processing.org/t/android-mediaplayer-help/33133)

<div class="topic-metadata">

**Author:** [@MonteliaRO](https://discourse.processing.org/u/MonteliaRO)\
**Replies:** 0\
**Last updated:** [October 28, 2021, 2:34pm UTC](https://discourse.processing.org/t/android-mediaplayer-help/33133 "2021-10-28T14:34:35Z")

</div>

I want to Play and Stop my Music with a Double Tap, but why my Code don’t Work? import android.media.MediaPlayer; import android.content.res.AssetFileDescriptor; import android.content.Context; import android.app.Activi…

---

## [New Perlin noise](https://discourse.processing.org/t/new-perlin-noise/10916)

<div class="topic-metadata">

**Author:** [@jb4x](https://discourse.processing.org/u/jb4x)\
**Replies:** 3\
**Last updated:** [October 28, 2021, 11:50am UTC](https://discourse.processing.org/t/new-perlin-noise/10916 "2021-10-28T11:50:17Z")

</div>

Hi everyone, While working on a project I realized that the perlin noise generated with the noise() function could appear really “blocky” (see comparaison picture at the end) so I decided to implement my own version. I…

---

## [Integrating P5js + MaxMSP](https://discourse.processing.org/t/integrating-p5js-maxmsp/6334)

<div class="topic-metadata">

**Author:** [@yaniki](https://discourse.processing.org/u/yaniki)\
**Replies:** 14\
**Last updated:** [October 28, 2021, 11:41am UTC](https://discourse.processing.org/t/integrating-p5js-maxmsp/6334 "2021-10-28T11:41:46Z")

</div>

Dear Friends If somebody is interested in integrating p5js sketches with MaxMSP patches here is a simple example and some handy infos: https://www.paweljanicki.jp/projects\_maxandp5js\_en.html

---

## [Radio buttons positioning](https://discourse.processing.org/t/radio-buttons-positioning/33123)

<div class="topic-metadata">

**Author:** [@Clark](https://discourse.processing.org/u/Clark)\
**Replies:** 2\
**Last updated:** [October 28, 2021, 12:36am UTC](https://discourse.processing.org/t/radio-buttons-positioning/33123 "2021-10-28T00:36:22Z")

</div>

Hi. I am trying to find a method to position radio buttons closer to each other vertically. When I write : radio = createRadio(); radio.option('option-1'); radio.option('option-2'); radio.option('option-3')…

---

## [WebGL Background Image](https://discourse.processing.org/t/webgl-background-image/33121)

<div class="topic-metadata">

**Author:** [@Rubin](https://discourse.processing.org/u/Rubin)\
**Replies:** 2\
**Last updated:** [October 27, 2021, 8:10pm UTC](https://discourse.processing.org/t/webgl-background-image/33121 "2021-10-27T20:10:16Z")

</div>

I want to make a background image for my WebGL project. Does someone know how to do it?

---

## [Getting message that y is not defined](https://discourse.processing.org/t/getting-message-that-y-is-not-defined/33028)

<div class="topic-metadata">

**Author:** [@Kenga123456](https://discourse.processing.org/u/Kenga123456)\
**Replies:** 6\
**Last updated:** [October 27, 2021, 7:24pm UTC](https://discourse.processing.org/t/getting-message-that-y-is-not-defined/33028 "2021-10-27T19:24:12Z")

</div>

class Drop { float x = random(0, width); float y = random(-100, -300); float ySpeed = 2; void fall() { y = y + ySpeed if (y \< height) { y = random(-100, -300); } } void show() { stroke(192, 225,…

---

## [How can I remove white pixels from my video capture?](https://discourse.processing.org/t/how-can-i-remove-white-pixels-from-my-video-capture/33072)

<div class="topic-metadata">

**Author:** [@Lautjelief](https://discourse.processing.org/u/Lautjelief)\
**Replies:** 1\
**Last updated:** [October 27, 2021, 7:20pm UTC](https://discourse.processing.org/t/how-can-i-remove-white-pixels-from-my-video-capture/33072 "2021-10-27T19:20:22Z")

</div>

Hey all! Im pretty new to Processing, so I was wondering if I could get some advice on what to do. Im running into an issue where I want to make a picture of a drawing, and Processing will remove all the white from the…

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

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