# Processing

**URL:** https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=31

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

**Page:** 32

---

## [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…

---

## [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…

---

## [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…

---

## [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…

---

## [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…

---

## [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. …

---

## [How do i convert array to ArrayList?](https://discourse.processing.org/t/how-do-i-convert-array-to-arraylist/42839)

<div class="topic-metadata">

**Author:** [@AniManOtaku](https://discourse.processing.org/u/AniManOtaku)\
**Replies:** 4\
**Last updated:** [September 26, 2023, 6:04pm UTC](https://discourse.processing.org/t/how-do-i-convert-array-to-arraylist/42839 "2023-09-26T18:04:04Z")

</div>

Please i need to know

---

## [SVG export fails to produce wanted output](https://discourse.processing.org/t/svg-export-fails-to-produce-wanted-output/42838)

<div class="topic-metadata">

**Author:** [@appas](https://discourse.processing.org/u/appas)\
**Replies:** 4\
**Last updated:** [September 26, 2023, 5:42pm UTC](https://discourse.processing.org/t/svg-export-fails-to-produce-wanted-output/42838 "2023-09-26T17:42:42Z")

</div>

Hi, I am trying to export an image drawn by my sketch as SVG. The export runs through, but the result is wrong. Here is the output of the sketch in the render window: …and here is the exported image as rendered by b…

---

## [Video library archlinux libsoup errors](https://discourse.processing.org/t/video-library-archlinux-libsoup-errors/42821)

<div class="topic-metadata">

**Author:** [@coding](https://discourse.processing.org/u/coding)\
**Replies:** 3\
**Last updated:** [September 26, 2023, 3:40pm UTC](https://discourse.processing.org/t/video-library-archlinux-libsoup-errors/42821 "2023-09-26T15:40:59Z")

</div>

Greetings. Example video library sketches (Capture and Movie) all fail to run on archlinux with conflicting libsoup2 & libsoup3. I’d like to get them working, but cannot find a fix like here: Cant install gintro on Arch…

---

## [Questions regarding complicated Processing stuff (Java Pen Tablet Access Library etc.)](https://discourse.processing.org/t/questions-regarding-complicated-processing-stuff-java-pen-tablet-access-library-etc/42817)

<div class="topic-metadata">

**Author:** [@nuhuhwy](https://discourse.processing.org/u/nuhuhwy)\
**Replies:** 8\
**Last updated:** [September 24, 2023, 7:52pm UTC](https://discourse.processing.org/t/questions-regarding-complicated-processing-stuff-java-pen-tablet-access-library-etc/42817 "2023-09-24T19:52:10Z")

</div>

I have a few question regarding processing in generall! :slight\_smile: Is it possible to show a progress bar on task manager window? Is it possible to make the app name be something different then “java openjdk 20”? I…

---

## [Arcs and angles with PI (wings)](https://discourse.processing.org/t/arcs-and-angles-with-pi-wings/42797)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 17\
**Last updated:** [September 23, 2023, 8:13pm UTC](https://discourse.processing.org/t/arcs-and-angles-with-pi-wings/42797 "2023-09-23T20:13:55Z")

</div>

Hi there! I’m trying to draw some arcs with right angle, but I can’t understand how to use PI in processing. Doing some test I was able to make an angle from 0 to 90°, but I don’t know how to draw another from 135° to 45…

---

## [Shader from shadertoy : buffer issue and lots of strange differences](https://discourse.processing.org/t/shader-from-shadertoy-buffer-issue-and-lots-of-strange-differences/4276)

<div class="topic-metadata">

**Author:** [@Adrien](https://discourse.processing.org/u/Adrien)\
**Replies:** 13\
**Last updated:** [September 22, 2023, 7:11am UTC](https://discourse.processing.org/t/shader-from-shadertoy-buffer-issue-and-lots-of-strange-differences/4276 "2023-09-22T07:11:24Z")

</div>

Hi, I’m relatively new with shaders. I’m trying to port a shader from shadertoy (https://www.shadertoy.com/view/4dK3Ww) on processing 3. It’s days I’m trying, still didn’t find the/a solution, because at the moment I …

---

## [Help to generate the good number of bullets (tower defense game)](https://discourse.processing.org/t/help-to-generate-the-good-number-of-bullets-tower-defense-game/42787)

<div class="topic-metadata">

**Author:** [@Malcolm0609](https://discourse.processing.org/u/Malcolm0609)\
**Replies:** 4\
**Last updated:** [September 22, 2023, 7:06am UTC](https://discourse.processing.org/t/help-to-generate-the-good-number-of-bullets-tower-defense-game/42787 "2023-09-22T07:06:18Z")

</div>

Hello everyone, as part of my studies, I need to create a small Processing game. I’ve decided to create a tower defense game with a fixed turret that automatically shoots at enemies approaching it. Unfortunately, I’m ha…

---

## [FX2D mouseWheel getCount only returns zero](https://discourse.processing.org/t/fx2d-mousewheel-getcount-only-returns-zero/42814)

<div class="topic-metadata">

**Author:** [@User442B](https://discourse.processing.org/u/User442B)\
**Replies:** 8\
**Last updated:** [September 22, 2023, 5:28am UTC](https://discourse.processing.org/t/fx2d-mousewheel-getcount-only-returns-zero/42814 "2023-09-22T05:28:06Z")

</div>

I see that this issue has been reported before, but closed because it wasn’t replicated. I figured before I posted another Issue that I would see if anyone else ran into it. Here is a test sketch: color black = color(36…

---

## [Window larger than expected with FX2D](https://discourse.processing.org/t/window-larger-than-expected-with-fx2d/42809)

<div class="topic-metadata">

**Author:** [@User442B](https://discourse.processing.org/u/User442B)\
**Replies:** 2\
**Last updated:** [September 21, 2023, 9:07pm UTC](https://discourse.processing.org/t/window-larger-than-expected-with-fx2d/42809 "2023-09-21T21:07:20Z")

</div>

I have noticed that the window size is not correct when setting the renderer to FX2D. My monitor’s resolution is 1920x1080, and when I run this sketch: color black = color(36,39,45); color green = color(141,187,110); im…

---

## [My boss gave me 6 Teensy 4.0's, can these be used for video?](https://discourse.processing.org/t/my-boss-gave-me-6-teensy-4-0s-can-these-be-used-for-video/42796)

<div class="topic-metadata">

**Author:** [@bkeith](https://discourse.processing.org/u/bkeith)\
**Replies:** 2\
**Last updated:** [September 21, 2023, 1:26pm UTC](https://discourse.processing.org/t/my-boss-gave-me-6-teensy-4-0s-can-these-be-used-for-video/42796 "2023-09-21T13:26:48Z")

</div>

I want to have a camera that feeds a live stream to my computer, more specifically I want to show the video in Processing. I’ve read the Arduino is not good at processing or showing video so I’ve considered getting a Pi …

---

## [How to change the color of the UI elements not affected by the Theme Selector?](https://discourse.processing.org/t/how-to-change-the-color-of-the-ui-elements-not-affected-by-the-theme-selector/42743)

<div class="topic-metadata">

**Author:** [@AMartin](https://discourse.processing.org/u/AMartin)\
**Replies:** 5\
**Last updated:** [September 20, 2023, 6:58pm UTC](https://discourse.processing.org/t/how-to-change-the-color-of-the-ui-elements-not-affected-by-the-theme-selector/42743 "2023-09-20T18:58:43Z")

</div>

For example, I have marked around the areas I’m talking about with red in the image.

---

## [Creating a Testing Tool in Processing - Need Help Adding a New Sketch Tab and Run Button](https://discourse.processing.org/t/creating-a-testing-tool-in-processing-need-help-adding-a-new-sketch-tab-and-run-button/42799)

<div class="topic-metadata">

**Author:** [@NebulaNine](https://discourse.processing.org/u/NebulaNine)\
**Replies:** 1\
**Last updated:** [September 20, 2023, 7:02am UTC](https://discourse.processing.org/t/creating-a-testing-tool-in-processing-need-help-adding-a-new-sketch-tab-and-run-button/42799 "2023-09-20T07:02:47Z")

</div>

I’m currently working on a project to develop a simple testing tool for Processing, and I’ve run into a bit of a roadblock. Here’s what I’m trying to achieve: Adding a New Sketch Tab: I want the tool to seamlessly add …

---

## [Processing and Arduino ultrasonic sensor](https://discourse.processing.org/t/processing-and-arduino-ultrasonic-sensor/42778)

<div class="topic-metadata">

**Author:** [@andreiaferrsilva](https://discourse.processing.org/u/andreiaferrsilva)\
**Replies:** 3\
**Last updated:** [September 19, 2023, 7:20pm UTC](https://discourse.processing.org/t/processing-and-arduino-ultrasonic-sensor/42778 "2023-09-19T19:20:59Z")

</div>

Hello! I’m working on a project with processing, Arduino and an ultrasonic sensor. Now I’ve come across a problem that I can’t solve, if anyone can help me I’d be grateful! This Processing code controls the playback of …

[Previous page](https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=30)

[Next page](https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=32)
