# Latest

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

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

**Page:** 348

---

## [Connecting Rooms in a Dungeon Map Generator](https://discourse.processing.org/t/connecting-rooms-in-a-dungeon-map-generator/20918)

<div class="topic-metadata">

**Author:** [@Trilobyte](https://discourse.processing.org/u/Trilobyte)\
**Replies:** 6\
**Last updated:** [May 20, 2020, 2:55am UTC](https://discourse.processing.org/t/connecting-rooms-in-a-dungeon-map-generator/20918 "2020-05-20T02:55:29Z")

</div>

Hello! I am currently working on a project to generate 2D dungeon maps (like in Binding of Isaac, or similar games) but I am having difficulty finding a way to automatically connect rooms. I currently can generate a ran…

---

## [Playing multiple songs in row](https://discourse.processing.org/t/playing-multiple-songs-in-row/20966)

<div class="topic-metadata">

**Author:** [@babyP5](https://discourse.processing.org/u/babyP5)\
**Replies:** 6\
**Last updated:** [May 20, 2020, 12:30am UTC](https://discourse.processing.org/t/playing-multiple-songs-in-row/20966 "2020-05-20T00:30:28Z")

</div>

hello everyone im trying to play 2 songs in row but it end up playing only the first song every time can someone help me plz let song; let song2 ; function setup() { song = loadSound('sample1.mp3'); song2 = loadSoun…

---

## [Number of downloads](https://discourse.processing.org/t/number-of-downloads/21073)

<div class="topic-metadata">

**Author:** [@mike\_z](https://discourse.processing.org/u/mike_z)\
**Replies:** 6\
**Last updated:** [May 19, 2020, 11:33pm UTC](https://discourse.processing.org/t/number-of-downloads/21073 "2020-05-19T23:33:02Z")

</div>

I’ve been experimenting with how to set up Processing on a FreeNAS and multiple computers. I have not had much success. As I tried different configurations, I deleted the old ones, including the download. This probably w…

---

## [Processing3.5.4 starts only once on windows10](https://discourse.processing.org/t/processing3-5-4-starts-only-once-on-windows10/21058)

<div class="topic-metadata">

**Author:** [@remoisonzo](https://discourse.processing.org/u/remoisonzo)\
**Replies:** 0\
**Last updated:** [May 19, 2020, 2:55pm UTC](https://discourse.processing.org/t/processing3-5-4-starts-only-once-on-windows10/21058 "2020-05-19T14:55:31Z")

</div>

Hi, I am new of this community, as I started working with Processing just from few weeks. I hope that this is the right place for the following question. Otherwise please suggest me how to do it. Few months ago I succe…

---

## [Different user client images with websockets](https://discourse.processing.org/t/different-user-client-images-with-websockets/21054)

<div class="topic-metadata">

**Author:** [@yuinjann](https://discourse.processing.org/u/yuinjann)\
**Replies:** 0\
**Last updated:** [May 19, 2020, 2:05pm UTC](https://discourse.processing.org/t/different-user-client-images-with-websockets/21054 "2020-05-19T14:05:17Z")

</div>

Hi! I’ve made a glitch sketch with posenet and p5.js, where a tree grows when two people( on different broswers) hands touch. I attached my own hand images to the wrist positions. In client.js, when two different hands …

---

## [Buffering geometry in Webgl](https://discourse.processing.org/t/buffering-geometry-in-webgl/21030)

<div class="topic-metadata">

**Author:** [@vheun](https://discourse.processing.org/u/vheun)\
**Replies:** 2\
**Last updated:** [May 19, 2020, 7:54pm UTC](https://discourse.processing.org/t/buffering-geometry-in-webgl/21030 "2020-05-19T19:54:33Z")

</div>

I try to build some more performance demos that need to redraw a chain of multiple 3D geometries that are all identical. Is there a way to buffer a geometry with p5js and just tell webgl to redraw a buffered shape? That…

---

## [Is it possible to activate the windows screen connected to a processing event?](https://discourse.processing.org/t/is-it-possible-to-activate-the-windows-screen-connected-to-a-processing-event/20979)

<div class="topic-metadata">

**Author:** [@Black\_1](https://discourse.processing.org/u/Black_1)\
**Replies:** 4\
**Last updated:** [May 19, 2020, 6:06pm UTC](https://discourse.processing.org/t/is-it-possible-to-activate-the-windows-screen-connected-to-a-processing-event/20979 "2020-05-19T18:06:49Z")

</div>

Hi everyone. I designed a small “scada” with processing that keeps running on windows constantly. Windows is set to turn off the screen after 10 minutes of inactivity. is it possible to activate the screen by linking i…

---

## [Need some guidance in making a CNC plotter with arduino and motor driver](https://discourse.processing.org/t/need-some-guidance-in-making-a-cnc-plotter-with-arduino-and-motor-driver/21059)

<div class="topic-metadata">

**Author:** [@manish\_das](https://discourse.processing.org/u/manish_das)\
**Replies:** 0\
**Last updated:** [May 19, 2020, 3:10pm UTC](https://discourse.processing.org/t/need-some-guidance-in-making-a-cnc-plotter-with-arduino-and-motor-driver/21059 "2020-05-19T15:10:05Z")

</div>

I want to make a voice operated CNC plotter with arduino and L293D motor driver. The main function of the plotter will be to write down words spoken by a speaker in real time. I am just a beginner in processing. Please h…

---

## [Create a 3d box inside a 2d project](https://discourse.processing.org/t/create-a-3d-box-inside-a-2d-project/21051)

<div class="topic-metadata">

**Author:** [@cwr0ng](https://discourse.processing.org/u/cwr0ng)\
**Replies:** 3\
**Last updated:** [May 19, 2020, 2:35pm UTC](https://discourse.processing.org/t/create-a-3d-box-inside-a-2d-project/21051 "2020-05-19T14:35:48Z")

</div>

Hello guys, I’m a processing beginner. I’d like to plot a 3d spectrum inside my 2d application (it will be an equalizer at the end). This is my setup, I’d like to have the second half of the application plotting a spec…

---

## [How to denoise an image, help me with this guys](https://discourse.processing.org/t/how-to-denoise-an-image-help-me-with-this-guys/21033)

<div class="topic-metadata">

**Author:** [@Master](https://discourse.processing.org/u/Master)\
**Replies:** 4\
**Last updated:** [May 19, 2020, 2:28pm UTC](https://discourse.processing.org/t/how-to-denoise-an-image-help-me-with-this-guys/21033 "2020-05-19T14:28:14Z")

</div>

Hello, In most of the cases, researchers bring a free noise image, next they add noise to this image, then they apply denoising approach and finally they compare between the first free noise image and the result image a…

---

## [keyPressed with multiple keys](https://discourse.processing.org/t/keypressed-with-multiple-keys/21040)

<div class="topic-metadata">

**Author:** [@homeCoder](https://discourse.processing.org/u/homeCoder)\
**Replies:** 3\
**Last updated:** [May 19, 2020, 1:54pm UTC](https://discourse.processing.org/t/keypressed-with-multiple-keys/21040 "2020-05-19T13:54:54Z")

</div>

Hello, i am trying to write a program which shows two arrays with numbers and if I press the number of an array element, this element should disappear and the others replace the gap. That’s function, but I wan’t to do s…

---

## [Anybody here use a linter for coding in p5.js?](https://discourse.processing.org/t/anybody-here-use-a-linter-for-coding-in-p5-js/20853)

<div class="topic-metadata">

**Author:** [@Bassam](https://discourse.processing.org/u/Bassam)\
**Replies:** 9\
**Last updated:** [May 19, 2020, 3:19am UTC](https://discourse.processing.org/t/anybody-here-use-a-linter-for-coding-in-p5-js/20853 "2020-05-19T03:19:01Z")

</div>

If so, what editor do you use (atom, vscode…). What linter do you use? I’m having trouble telling telling ESLint to ignore undefined variables. It doesn’t realize window, height, setup() are built into p5.js.

---

## [NullPointerException help](https://discourse.processing.org/t/nullpointerexception-help/21044)

<div class="topic-metadata">

**Author:** [@Dylan](https://discourse.processing.org/u/Dylan)\
**Replies:** 2\
**Last updated:** [May 19, 2020, 7:14am UTC](https://discourse.processing.org/t/nullpointerexception-help/21044 "2020-05-19T07:14:56Z")

</div>

When I go to run my code String\[\] names = { "CyberTruck", "Ford F10", "Ranger", "Sierra", "Titan" }; int nt = names.length; int nb = nt + 2; int b1 = nt, b2=nt+1; float track= 200, trackY = 150, trackDY=100; float sta…

---

## [Processing is adding slashes and arrows to the end of lines after autoformat](https://discourse.processing.org/t/processing-is-adding-slashes-and-arrows-to-the-end-of-lines-after-autoformat/20949)

<div class="topic-metadata">

**Author:** [@jordantoshplus](https://discourse.processing.org/u/jordantoshplus)\
**Replies:** 2\
**Last updated:** [May 19, 2020, 5:37am UTC](https://discourse.processing.org/t/processing-is-adding-slashes-and-arrows-to-the-end-of-lines-after-autoformat/20949 "2020-05-19T05:37:26Z")

</div>

I did a quick search but I couldn’t find anything relevant. Whenever I autoformat (ctrl+t) a file in processing ide, if I open the same file in vscode, some of the lines have //\<\>// at the end

---

## [Delete an element by entering a number and the following elements must move up](https://discourse.processing.org/t/delete-an-element-by-entering-a-number-and-the-following-elements-must-move-up/20840)

<div class="topic-metadata">

**Author:** [@homeCoder](https://discourse.processing.org/u/homeCoder)\
**Replies:** 2\
**Last updated:** [May 19, 2020, 2:16am UTC](https://discourse.processing.org/t/delete-an-element-by-entering-a-number-and-the-following-elements-must-move-up/20840 "2020-05-19T02:16:06Z")

</div>

This array element (e-mails) shows up when you start the program - thats right. But I want to do something like: If I press e.g. the key ‘1’ I want that the program delete automatically the mailingListe element number 1 …

---

## [APDE new release is out v0.5.2-pre1 Alpha](https://discourse.processing.org/t/apde-new-release-is-out-v0-5-2-pre1-alpha/20965)

<div class="topic-metadata">

**Author:** [@noel](https://discourse.processing.org/u/noel)\
**Replies:** 1\
**Last updated:** [May 19, 2020, 12:27am UTC](https://discourse.processing.org/t/apde-new-release-is-out-v0-5-2-pre1-alpha/20965 "2020-05-19T00:27:05Z")

</div>

What’s new: Real-time compilation Your code automatically compiles in the background Errors and warnings are underlined in your code The problem overview screen (to the right of the console) shows all errors and warn…

---

## [Sorting an array](https://discourse.processing.org/t/sorting-an-array/20992)

<div class="topic-metadata">

**Author:** [@Aleksi](https://discourse.processing.org/u/Aleksi)\
**Replies:** 4\
**Last updated:** [May 18, 2020, 10:40pm UTC](https://discourse.processing.org/t/sorting-an-array/20992 "2020-05-18T22:40:37Z")

</div>

I cannot see my way to sorting an array of points using a simple float comparison. Here’s the essence of what I’m seeking to do: import java.util.Collections; void setup(){ ArrayList\<Point\> points = new ArrayList();…

---

## [Using React with p5.js (ES6+ support)](https://discourse.processing.org/t/using-react-with-p5-js-es6-support/3298)

<div class="topic-metadata">

**Author:** [@atoro](https://discourse.processing.org/u/atoro)\
**Replies:** 12\
**Last updated:** [May 18, 2020, 7:23am UTC](https://discourse.processing.org/t/using-react-with-p5-js-es6-support/3298 "2020-05-18T07:23:15Z")

</div>

Check the online version here: http://fractal-tree-simulator.surge.sh/ Source code is available here: https://github.com/atorov/fractal-tree-simulator Using React with p5.js This project demonstrates the possibili…

---

## [Does Processing support packages?](https://discourse.processing.org/t/does-processing-support-packages/6585)

<div class="topic-metadata">

**Author:** [@MCCreeper8890](https://discourse.processing.org/u/MCCreeper8890)\
**Replies:** 12\
**Last updated:** [May 18, 2020, 9:54pm UTC](https://discourse.processing.org/t/does-processing-support-packages/6585 "2020-05-18T21:54:23Z")

</div>

I’m creating a physics simulator, and I want the “force” classes to be arranged in a class called force. I noticed Processing still has public private and package. However, I suspect these are from Java itself, and are n…

---

## [Introducing kids/teens to programming using p5.js](https://discourse.processing.org/t/introducing-kids-teens-to-programming-using-p5-js/5393)

<div class="topic-metadata">

**Author:** [@Vertmo](https://discourse.processing.org/u/Vertmo)\
**Replies:** 4\
**Last updated:** [May 18, 2020, 8:48pm UTC](https://discourse.processing.org/t/introducing-kids-teens-to-programming-using-p5-js/5393 "2020-05-18T20:48:22Z")

</div>

Hi ! I’m planning to use p5.js (through the excellent web editor) to teach kids/teens basis of programming at the Ubuntu Party (https://www.ubuntu-paris.org/) in Paris. I’m going to hold a workshop, as well as a continu…

---

## [G4P GKnob rotation direction](https://discourse.processing.org/t/g4p-gknob-rotation-direction/20299)

<div class="topic-metadata">

**Author:** [@PhilHaw](https://discourse.processing.org/u/PhilHaw)\
**Replies:** 12\
**Last updated:** [May 18, 2020, 8:46pm UTC](https://discourse.processing.org/t/g4p-gknob-rotation-direction/20299 "2020-05-18T20:46:09Z")

</div>

When I use MyKnob.setTurnMode(GKnob.CTRL\_VERTICAL); dragging the mouse up turns the knob anti-clockwise and the value decreases and vice versa when I drag down. I think it would be more ‘natural’ to have ‘drag up’ -\> r…

---

## [No graphics after resetShader()](https://discourse.processing.org/t/no-graphics-after-resetshader/13585)

<div class="topic-metadata">

**Author:** [@pazka](https://discourse.processing.org/u/pazka)\
**Replies:** 6\
**Last updated:** [May 18, 2020, 3:43pm UTC](https://discourse.processing.org/t/no-graphics-after-resetshader/13585 "2020-05-18T15:43:40Z")

</div>

Hello everybody ! I come to you because I have been encountering a problem that I have a lot of struggle to solve. At this point I am almost sure it’s a bug but I’d rather have your opinion first ! My goal is to draw t…

---

## [How to create different color for each point](https://discourse.processing.org/t/how-to-create-different-color-for-each-point/21011)

<div class="topic-metadata">

**Author:** [@DeathEater](https://discourse.processing.org/u/DeathEater)\
**Replies:** 1\
**Last updated:** [May 18, 2020, 3:27pm UTC](https://discourse.processing.org/t/how-to-create-different-color-for-each-point/21011 "2020-05-18T15:27:09Z")

</div>

import java.awt.Point; final static int N\_POINTS\_EACH= 13; float scale = 0.25f; ArrayList \<PointSet\> allpointsets; int currentset = 0; void settings() { size(700, 500); } void setup() { frameRate(60); allpo…

---

## [Comparing an image with a pattern one](https://discourse.processing.org/t/comparing-an-image-with-a-pattern-one/20626)

<div class="topic-metadata">

**Author:** [@erwrow](https://discourse.processing.org/u/erwrow)\
**Replies:** 8\
**Last updated:** [May 18, 2020, 3:21pm UTC](https://discourse.processing.org/t/comparing-an-image-with-a-pattern-one/20626 "2020-05-18T15:21:36Z")

</div>

Hi everyone! As the title suggest, i need to compare an image (could be from the live feed of a camera) with a few patterns in memory, and be able to tell if this image is like one of the patterns (and wich) and hopeful…

---

## [Processing using bare conductive](https://discourse.processing.org/t/processing-using-bare-conductive/20983)

<div class="topic-metadata">

**Author:** [@herbert\_greenhorses](https://discourse.processing.org/u/herbert_greenhorses)\
**Replies:** 2\
**Last updated:** [May 18, 2020, 1:30am UTC](https://discourse.processing.org/t/processing-using-bare-conductive/20983 "2020-05-18T01:30:21Z")

</div>

Hello, I’m French, my english is poor. But I can try. I use Processing, as a librarian. I also use Bare Conductive. I have Arduino. So I can plug the Bare Conductive in Processing. With this sketch, I can see which …

---

## [Constant ellipse when mouse clicked](https://discourse.processing.org/t/constant-ellipse-when-mouse-clicked/21014)

<div class="topic-metadata">

**Author:** [@Casto92i](https://discourse.processing.org/u/Casto92i)\
**Replies:** 1\
**Last updated:** [May 18, 2020, 1:15pm UTC](https://discourse.processing.org/t/constant-ellipse-when-mouse-clicked/21014 "2020-05-18T13:15:37Z")

</div>

void mousePressed(){ ellipse(Projpos.x, Projpos.y, 100, 100); } Hi, i have a problem where i’d like to spawn an ellipse each time the mouse is pressed but when i pressed my mouse an ellipse spawn just for 1 second

---

## [Draw on top of shader?](https://discourse.processing.org/t/draw-on-top-of-shader/20764)

<div class="topic-metadata">

**Author:** [@toom](https://discourse.processing.org/u/toom)\
**Replies:** 5\
**Last updated:** [May 18, 2020, 12:08pm UTC](https://discourse.processing.org/t/draw-on-top-of-shader/20764 "2020-05-18T12:08:32Z")

</div>

Hi there, how can I draw text or a primitive shape on top of a shader? resetShader() doesn’t appear to do anything. Every shape drawn after the shader is started is somehow under the shader. I’m capturing video from the…

---

## [Export gif, CCapturer](https://discourse.processing.org/t/export-gif-ccapturer/21008)

<div class="topic-metadata">

**Author:** [@cuvner](https://discourse.processing.org/u/cuvner)\
**Replies:** 1\
**Last updated:** [May 18, 2020, 11:17am UTC](https://discourse.processing.org/t/export-gif-ccapturer/21008 "2020-05-18T11:17:01Z")

</div>

Hello, I have a file directory error which I cannot seem to resolve, any help much appreciated. Its the “js/gif.worker.js” html \<!DOCTYPE html\>\<html lang="en"\>\<head\> \<script src="p5.js"\>\</script\> \<script src=…

---

## [Autonomous agents applied to paintings](https://discourse.processing.org/t/autonomous-agents-applied-to-paintings/20978)

<div class="topic-metadata">

**Author:** [@SemAntys](https://discourse.processing.org/u/SemAntys)\
**Replies:** 3\
**Last updated:** [May 18, 2020, 9:57am UTC](https://discourse.processing.org/t/autonomous-agents-applied-to-paintings/20978 "2020-05-18T09:57:38Z")

</div>

Hi! I’ve recently discovered the work of Leonoardo Solas and I’m very interested in his Mona Rayadas drawings, here is an example: I’ve already used autonomous agents in the past, but I’m struggling to write an opera…

---

## [Tobii 4C library - Processing disappeared](https://discourse.processing.org/t/tobii-4c-library-processing-disappeared/20821)

<div class="topic-metadata">

**Author:** [@Johan](https://discourse.processing.org/u/Johan)\
**Replies:** 15\
**Last updated:** [May 18, 2020, 9:48am UTC](https://discourse.processing.org/t/tobii-4c-library-processing-disappeared/20821 "2020-05-18T09:48:07Z")

</div>

The link http://hci.soc.napier.ac.uk/GazeTrack/ seems to be down and I cannot reach Mr. Esteves. First it appeared in the library list of processing but it couldn’t been loaded. Now it has completely disappeared. Do yo…

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

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