# Latest

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

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

**Page:** 103

---

## [Dibujar en void setup y moverlo en void draw](https://discourse.processing.org/t/dibujar-en-void-setup-y-moverlo-en-void-draw/39667)

<div class="topic-metadata">

**Author:** [@SYN1810](https://discourse.processing.org/u/SYN1810)\
**Replies:** 8\
**Last updated:** [November 14, 2022, 10:56am UTC](https://discourse.processing.org/t/dibujar-en-void-setup-y-moverlo-en-void-draw/39667 "2022-11-14T10:56:49Z")

</div>

Hola, he estado buscando una forma de mover algo que he hecho previamente en el void setup para despues moverlo de alguna forma, no he encontrado nada, ayuda (son varias ellipses y tal, ademas salen aleatoriamente) (mand…

---

## [Minim gain not increasing past 6.026dB](https://discourse.processing.org/t/minim-gain-not-increasing-past-6-026db/39698)

<div class="topic-metadata">

**Author:** [@rigo](https://discourse.processing.org/u/rigo)\
**Replies:** 0\
**Last updated:** [November 14, 2022, 3:25am UTC](https://discourse.processing.org/t/minim-gain-not-increasing-past-6-026db/39698 "2022-11-14T03:25:21Z")

</div>

please format code with \</\> button \* homework policy \* asking questions I’m trying to get audio output from processing after receiving input from an arduino. I was just trying to test the processing code without the …

---

## [Output to more than one canvas texture in processing with shader](https://discourse.processing.org/t/output-to-more-than-one-canvas-texture-in-processing-with-shader/39696)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 0\
**Last updated:** [November 14, 2022, 1:33am UTC](https://discourse.processing.org/t/output-to-more-than-one-canvas-texture-in-processing-with-shader/39696 "2022-11-14T01:33:21Z")

</div>

as the question suggests im looking to output to more than one canvas element in processing to speed up the calculations and limit shader draw calls. It has to be as simple as possible to be transferable to android as we…

---

## [\[JAVA\] IoT-based multi-AC fan control project](https://discourse.processing.org/t/java-iot-based-multi-ac-fan-control-project/39682)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 2\
**Last updated:** [November 13, 2022, 5:33pm UTC](https://discourse.processing.org/t/java-iot-based-multi-ac-fan-control-project/39682 "2022-11-13T17:33:22Z")

</div>

Hello. I made a project today through processing ‘JAVA’. The speed of multiple FANs can be controlled through IoT. The speed of FAN is saved in ‘log’. The speed of ‘FAN’ is displayed as a graph. Ple…

---

## [Help using rotateX() rotateY() and rotateZ() to make an object pitch yaw and roll](https://discourse.processing.org/t/help-using-rotatex-rotatey-and-rotatez-to-make-an-object-pitch-yaw-and-roll/39652)

<div class="topic-metadata">

**Author:** [@RomketBoi](https://discourse.processing.org/u/RomketBoi)\
**Replies:** 13\
**Last updated:** [November 13, 2022, 5:01pm UTC](https://discourse.processing.org/t/help-using-rotatex-rotatey-and-rotatez-to-make-an-object-pitch-yaw-and-roll/39652 "2022-11-13T17:01:20Z")

</div>

I have a program where I have a spaceship with pitch, yaw, and roll values and I want to rotate everything else to make it seem like the camera is attached to the ship. Currently, this is my code: rotateX(pitch); rotate…

---

## [Why do my ellipse become bigger when it "further away" processing](https://discourse.processing.org/t/why-do-my-ellipse-become-bigger-when-it-further-away-processing/39690)

<div class="topic-metadata">

**Author:** [@returng](https://discourse.processing.org/u/returng)\
**Replies:** 2\
**Last updated:** [November 13, 2022, 12:22pm UTC](https://discourse.processing.org/t/why-do-my-ellipse-become-bigger-when-it-further-away-processing/39690 "2022-11-13T12:22:13Z")

</div>

Hello, I have a problem the ellipse size becomes smaller when I use mousePressed but as it is further away it becomes bigger and bigger. float gravity = .4; int particle\_each\_time = 4; ArrayList\<Particle\> particle= new …

---

## [\[JAVA\] File copy and paste function / FileUtils.copyFile(file, newFile);](https://discourse.processing.org/t/java-file-copy-and-paste-function-fileutils-copyfile-file-newfile/39683)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 0\
**Last updated:** [November 13, 2022, 3:56am UTC](https://discourse.processing.org/t/java-file-copy-and-paste-function-fileutils-copyfile-file-newfile/39683 "2022-11-13T03:56:51Z")

</div>

Download the library Commons IO – Download Apache Commons IO Create a folder called ‘code’ in your ‘Sketch folder’. After that, put the downloaded file in the ‘code’ file. Source Code import java.io.File; …

---

## [Does anyonw know how to create Bouncy Bubbles with multiple colors?](https://discourse.processing.org/t/does-anyonw-know-how-to-create-bouncy-bubbles-with-multiple-colors/39686)

<div class="topic-metadata">

**Author:** [@learningprocessing23](https://discourse.processing.org/u/learningprocessing23)\
**Replies:** 3\
**Last updated:** [November 13, 2022, 8:07am UTC](https://discourse.processing.org/t/does-anyonw-know-how-to-create-bouncy-bubbles-with-multiple-colors/39686 "2022-11-13T08:07:34Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hello! I saw the Bouncy Balls from Processing Org Example, and I want to create multiple colors of bubbles. However, when I tried to use random(…

---

## [\[P5\] Is there a default font provided by WEB?](https://discourse.processing.org/t/p5-is-there-a-default-font-provided-by-web/39668)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 4\
**Last updated:** [November 13, 2022, 3:40am UTC](https://discourse.processing.org/t/p5-is-there-a-default-font-provided-by-web/39668 "2022-11-13T03:40:53Z")

</div>

\[P5\] Is there a default font provided by WEB? In ‘Processing-P5’, you can load a font with ‘loadFont’. Example source code: let myFont; function preload() { myFont = loadFont('assets/inconsolata.otf'); } H…

---

## [Help using the Teilchen Library](https://discourse.processing.org/t/help-using-the-teilchen-library/39680)

<div class="topic-metadata">

**Author:** [@stixan](https://discourse.processing.org/u/stixan)\
**Replies:** 0\
**Last updated:** [November 12, 2022, 8:26pm UTC](https://discourse.processing.org/t/help-using-the-teilchen-library/39680 "2022-11-12T20:26:31Z")

</div>

I have just discovered the Teilchen library by dennisppaul and FlowBo. Teilchen appears to be very useful when working with physics, particles, forces, collisions, and behaviors. It ships with a collection of examples, …

---

## [How to remove p5.js in browser extension with message](https://discourse.processing.org/t/how-to-remove-p5-js-in-browser-extension-with-message/39655)

<div class="topic-metadata">

**Author:** [@premier213](https://discourse.processing.org/u/premier213)\
**Replies:** 0\
**Last updated:** [November 10, 2022, 9:03am UTC](https://discourse.processing.org/t/how-to-remove-p5-js-in-browser-extension-with-message/39655 "2022-11-10T09:03:51Z")

</div>

// get message chrome.runtime.onMessage.addListener(gotMessage); function gotMessage(message, sender, sendResponse) { runCanvas(message.val); } function runCanvas(value) { var stage = (p) =\> { if (value === "nn-…

---

## [The streaming setup for my coding channel](https://discourse.processing.org/t/the-streaming-setup-for-my-coding-channel/39679)

<div class="topic-metadata">

**Author:** [@codeguppy](https://discourse.processing.org/u/codeguppy)\
**Replies:** 0\
**Last updated:** [November 12, 2022, 4:11pm UTC](https://discourse.processing.org/t/the-streaming-setup-for-my-coding-channel/39679 "2022-11-12T16:11:10Z")

</div>

Hello all, I just want to offer you a sneak peek into the streaming setup for my coding youtube channel. I usually stream lessons for absolute code newbies using p5.js library in the codeguppy environment. At one poin…

---

## [Rect using wrong texture when using shader](https://discourse.processing.org/t/rect-using-wrong-texture-when-using-shader/39673)

<div class="topic-metadata">

**Author:** [@illus](https://discourse.processing.org/u/illus)\
**Replies:** 11\
**Last updated:** [November 12, 2022, 11:25am UTC](https://discourse.processing.org/t/rect-using-wrong-texture-when-using-shader/39673 "2022-11-12T11:25:34Z")

</div>

I’m using a chroma shader (to do some green screen video) but I want to use it twice so I have chroma.set("u\_tex",cam); rect(49,0,560,480); chroma.set("u\_tex",countDown); //rect(600,0,560,480); (I commented ou…

---

## [Can p5 objects have anchor links?](https://discourse.processing.org/t/can-p5-objects-have-anchor-links/39658)

<div class="topic-metadata">

**Author:** [@elle\_C](https://discourse.processing.org/u/elle_C)\
**Replies:** 3\
**Last updated:** [November 11, 2022, 6:22pm UTC](https://discourse.processing.org/t/can-p5-objects-have-anchor-links/39658 "2022-11-11T18:22:15Z")

</div>

Hello, I’m new to p5 DOM manipulation and I’m trying to discover if it’s possible to associate an object with a link. For example I would like to draw a circle and when it is clicked I go to a link. I have experimented …

---

## [Can I make a video blur?](https://discourse.processing.org/t/can-i-make-a-video-blur/39670)

<div class="topic-metadata">

**Author:** [@Bonobono](https://discourse.processing.org/u/Bonobono)\
**Replies:** 2\
**Last updated:** [November 11, 2022, 5:22pm UTC](https://discourse.processing.org/t/can-i-make-a-video-blur/39670 "2022-11-11T17:22:17Z")

</div>

Hello Everyone, Is it possible to blur a video, much like it is easy to blur an image using the blur filter? Thanks,

---

## [Making boxes bounce around a screen](https://discourse.processing.org/t/making-boxes-bounce-around-a-screen/39514)

<div class="topic-metadata">

**Author:** [@matt423](https://discourse.processing.org/u/matt423)\
**Replies:** 6\
**Last updated:** [November 11, 2022, 3:53pm UTC](https://discourse.processing.org/t/making-boxes-bounce-around-a-screen/39514 "2022-11-11T15:53:16Z")

</div>

Hi, I am relatively new to processing.py and I’ve been stuck on my code for a few days now. Basically I’m trying to make a bunch of boxes bounce around the screen and bounce off of each other if they collide. I’ve writte…

---

## [Using a Boolean in Constructor Class in p5.js](https://discourse.processing.org/t/using-a-boolean-in-constructor-class-in-p5-js/39546)

<div class="topic-metadata">

**Author:** [@alenmartel](https://discourse.processing.org/u/alenmartel)\
**Replies:** 2\
**Last updated:** [November 11, 2022, 5:55am UTC](https://discourse.processing.org/t/using-a-boolean-in-constructor-class-in-p5-js/39546 "2022-11-11T05:55:43Z")

</div>

Good evening all; I am still new to p5.js so appreciate your patience if I missed a simple thing! As a simple function in p5.js, I’m trying to make it so that when I click in a rectangle that it changes colour as well …

---

## [Integration with Ableton via OSC](https://discourse.processing.org/t/integration-with-ableton-via-osc/28997)

<div class="topic-metadata">

**Author:** [@Merk](https://discourse.processing.org/u/Merk)\
**Replies:** 1\
**Last updated:** [November 11, 2022, 5:39am UTC](https://discourse.processing.org/t/integration-with-ableton-via-osc/28997 "2022-11-11T05:39:31Z")

</div>

I’ve managed to get processing working quite well with Ableton Live, and interested to know who else is doing similar to learn/share. The Max for Live integration pack includes devices that send OSC messages, so I use m…

---

## [I need a shortcut for stopping sketch in Processing](https://discourse.processing.org/t/i-need-a-shortcut-for-stopping-sketch-in-processing/39642)

<div class="topic-metadata">

**Author:** [@abdu](https://discourse.processing.org/u/abdu)\
**Replies:** 3\
**Last updated:** [November 11, 2022, 12:50am UTC](https://discourse.processing.org/t/i-need-a-shortcut-for-stopping-sketch-in-processing/39642 "2022-11-11T00:50:58Z")

</div>

please format code with \</\> button \* homework policy \* asking questions I want to create a custom shortcut for stopping the sketch because there is no shortcut for that is there any code I can use in the program f…

---

## [Coding train 9.8: Random circle with no overlap](https://discourse.processing.org/t/coding-train-9-8-random-circle-with-no-overlap/39653)

<div class="topic-metadata">

**Author:** [@mwr](https://discourse.processing.org/u/mwr)\
**Replies:** 0\
**Last updated:** [November 10, 2022, 5:28am UTC](https://discourse.processing.org/t/coding-train-9-8-random-circle-with-no-overlap/39653 "2022-11-10T05:28:10Z")

</div>

Good morning beautiful processing people, I’ve been following along the coding train random circle with no overlap video trying to recreate the code but using random text characters instead of circles. I’m encountering…

---

## [Random() vs. Math.random() in p5js](https://discourse.processing.org/t/random-vs-math-random-in-p5js/39660)

<div class="topic-metadata">

**Author:** [@rkotty](https://discourse.processing.org/u/rkotty)\
**Replies:** 2\
**Last updated:** [November 10, 2022, 3:24pm UTC](https://discourse.processing.org/t/random-vs-math-random-in-p5js/39660 "2022-11-10T15:24:52Z")

</div>

I wanted to create global random variables, but when I used random() outside of all the functions, random() was not recognized. A student Googled that I needed to use Math.random() in this case. Why is that?

---

## [Way to scale canvas to fit on monitor?](https://discourse.processing.org/t/way-to-scale-canvas-to-fit-on-monitor/39656)

<div class="topic-metadata">

**Author:** [@i-draw-monkeys](https://discourse.processing.org/u/i-draw-monkeys)\
**Replies:** 1\
**Last updated:** [November 10, 2022, 12:58pm UTC](https://discourse.processing.org/t/way-to-scale-canvas-to-fit-on-monitor/39656 "2022-11-10T12:58:08Z")

</div>

I am making very large sketches at the moment. The current one is 1900 x 2800. Despite my large monitor, the canvas doesn’t fit. I don’t see the entire image until after I have saved it as an SVG and throw it into Inksc…

---

## [Distance Check within an angle/cone](https://discourse.processing.org/t/distance-check-within-an-angle-cone/39640)

<div class="topic-metadata">

**Author:** [@SolBreaker](https://discourse.processing.org/u/SolBreaker)\
**Replies:** 2\
**Last updated:** [November 9, 2022, 9:25pm UTC](https://discourse.processing.org/t/distance-check-within-an-angle-cone/39640 "2022-11-09T21:25:16Z")

</div>

Currently, I am attempting a raycasting technique with a line-circle interception (which is not working), and I was wondering if there is a way to limit a distance check within a cone in 2D. For reference, I am trying to…

---

## [How can i make balls spread from my mouse](https://discourse.processing.org/t/how-can-i-make-balls-spread-from-my-mouse/39644)

<div class="topic-metadata">

**Author:** [@returng](https://discourse.processing.org/u/returng)\
**Replies:** 2\
**Last updated:** [November 9, 2022, 3:03pm UTC](https://discourse.processing.org/t/how-can-i-make-balls-spread-from-my-mouse/39644 "2022-11-09T15:03:29Z")

</div>

Hello currently I have a problem on how can i make a ball spread out from my mouse (like an explosion). I can make it spread in one specific location but I want it spread while following my mouse.

---

## [Repeated problems with the g4p Gui builder](https://discourse.processing.org/t/repeated-problems-with-the-g4p-gui-builder/39633)

<div class="topic-metadata">

**Author:** [@Kalarila](https://discourse.processing.org/u/Kalarila)\
**Replies:** 1\
**Last updated:** [November 9, 2022, 1:53pm UTC](https://discourse.processing.org/t/repeated-problems-with-the-g4p-gui-builder/39633 "2022-11-09T13:53:31Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Ok, so I’m using Processing 3.5.4 and the G4P GUI Builder Tool (Version 4.4.2). I’m building a basic Image Editing Program, so I need to use seve…

---

## [How to make a card matching game in p5.js (memory)](https://discourse.processing.org/t/how-to-make-a-card-matching-game-in-p5-js-memory/39592)

<div class="topic-metadata">

**Author:** [@yoyo](https://discourse.processing.org/u/yoyo)\
**Replies:** 21\
**Last updated:** [November 9, 2022, 11:46am UTC](https://discourse.processing.org/t/how-to-make-a-card-matching-game-in-p5-js-memory/39592 "2022-11-09T11:46:59Z")

</div>

I am trying to make a card matching game. But I don’t know how I can matching than when they are correct. Maybe I can let the first card and second card . But I don’t really know how to do it. Link: p5.js Web Editor l…

---

## [Receive UDP packets](https://discourse.processing.org/t/receive-udp-packets/19832)

<div class="topic-metadata">

**Author:** [@MiguelSanches](https://discourse.processing.org/u/MiguelSanches)\
**Replies:** 3\
**Last updated:** [November 9, 2022, 12:50am UTC](https://discourse.processing.org/t/receive-udp-packets/19832 "2022-11-09T00:50:11Z")

</div>

Hi everyone, I am currently trying to retrieve UDP packets from an ethernet module connected to my computer. I know that the module is transmitting the UDP packets and my laptop is receiving them (I used Wireshark to co…

---

## [Processing 4 upgrade](https://discourse.processing.org/t/processing-4-upgrade/39632)

<div class="topic-metadata">

**Author:** [@debxyz](https://discourse.processing.org/u/debxyz)\
**Replies:** 1\
**Last updated:** [November 8, 2022, 8:48pm UTC](https://discourse.processing.org/t/processing-4-upgrade/39632 "2022-11-08T20:48:42Z")

</div>

Hello! I have not yet installed the Processing 4 release. I’m still running version 3.5.4. Will I be able to run older files in the new PDE, or will I need to update files as needed? Just wanted to know what to expect…

---

## [How can i empty an array](https://discourse.processing.org/t/how-can-i-empty-an-array/39630)

<div class="topic-metadata">

**Author:** [@REK166](https://discourse.processing.org/u/REK166)\
**Replies:** 1\
**Last updated:** [November 8, 2022, 5:15pm UTC](https://discourse.processing.org/t/how-can-i-empty-an-array/39630 "2022-11-08T17:15:10Z")

</div>

how can i remove all elements of an array?

---

## [ColorPicker with alpha?](https://discourse.processing.org/t/colorpicker-with-alpha/39521)

<div class="topic-metadata">

**Author:** [@Chris](https://discourse.processing.org/u/Chris)\
**Replies:** 4\
**Last updated:** [November 8, 2022, 3:44pm UTC](https://discourse.processing.org/t/colorpicker-with-alpha/39521 "2022-11-08T15:44:10Z")

</div>

Hello. What about \`createColorPicker’ with RGBA mode ? It could be great to have this option (ARGB+Alpha) What do you think about ? Thanks. Chris

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

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