# Latest

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

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

**Page:** 326

---

## [noFill() not working in p5js](https://discourse.processing.org/t/nofill-not-working-in-p5js/22416)

<div class="topic-metadata">

**Author:** [@CND](https://discourse.processing.org/u/CND)\
**Replies:** 11\
**Last updated:** [July 9, 2020, 7:29pm UTC](https://discourse.processing.org/t/nofill-not-working-in-p5js/22416 "2020-07-09T19:29:47Z")

</div>

noFill() in p5js is not working for me. Is this a bug?

---

## [Processing (Java Core version) sometimes lags](https://discourse.processing.org/t/processing-java-core-version-sometimes-lags/22517)

<div class="topic-metadata">

**Author:** [@Moritz](https://discourse.processing.org/u/Moritz)\
**Replies:** 1\
**Last updated:** [July 9, 2020, 7:20pm UTC](https://discourse.processing.org/t/processing-java-core-version-sometimes-lags/22517 "2020-07-09T19:20:57Z")

</div>

Hi Guys, I’m doing a multiplayer coop / vs game and I’m having a big problem. sometimes everything works. My program has a constant 60 fps (check via eys and processing.framerate) and then there are these runs where Pro…

---

## [How to use p5.js with my own IDE](https://discourse.processing.org/t/how-to-use-p5-js-with-my-own-ide/22509)

<div class="topic-metadata">

**Author:** [@Hookie](https://discourse.processing.org/u/Hookie)\
**Replies:** 3\
**Last updated:** [July 9, 2020, 7:09pm UTC](https://discourse.processing.org/t/how-to-use-p5-js-with-my-own-ide/22509 "2020-07-09T19:09:03Z")

</div>

Hi, everyone. I have so many problems about starting using p5.js in my local IDE and 8th-wall IDE(an AR js platform). I used online link: First, I’m curious that in the official examples, preload(), setup() … are onl…

---

## [Sort PImage array by brightness](https://discourse.processing.org/t/sort-pimage-array-by-brightness/19423)

<div class="topic-metadata">

**Author:** [@TimoL](https://discourse.processing.org/u/TimoL)\
**Replies:** 6\
**Last updated:** [July 9, 2020, 6:12am UTC](https://discourse.processing.org/t/sort-pimage-array-by-brightness/19423 "2020-07-09T06:12:23Z")

</div>

Hi there, I have an array of say 10 images and I’m trying to re-order their indexing based on the overall brightness of each image. Darkest image is 0 & brightest is 10. I then want to save out each image with its new…

---

## [Processing to p5js for a web page](https://discourse.processing.org/t/processing-to-p5js-for-a-web-page/22487)

<div class="topic-metadata">

**Author:** [@relindwto6](https://discourse.processing.org/u/relindwto6)\
**Replies:** 1\
**Last updated:** [July 8, 2020, 11:49pm UTC](https://discourse.processing.org/t/processing-to-p5js-for-a-web-page/22487 "2020-07-08T23:49:28Z")

</div>

Been using Processing for a few years. I’ve made a sketch that loads an audio file and is a visualizer that starts when you click on it. I want to turn this into a portfolio webpage with more of these visualizer objects,…

---

## [Serial plotter over bluetooth](https://discourse.processing.org/t/serial-plotter-over-bluetooth/22378)

<div class="topic-metadata">

**Author:** [@alexthesmeus](https://discourse.processing.org/u/alexthesmeus)\
**Replies:** 20\
**Last updated:** [July 8, 2020, 10:03pm UTC](https://discourse.processing.org/t/serial-plotter-over-bluetooth/22378 "2020-07-08T22:03:16Z")

</div>

Hi, I’m trying to create a portable ECG with ESP32, AD8232 and battery 18650. I modified a sketch for arduino and processing pde to use bluetooth communication instead of serial over usb. My Arduino sketch work perfect…

---

## [Question About Multiple Collisions At Once (Kinda)](https://discourse.processing.org/t/question-about-multiple-collisions-at-once-kinda/22461)

<div class="topic-metadata">

**Author:** [@The99thTroll](https://discourse.processing.org/u/The99thTroll)\
**Replies:** 7\
**Last updated:** [July 8, 2020, 9:20pm UTC](https://discourse.processing.org/t/question-about-multiple-collisions-at-once-kinda/22461 "2020-07-08T21:20:15Z")

</div>

So, I’m in the process of making a tower defense game. Currently the way it works is that when an enemy touches the collider of the tower, the tower locks on to that enemy and no others until that enemy is out of range o…

---

## [Does video.size() function doesn’t work properly for pixel manipulation](https://discourse.processing.org/t/does-video-size-function-doesn-t-work-properly-for-pixel-manipulation/22489)

<div class="topic-metadata">

**Author:** [@maddyna](https://discourse.processing.org/u/maddyna)\
**Replies:** 0\
**Last updated:** [July 8, 2020, 8:09pm UTC](https://discourse.processing.org/t/does-video-size-function-doesn-t-work-properly-for-pixel-manipulation/22489 "2020-07-08T20:09:30Z")

</div>

\<does video.size() function doesn’t work properly for pixel manipulation. the moment i am using it I am getting a black screen in the canvas though the video is running in the browser I am sending the code: let video; …

---

## [Math with map() to get rising and falling numbers from an increasing value](https://discourse.processing.org/t/math-with-map-to-get-rising-and-falling-numbers-from-an-increasing-value/22467)

<div class="topic-metadata">

**Author:** [@Ackados](https://discourse.processing.org/u/Ackados)\
**Replies:** 3\
**Last updated:** [July 8, 2020, 6:37pm UTC](https://discourse.processing.org/t/math-with-map-to-get-rising-and-falling-numbers-from-an-increasing-value/22467 "2020-07-08T18:37:36Z")

</div>

I have an interesting math and coding question. I had no idea how to explain this in just the title. I have int iValue = 0; and every second, iValue increases by one. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1…

---

## [p5Recorder for saving out video + audio](https://discourse.processing.org/t/p5recorder-for-saving-out-video-audio/22484)

<div class="topic-metadata">

**Author:** [@aferriss](https://discourse.processing.org/u/aferriss)\
**Replies:** 0\
**Last updated:** [July 8, 2020, 5:46pm UTC](https://discourse.processing.org/t/p5recorder-for-saving-out-video-audio/22484 "2020-07-08T17:46:18Z")

</div>

Hi p5 friends! I put together a little utility for saving out video and audio using the Media Recorder API. I hope it’s useful to some of you!

---

## [Canonical Autosave Question](https://discourse.processing.org/t/canonical-autosave-question/22470)

<div class="topic-metadata">

**Author:** [@slashwreck](https://discourse.processing.org/u/slashwreck)\
**Replies:** 6\
**Last updated:** [July 8, 2020, 6:06pm UTC](https://discourse.processing.org/t/canonical-autosave-question/22470 "2020-07-08T18:06:52Z")

</div>

I use Processing 3.5.4 in python mode. I’ve been unable to find a setting for autosaving files. Almost every week I lose some work to this. I can’t believe there is no autosave available, yet I cannot find a settin…

---

## [A music player that automatically adds .wav or .mp3 files in the data folder to list?](https://discourse.processing.org/t/a-music-player-that-automatically-adds-wav-or-mp3-files-in-the-data-folder-to-list/22473)

<div class="topic-metadata">

**Author:** [@qewer3322](https://discourse.processing.org/u/qewer3322)\
**Replies:** 9\
**Last updated:** [July 8, 2020, 6:05pm UTC](https://discourse.processing.org/t/a-music-player-that-automatically-adds-wav-or-mp3-files-in-the-data-folder-to-list/22473 "2020-07-08T18:05:24Z")

</div>

So I’m trying to make a music player using the minim library and here is the code: import ddf.minim.analysis.\*; import ddf.minim.\*; BeatDetect heart = new BeatDetect(); Minim minim; AudioPlayer file; FFT …

---

## [VIDEO CAPTURE Processing 3.5.4 and Mojave/Catalina - 64 bit](https://discourse.processing.org/t/video-capture-processing-3-5-4-and-mojave-catalina-64-bit/22460)

<div class="topic-metadata">

**Author:** [@ggort](https://discourse.processing.org/u/ggort)\
**Replies:** 2\
**Last updated:** [July 8, 2020, 3:56pm UTC](https://discourse.processing.org/t/video-capture-processing-3-5-4-and-mojave-catalina-64-bit/22460 "2020-07-08T15:56:17Z")

</div>

Has anyone worked out the Video Capture function for 64 bit? I teach and rely on it for classroom examples. Will this be bundled in any new versions of Processing or video libraries so the corrections don’t have to be do…

---

## [Capture video in processing.py](https://discourse.processing.org/t/capture-video-in-processing-py/22457)

<div class="topic-metadata">

**Author:** [@Tahsin](https://discourse.processing.org/u/Tahsin)\
**Replies:** 1\
**Last updated:** [July 8, 2020, 3:02pm UTC](https://discourse.processing.org/t/capture-video-in-processing-py/22457 "2020-07-08T15:02:23Z")

</div>

I’m trying to capture video using processing.py but I’m getting an error: UnsatisfiedLinkError: E:\\Programme outputs\\Processing\\libraries\\video\\library\\windows64\\libgio-2.0-0.dll: Can’t find dependent libraries add\_l…

---

## [Making multiple images rotate in a circle](https://discourse.processing.org/t/making-multiple-images-rotate-in-a-circle/17795)

<div class="topic-metadata">

**Author:** [@Alexsmithson](https://discourse.processing.org/u/Alexsmithson)\
**Replies:** 6\
**Last updated:** [July 8, 2020, 2:13pm UTC](https://discourse.processing.org/t/making-multiple-images-rotate-in-a-circle/17795 "2020-07-08T14:13:52Z")

</div>

I NEED HELP FROM THE PROCESSING GODS! i need to make multiple images rotate in a circular shape so it fits with the lines of text. so far i have these lines of code, and i need to make the images rotate in the same fash…

---

## [Resize window and object in class](https://discourse.processing.org/t/resize-window-and-object-in-class/22448)

<div class="topic-metadata">

**Author:** [@MiguelSanches](https://discourse.processing.org/u/MiguelSanches)\
**Replies:** 4\
**Last updated:** [July 8, 2020, 7:32am UTC](https://discourse.processing.org/t/resize-window-and-object-in-class/22448 "2020-07-08T07:32:38Z")

</div>

Hi all, I am trying to do a small GUI and I was playing with resize. So, the following sketch display’s two circles as if they were two LEDs. I start the sketch with a small window, but if I change the window size to f…

---

## [How to make a better zoom with orbitControl()?](https://discourse.processing.org/t/how-to-make-a-better-zoom-with-orbitcontrol/12978)

<div class="topic-metadata">

**Author:** [@NeilTheSeal](https://discourse.processing.org/u/NeilTheSeal)\
**Replies:** 4\
**Last updated:** [July 6, 2020, 5:48pm UTC](https://discourse.processing.org/t/how-to-make-a-better-zoom-with-orbitcontrol/12978 "2020-07-06T17:48:24Z")

</div>

I have been trying to figure out a way to adjust the sensitivity of the scroll wheel in WebGL mode, because zooming in and out on my sketch is extremely difficult and you have to be almost violent with your scroll wheel …

---

## [Another Lambda Example In Processing 4](https://discourse.processing.org/t/another-lambda-example-in-processing-4/22458)

<div class="topic-metadata">

**Author:** [@monkstone](https://discourse.processing.org/u/monkstone)\
**Replies:** 0\
**Last updated:** [July 7, 2020, 7:35pm UTC](https://discourse.processing.org/t/another-lambda-example-in-processing-4/22458 "2020-07-07T19:35:59Z")

</div>

int version = 0; //if we grab multiple frames, they will be numbered float timeSeed = 0.1; //seed for the third dimension of the noise float NOISE\_STRENGTH = 80.0; //strength of the noise effect import processing.pdf.\*;…

---

## [Can someone explain why there are trails for the ellipse?](https://discourse.processing.org/t/can-someone-explain-why-there-are-trails-for-the-ellipse/22455)

<div class="topic-metadata">

**Author:** [@BSiemens](https://discourse.processing.org/u/BSiemens)\
**Replies:** 5\
**Last updated:** [July 7, 2020, 6:58pm UTC](https://discourse.processing.org/t/can-someone-explain-why-there-are-trails-for-the-ellipse/22455 "2020-07-07T18:58:25Z")

</div>

https://p5js.org/examples/structure-create-graphics.html

---

## [Processing Desktop Editor and p5.js: \`The class "let" does not exist\`](https://discourse.processing.org/t/processing-desktop-editor-and-p5-js-the-class-let-does-not-exist/22454)

<div class="topic-metadata">

**Author:** [@Vertigo81](https://discourse.processing.org/u/Vertigo81)\
**Replies:** 2\
**Last updated:** [July 7, 2020, 6:43pm UTC](https://discourse.processing.org/t/processing-desktop-editor-and-p5-js-the-class-let-does-not-exist/22454 "2020-07-07T18:43:35Z")

</div>

Idiot question I’m sure… I can make things work fine on openprocessing.org, but when I try to run the same code on the desktop compiler it doesn’t recognize… Like, anything. Seems likely the issue is the bane of most…

---

## [Draw every possible unique combination of a 3x3 circle grid with two colors](https://discourse.processing.org/t/draw-every-possible-unique-combination-of-a-3x3-circle-grid-with-two-colors/22338)

<div class="topic-metadata">

**Author:** [@whistlinpete](https://discourse.processing.org/u/whistlinpete)\
**Replies:** 23\
**Last updated:** [July 7, 2020, 5:47pm UTC](https://discourse.processing.org/t/draw-every-possible-unique-combination-of-a-3x3-circle-grid-with-two-colors/22338 "2020-07-07T17:47:13Z")

</div>

Hi, I’m a designer trying to draw every possible combination of a 3x3 circle grid with two colors. Here’s a example: But this is an even better example of what I’m trying to do. I know there are 512 different possibi…

---

## [Drawing movement of 2 accelerometers](https://discourse.processing.org/t/drawing-movement-of-2-accelerometers/22446)

<div class="topic-metadata">

**Author:** [@Matthias\_db](https://discourse.processing.org/u/Matthias_db)\
**Replies:** 1\
**Last updated:** [July 7, 2020, 1:26pm UTC](https://discourse.processing.org/t/drawing-movement-of-2-accelerometers/22446 "2020-07-07T13:26:06Z")

</div>

hello, i want to simulate the movement of 2 accelerometers in one drawing. the 2 boxes that i draw should move differently from each other. i managed to get my first box moving but i can not include another moving box. t…

---

## [Jagged lines appearing in animating sine wave variation code](https://discourse.processing.org/t/jagged-lines-appearing-in-animating-sine-wave-variation-code/22218)

<div class="topic-metadata">

**Author:** [@Ruchi](https://discourse.processing.org/u/Ruchi)\
**Replies:** 3\
**Last updated:** [July 7, 2020, 11:47am UTC](https://discourse.processing.org/t/jagged-lines-appearing-in-animating-sine-wave-variation-code/22218 "2020-07-07T11:47:06Z")

</div>

Wave w; int noW = 5; // No. of Waves on either side of half period int totalwaves = (noW\*2)-1; float freq = 1; // How many repetitions float period; boolean inverse; void setup() { size(800, 800); background(0); …

---

## [Maximum image size saveable from offscreen buffer?](https://discourse.processing.org/t/maximum-image-size-saveable-from-offscreen-buffer/22429)

<div class="topic-metadata">

**Author:** [@grege2](https://discourse.processing.org/u/grege2)\
**Replies:** 5\
**Last updated:** [July 7, 2020, 7:05am UTC](https://discourse.processing.org/t/maximum-image-size-saveable-from-offscreen-buffer/22429 "2020-07-07T07:05:02Z")

</div>

Hi folks, I’m trying to verify and understand the maximum image size that can be saved from an offscreen createGraphics() buffer. Here’s a sketch I used to test it. https://editor.p5js.org/grege2/sketches/OchyJsPRY I …

---

## [Cannot call circle() in seperate java file](https://discourse.processing.org/t/cannot-call-circle-in-seperate-java-file/22439)

<div class="topic-metadata">

**Author:** [@Ackados](https://discourse.processing.org/u/Ackados)\
**Replies:** 1\
**Last updated:** [July 7, 2020, 6:17am UTC](https://discourse.processing.org/t/cannot-call-circle-in-seperate-java-file/22439 "2020-07-07T06:17:40Z")

</div>

I got my sketch.java file, and I can call circle(100, 100, 10); just fine in there. However, when I go to my Particle.java, I call circle(100, 100, 10);, I get errors. First, this is my import: import processing.core.\*; …

---

## [Speech Recognition via Android Mode Questions](https://discourse.processing.org/t/speech-recognition-via-android-mode-questions/22291)

<div class="topic-metadata">

**Author:** [@Erald](https://discourse.processing.org/u/Erald)\
**Replies:** 2\
**Last updated:** [July 7, 2020, 4:22am UTC](https://discourse.processing.org/t/speech-recognition-via-android-mode-questions/22291 "2020-07-07T04:22:37Z")

</div>

Hello everybody, I have been developing a software for android for home automation via Speech Recognition. I have been using Processing and following this topics: Link 1: Utilizes the easy way to call back speech recogn…

---

## [Union de procesos](https://discourse.processing.org/t/union-de-procesos/22435)

<div class="topic-metadata">

**Author:** [@Francesco](https://discourse.processing.org/u/Francesco)\
**Replies:** 3\
**Last updated:** [July 7, 2020, 3:39am UTC](https://discourse.processing.org/t/union-de-procesos/22435 "2020-07-07T03:39:21Z")

</div>

Buenas, tengo un problema y es que yo estoy haciendo un trabajo para la facultad. Mi problema surge de que yo hice las 3 partes del juego por separado, y ya lo tengo completo, pero cuando quiero unir los archivos en uno …

---

## [Movie plays nomore, from one day to another](https://discourse.processing.org/t/movie-plays-nomore-from-one-day-to-another/22434)

<div class="topic-metadata">

**Author:** [@qualidax](https://discourse.processing.org/u/qualidax)\
**Replies:** 0\
**Last updated:** [July 6, 2020, 11:45pm UTC](https://discourse.processing.org/t/movie-plays-nomore-from-one-day-to-another/22434 "2020-07-06T23:45:42Z")

</div>

PC with Windows 7 Pro 64 Bit. My app plays a mp4 video since twoo years in a museum. Nobody has changed the system. From one day to another, it does not play my video. I must see this message after killing my app by task…

---

## [Iterate once and only once through all the possible configurations of an array](https://discourse.processing.org/t/iterate-once-and-only-once-through-all-the-possible-configurations-of-an-array/22366)

<div class="topic-metadata">

**Author:** [@whistlinpete](https://discourse.processing.org/u/whistlinpete)\
**Replies:** 18\
**Last updated:** [July 6, 2020, 4:10pm UTC](https://discourse.processing.org/t/iterate-once-and-only-once-through-all-the-possible-configurations-of-an-array/22366 "2020-07-06T16:10:53Z")

</div>

I am trying to create a program that will iterate through all the possible combinations for a given array once and only once, and use those combinations to color a grid of dots. I’ve simplified the problem to a one-row, …

---

## [Getting Right Click and Middle Mouse](https://discourse.processing.org/t/getting-right-click-and-middle-mouse/22422)

<div class="topic-metadata">

**Author:** [@SavageGarrett](https://discourse.processing.org/u/SavageGarrett)\
**Replies:** 1\
**Last updated:** [July 6, 2020, 9:17pm UTC](https://discourse.processing.org/t/getting-right-click-and-middle-mouse/22422 "2020-07-06T21:17:09Z")

</div>

I am working in a browser i.e. including my sketch.js file in an html document. Using the mouseClicked() function I can get left clicks but mouseButton only gives me left click. I would like to be able to right click o…

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

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