# Latest

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

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

**Page:** 60

---

## [Audio examples experience. What a bear - updated](https://discourse.processing.org/t/audio-examples-experience-what-a-bear-updated/42920)

<div class="topic-metadata">

**Author:** [@f101](https://discourse.processing.org/u/f101)\
**Replies:** 0\
**Last updated:** [October 8, 2023, 12:28am UTC](https://discourse.processing.org/t/audio-examples-experience-what-a-bear-updated/42920 "2023-10-08T00:28:15Z")

</div>

Some development difficult with sound examples: 1 - Open a p5js audio example in processing for windows then save it before making any mods. The html file is sometimes modified to add a link to p5.sound.js library, betw…

---

## [Getting different errors reading Serial data from MPU6050 and DHT11](https://discourse.processing.org/t/getting-different-errors-reading-serial-data-from-mpu6050-and-dht11/42917)

<div class="topic-metadata">

**Author:** [@bkeith](https://discourse.processing.org/u/bkeith)\
**Replies:** 1\
**Last updated:** [October 7, 2023, 6:08pm UTC](https://discourse.processing.org/t/getting-different-errors-reading-serial-data-from-mpu6050-and-dht11/42917 "2023-10-07T18:08:16Z")

</div>

I’m trying to read Serial data from 3 different sensors, a DHT11, and MPU6050 and a 30Bar pressure sensor by BlueRobotics. I should mention the pressure sensor and mpu6050 are connected to my Arduino via a multiplexer. I…

---

## [Shapes3D: Toroid class is missing (new version of library)](https://discourse.processing.org/t/shapes3d-toroid-class-is-missing-new-version-of-library/42862)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 6\
**Last updated:** [October 7, 2023, 5:11pm UTC](https://discourse.processing.org/t/shapes3d-toroid-class-is-missing-new-version-of-library/42862 "2023-10-07T17:11:20Z")

</div>

Hello all, I just try using an old Sketch, but it says: shapes3d: Toroid class is missing Can anybody help me? Chrisir P.S. also failing boxBoard\[iBox\].setSize(80, 5, 80); boxBoard\[iBox\].draw(); (it’s an arr…

---

## [Complex gradient loop](https://discourse.processing.org/t/complex-gradient-loop/42832)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 31\
**Last updated:** [October 7, 2023, 3:17am UTC](https://discourse.processing.org/t/complex-gradient-loop/42832 "2023-10-07T03:17:39Z")

</div>

Hi there! I am trying to do a gradient with multiple focal points, like the one you can see on this Daniel Otoole artwork. I have found this useful code on happycoding and I am playing with it to get something more …

---

## [Shapes3D: Box.draw() doesn't work anymore (new version of library)](https://discourse.processing.org/t/shapes3d-box-draw-doesnt-work-anymore-new-version-of-library/39860)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 12\
**Last updated:** [October 6, 2023, 4:42pm UTC](https://discourse.processing.org/t/shapes3d-box-draw-doesnt-work-anymore-new-version-of-library/39860 "2023-10-06T16:42:44Z")

</div>

@quark using shapes3d (from a very old Sketch from my archives) here and wanted to say (used to say) MyBoxes\[i\].draw(); doesn’t work anymore It seems, it used to work without a parameter, but now it doesn’t? …

---

## [Can I selectively delete something from canvas?](https://discourse.processing.org/t/can-i-selectively-delete-something-from-canvas/19617)

<div class="topic-metadata">

**Author:** [@berndbausch](https://discourse.processing.org/u/berndbausch)\
**Replies:** 6\
**Last updated:** [October 3, 2023, 10:24am UTC](https://discourse.processing.org/t/can-i-selectively-delete-something-from-canvas/19617 "2023-10-03T10:24:18Z")

</div>

I have seen this question asked before, and it seems the answer is no. Still, perhaps I am wrong… I am running a random walk inspired by Dan Shiffman’s first chapter of Nature of Code. It slowly creates a pretty pattern…

---

## [Contribution Manager fails at library installs](https://discourse.processing.org/t/contribution-manager-fails-at-library-installs/42894)

<div class="topic-metadata">

**Author:** [@gameworn](https://discourse.processing.org/u/gameworn)\
**Replies:** 1\
**Last updated:** [October 6, 2023, 2:25pm UTC](https://discourse.processing.org/t/contribution-manager-fails-at-library-installs/42894 "2023-10-06T14:25:59Z")

</div>

Hello Whenever I try to install a library using Processing 4.3, I get an error “Could not move contribution to backup folder”. This happens at the end of an install. It is happening with any library install. I have trie…

---

## [Any chance to use Android audio and MIDI using a standard library?](https://discourse.processing.org/t/any-chance-to-use-android-audio-and-midi-using-a-standard-library/42879)

<div class="topic-metadata">

**Author:** [@Algoritmarte](https://discourse.processing.org/u/Algoritmarte)\
**Replies:** 3\
**Last updated:** [October 5, 2023, 1:57pm UTC](https://discourse.processing.org/t/any-chance-to-use-android-audio-and-midi-using-a-standard-library/42879 "2023-10-05T13:57:34Z")

</div>

Is there a way to use a standard audio/MIDI library (low level) that can work both on the Processing for Android and Processing desktop versions? Or what is the best (and easiest) way to use audio/MIDI on Processing for…

---

## [Why is there no link to this discussion forum from the Processing main page?](https://discourse.processing.org/t/why-is-there-no-link-to-this-discussion-forum-from-the-processing-main-page/42896)

<div class="topic-metadata">

**Author:** [@bananana](https://discourse.processing.org/u/bananana)\
**Replies:** 2\
**Last updated:** [October 5, 2023, 8:39am UTC](https://discourse.processing.org/t/why-is-there-no-link-to-this-discussion-forum-from-the-processing-main-page/42896 "2023-10-05T08:39:13Z")

</div>

If you go to processing.org I can’t find a link anywhere to the discussion forum?

---

## [Introducing a New Free and Beginner-friendly Introductory Course on Processing!](https://discourse.processing.org/t/introducing-a-new-free-and-beginner-friendly-introductory-course-on-processing/42876)

<div class="topic-metadata">

**Author:** [@sableraph](https://discourse.processing.org/u/sableraph)\
**Replies:** 1\
**Last updated:** [October 2, 2023, 2:30pm UTC](https://discourse.processing.org/t/introducing-a-new-free-and-beginner-friendly-introductory-course-on-processing/42876 "2023-10-02T14:30:27Z")

</div>

Hello everyone, I’m thrilled to share an exciting new resource for our community. Dan @shiffman has just launched a free 5-hour long introductory course on Processing, tailored specifically for complete beginners. If yo…

---

## [How to redraw() on loop](https://discourse.processing.org/t/how-to-redraw-on-loop/42852)

<div class="topic-metadata">

**Author:** [@blkpanther](https://discourse.processing.org/u/blkpanther)\
**Replies:** 10\
**Last updated:** [October 5, 2023, 12:01am UTC](https://discourse.processing.org/t/how-to-redraw-on-loop/42852 "2023-10-05T00:01:18Z")

</div>

I have a sketch on loop but want to test out different colors and sizes via p5gui quickly. Redraw seems to require noLoop(). What can i do to trigger a redraw despite the loop and select from a list of colors and sizes? …

---

## [G4P checkbox bigger](https://discourse.processing.org/t/g4p-checkbox-bigger/42863)

<div class="topic-metadata">

**Author:** [@RichardDL](https://discourse.processing.org/u/RichardDL)\
**Replies:** 2\
**Last updated:** [October 4, 2023, 10:03pm UTC](https://discourse.processing.org/t/g4p-checkbox-bigger/42863 "2023-10-04T22:03:11Z")

</div>

I want to make the G4P checkbox bigger. In the included example there’s a checkbox created by this line. // Checkbox cbxSticky = new GCheckbox(this, 230, 130, 120, 40, "Stick to ticks"); // …

---

## [Problems Sending ControlP5+oscP5 Messages From Processing To MaxMSP - Any Possible Advice?](https://discourse.processing.org/t/problems-sending-controlp5-oscp5-messages-from-processing-to-maxmsp-any-possible-advice/42890)

<div class="topic-metadata">

**Author:** [@tmm88](https://discourse.processing.org/u/tmm88)\
**Replies:** 2\
**Last updated:** [October 4, 2023, 6:22pm UTC](https://discourse.processing.org/t/problems-sending-controlp5-oscp5-messages-from-processing-to-maxmsp-any-possible-advice/42890 "2023-10-04T18:22:04Z")

</div>

Greetings i am trying to send messages from processing to max, but i am not being able to do so. you can find my code below. any feedback would be highly appreciated import controlP5.\*; import oscP5.\*; import netP5.\*; …

---

## [New Processing Sound Library Release—Looking for Feedback](https://discourse.processing.org/t/new-processing-sound-library-release-looking-for-feedback/42877)

<div class="topic-metadata">

**Author:** [@sableraph](https://discourse.processing.org/u/sableraph)\
**Replies:** 3\
**Last updated:** [October 4, 2023, 3:30pm UTC](https://discourse.processing.org/t/new-processing-sound-library-release-looking-for-feedback/42877 "2023-10-04T15:30:48Z")

</div>

Hi everyone, We’re close to launching an updated version of the Processing Sound Library, featuring enhancements like multi-channel output, a new pitch detection analyzer, improved filter controls, and more. This update…

---

## [Execute code when sketch stops](https://discourse.processing.org/t/execute-code-when-sketch-stops/42868)

<div class="topic-metadata">

**Author:** [@garrettlynch](https://discourse.processing.org/u/garrettlynch)\
**Replies:** 4\
**Last updated:** [October 4, 2023, 3:17pm UTC](https://discourse.processing.org/t/execute-code-when-sketch-stops/42868 "2023-10-04T15:17:53Z")

</div>

I’m trying to execute code when a sketch stops. I’ve been using this as a guide (Run code on exit - Processing Forum). There seems to be three scenarios that this can occur 1) Closing the window 2) Hitting the ESC key 3)…

---

## [How to disable closing button](https://discourse.processing.org/t/how-to-disable-closing-button/42881)

<div class="topic-metadata">

**Author:** [@wonderways](https://discourse.processing.org/u/wonderways)\
**Replies:** 4\
**Last updated:** [October 4, 2023, 9:18am UTC](https://discourse.processing.org/t/how-to-disable-closing-button/42881 "2023-10-04T09:18:40Z")

</div>

Hi there I my recent project i need to create multiple windows( which i have already done), the probleme is when i close a window all the create windows also close. Does anyone know in processing 4 how to stop the wind…

---

## [P5 favicon example](https://discourse.processing.org/t/p5-favicon-example/42885)

<div class="topic-metadata">

**Author:** [@micuat](https://discourse.processing.org/u/micuat)\
**Replies:** 0\
**Last updated:** [October 3, 2023, 7:19pm UTC](https://discourse.processing.org/t/p5-favicon-example/42885 "2023-10-03T19:19:18Z")

</div>

Hi :wave: I made a simple example using p5js for favicon https://p5-favicon-template.glitch.me/ source: https://glitch.com/edit/#!/p5-favicon-template I used p5js-vite because vite is cool, but of course it should …

---

## [EOS webcam utility](https://discourse.processing.org/t/eos-webcam-utility/42883)

<div class="topic-metadata">

**Author:** [@simonbiggs](https://discourse.processing.org/u/simonbiggs)\
**Replies:** 0\
**Last updated:** [October 3, 2023, 5:09am UTC](https://discourse.processing.org/t/eos-webcam-utility/42883 "2023-10-03T05:09:49Z")

</div>

Hi everyone A question about the Processing video library on Mac OS. I have had issues with this in the past when using third party camera utilities for video input. Processing seems to be very particular about what uti…

---

## [Movie as loop without getting stuck](https://discourse.processing.org/t/movie-as-loop-without-getting-stuck/42848)

<div class="topic-metadata">

**Author:** [@blindschleiche](https://discourse.processing.org/u/blindschleiche)\
**Replies:** 2\
**Last updated:** [October 2, 2023, 8:16am UTC](https://discourse.processing.org/t/movie-as-loop-without-getting-stuck/42848 "2023-10-02T08:16:02Z")

</div>

hello i would like to play a movie as loop. unfortunately it always stucks at the end for a few millis before it plays over again. what can i do to prevent this? thank you for help Movie myMovie; void setup() { siz…

---

## [Looking for contributors for ‘marketing’ (awareness-building) project for non-profit in the medical field](https://discourse.processing.org/t/looking-for-contributors-for-marketing-awareness-building-project-for-non-profit-in-the-medical-field/42816)

<div class="topic-metadata">

**Author:** [@nchowlett](https://discourse.processing.org/u/nchowlett)\
**Replies:** 2\
**Last updated:** [October 2, 2023, 3:36am UTC](https://discourse.processing.org/t/looking-for-contributors-for-marketing-awareness-building-project-for-non-profit-in-the-medical-field/42816 "2023-10-02T03:36:50Z")

</div>

I’m looking for contributors for a ‘marketing’ project for a non-profit in the medical field. Sorry it’s unpaid, the non-profit doesn’t believe this deserves funding (at least currently, maybe we can convince them if our…

---

## [New install of 4.3 android mode. What is default emulated device?](https://discourse.processing.org/t/new-install-of-4-3-android-mode-what-is-default-emulated-device/42873)

<div class="topic-metadata">

**Author:** [@f101](https://discourse.processing.org/u/f101)\
**Replies:** 0\
**Last updated:** [October 2, 2023, 12:27am UTC](https://discourse.processing.org/t/new-install-of-4-3-android-mode-what-is-default-emulated-device/42873 "2023-10-02T00:27:51Z")

</div>

Setting up a fresh win11 system with Processing 4.3. What android system image emulator and android build is used by default? Only a Pixel\_3a\_API\_34\_extension\_level7\_x86\_64 got installed in sdk\\emulator. sdk\\platforms h…

---

## [Is there a limit of input channels in Sound library?](https://discourse.processing.org/t/is-there-a-limit-of-input-channels-in-sound-library/42137)

<div class="topic-metadata">

**Author:** [@cento](https://discourse.processing.org/u/cento)\
**Replies:** 4\
**Last updated:** [September 21, 2023, 10:39pm UTC](https://discourse.processing.org/t/is-there-a-limit-of-input-channels-in-sound-library/42137 "2023-09-21T22:39:32Z")

</div>

Processing 4, and Sound library My project analyzes sound from various channels in a single input device. It worked fine connecting an external audio interface with two channels. Now I try to expand the project to wor…

---

## [Weird DHT11 reading](https://discourse.processing.org/t/weird-dht11-reading/42869)

<div class="topic-metadata">

**Author:** [@bkeith](https://discourse.processing.org/u/bkeith)\
**Replies:** 1\
**Last updated:** [October 1, 2023, 4:02pm UTC](https://discourse.processing.org/t/weird-dht11-reading/42869 "2023-10-01T16:02:12Z")

</div>

I’m trying read values from a DHT11 sensor on my arduino uno. I have a very simple arduino sketch that writes just humidity, that’s the only value I want. I wrote a very simple processing sketch (see below) that reads an…

---

## [Color issue when circles overlap](https://discourse.processing.org/t/color-issue-when-circles-overlap/42867)

<div class="topic-metadata">

**Author:** [@tomashau](https://discourse.processing.org/u/tomashau)\
**Replies:** 1\
**Last updated:** [October 1, 2023, 12:47pm UTC](https://discourse.processing.org/t/color-issue-when-circles-overlap/42867 "2023-10-01T12:47:43Z")

</div>

Hi, I am running into an issue trying to create this effect. I am trying to make new circles for each mousePressed that have the same gradient border. To achieve the orange border I have added an orange stroke, and the w…

---

## [Syphon library crash](https://discourse.processing.org/t/syphon-library-crash/42853)

<div class="topic-metadata">

**Author:** [@olliebown](https://discourse.processing.org/u/olliebown)\
**Replies:** 2\
**Last updated:** [September 29, 2023, 9:16am UTC](https://discourse.processing.org/t/syphon-library-crash/42853 "2023-09-29T09:16:32Z")

</div>

I’ve been happily running the Syphon library, then one day to the next it fails to run, with this error. Nothing has changed, not software update or anything. I’ve tried to clean install the Syphon library and I still g…

---

## [Choosing random numbers that satisfy a certain condition](https://discourse.processing.org/t/choosing-random-numbers-that-satisfy-a-certain-condition/42468)

<div class="topic-metadata">

**Author:** [@i-draw-monkeys](https://discourse.processing.org/u/i-draw-monkeys)\
**Replies:** 19\
**Last updated:** [September 30, 2023, 2:36pm UTC](https://discourse.processing.org/t/choosing-random-numbers-that-satisfy-a-certain-condition/42468 "2023-09-30T14:36:47Z")

</div>

Let’s say I want to choose 4 random numbers, and I want these four numbers to all add to 100. Is there a way to code this? The way I think of is the “long” way which would be something like this, but is there a short w…

---

## [3D Game : Rebellion on Pern](https://discourse.processing.org/t/3d-game-rebellion-on-pern/42831)

<div class="topic-metadata">

**Author:** [@quark](https://discourse.processing.org/u/quark)\
**Replies:** 1\
**Last updated:** [September 28, 2023, 4:58pm UTC](https://discourse.processing.org/t/3d-game-rebellion-on-pern/42831 "2023-09-28T16:58:40Z")

</div>

About 18 months ago I decided it was about time to learn Javascript and p5js. Since then I have created quite a few graphic applications recently culminating in loading and animating MD2 Quake 2 (3D) models. I decided t…

---

## [Write color pixel to an Image](https://discourse.processing.org/t/write-color-pixel-to-an-image/42849)

<div class="topic-metadata">

**Author:** [@matheplica](https://discourse.processing.org/u/matheplica)\
**Replies:** 1\
**Last updated:** [September 28, 2023, 3:01pm UTC](https://discourse.processing.org/t/write-color-pixel-to-an-image/42849 "2023-09-28T15:01:00Z")

</div>

Hi, I’m trying to draw green pixel from a layer to a PImage. But I’ve got this result unexpected : The code seems ok, there is something I don’t understand. PImage result; PGraphics msk; void setup() { size(360, 2…

---

## [CSG (Constructive Solid Geometry)](https://discourse.processing.org/t/csg-constructive-solid-geometry/12693)

<div class="topic-metadata">

**Author:** [@villares](https://discourse.processing.org/u/villares)\
**Replies:** 11\
**Last updated:** [September 28, 2023, 11:21am UTC](https://discourse.processing.org/t/csg-constructive-solid-geometry/12693 "2023-09-28T11:21:03Z")

</div>

For years I have looked for CSG in Processing… then I found a nice Java CSG candidate library and George Profenza in minutes made it work with Processing: I’m very happy :smiley: And it even works with my beloved P…

---

## [How to fill in a checker pattern with PVectors?](https://discourse.processing.org/t/how-to-fill-in-a-checker-pattern-with-pvectors/42822)

<div class="topic-metadata">

**Author:** [@asymmetric](https://discourse.processing.org/u/asymmetric)\
**Replies:** 10\
**Last updated:** [September 28, 2023, 3:40am UTC](https://discourse.processing.org/t/how-to-fill-in-a-checker-pattern-with-pvectors/42822 "2023-09-28T03:40:49Z")

</div>

Hi, I am having a hard time changing the fill(); on the following terrain code. How can I fill(); in a black and white pattern? import processing.svg.\*; boolean record; // a class to representing a point on our grid. …

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

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