# Latest

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

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

**Page:** 62

---

## [Send OSC data to ESP 32 (Wi-Fi module connected to Arduino board)](https://discourse.processing.org/t/send-osc-data-to-esp-32-wi-fi-module-connected-to-arduino-board/42724)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 6\
**Last updated:** [September 15, 2023, 9:12pm UTC](https://discourse.processing.org/t/send-osc-data-to-esp-32-wi-fi-module-connected-to-arduino-board/42724 "2023-09-15T21:12:25Z")

</div>

Hello. I would like to send data from Processing to ESP32 ( a wifi module plugged in a Arduino) The Processing program is /\*\* \* oscP5sendreceive by andreas schlegel \* example shows how to send and receive osc messag…

---

## [\[Android\] How to 'smartphone background push notification'](https://discourse.processing.org/t/android-how-to-smartphone-background-push-notification/42738)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 5\
**Last updated:** [September 15, 2023, 12:04am UTC](https://discourse.processing.org/t/android-how-to-smartphone-background-push-notification/42738 "2023-09-15T00:04:07Z")

</div>

Hello. Nice to meet you. If you look at the image, it is a simple configuration diagram. The IP of the smartphone will change every time, so how can I make the ‘app’ run in the ‘background’? If the ‘application’ run…

---

## [Inconsistent result from calculation](https://discourse.processing.org/t/inconsistent-result-from-calculation/42755)

<div class="topic-metadata">

**Author:** [@RMurphy195](https://discourse.processing.org/u/RMurphy195)\
**Replies:** 7\
**Last updated:** [September 14, 2023, 7:07pm UTC](https://discourse.processing.org/t/inconsistent-result-from-calculation/42755 "2023-09-14T19:07:51Z")

</div>

In producing a clock (part of my learning curve) I couldn’t get the offset for the hour hand to work. I did solve the problem. I identified the cause as being a calculation that did not produce the expected result and, h…

---

## [Launching AI-AppBuilder | Create and Edit P5JS Apps With ChatGPT](https://discourse.processing.org/t/launching-ai-appbuilder-create-and-edit-p5js-apps-with-chatgpt/42760)

<div class="topic-metadata">

**Author:** [@StriveMath](https://discourse.processing.org/u/StriveMath)\
**Replies:** 5\
**Last updated:** [September 14, 2023, 9:22am UTC](https://discourse.processing.org/t/launching-ai-appbuilder-create-and-edit-p5js-apps-with-chatgpt/42760 "2023-09-14T09:22:36Z")

</div>

Strive Editor lets you create, run and edit p5js projects with a ChatGPT-like interface. The chat keeps the context of the previous messages and the code generated so you can iteratively improve the project. Here, I …

---

## [Getting data from a DS18B20 temp sensor](https://discourse.processing.org/t/getting-data-from-a-ds18b20-temp-sensor/42745)

<div class="topic-metadata">

**Author:** [@bkeith](https://discourse.processing.org/u/bkeith)\
**Replies:** 2\
**Last updated:** [September 13, 2023, 9:23pm UTC](https://discourse.processing.org/t/getting-data-from-a-ds18b20-temp-sensor/42745 "2023-09-13T21:23:09Z")

</div>

Hi everyone, I’m trying to integrate tabs into my code and I want to read a few waterproof temp sensors. I want to show the temperature as a sliding scale bar and I think I’m close, I have a DS18B20 in Pin 2 on my Ardui…

---

## [Transforming color image from webcam to grayscale image for analyse](https://discourse.processing.org/t/transforming-color-image-from-webcam-to-grayscale-image-for-analyse/42744)

<div class="topic-metadata">

**Author:** [@animalfrommars](https://discourse.processing.org/u/animalfrommars)\
**Replies:** 2\
**Last updated:** [September 13, 2023, 11:02am UTC](https://discourse.processing.org/t/transforming-color-image-from-webcam-to-grayscale-image-for-analyse/42744 "2023-09-13T11:02:27Z")

</div>

Preformatted text \`Hello, I need to analyse a grayscale image from webcam. I know that \*\*filter(GRAY)\*\* would do it for the display... but i also need to transform all the pixels. Could anyone tell me what is the best …

---

## [Splitting webcam image onto 4 textures](https://discourse.processing.org/t/splitting-webcam-image-onto-4-textures/41124)

<div class="topic-metadata">

**Author:** [@animalfrommars](https://discourse.processing.org/u/animalfrommars)\
**Replies:** 15\
**Last updated:** [September 13, 2023, 10:58am UTC](https://discourse.processing.org/t/splitting-webcam-image-onto-4-textures/41124 "2023-09-13T10:58:26Z")

</div>

Hello every one, I’am trying to split a vidéo image from a webcam onto 4 different textures. It works BUT i don’t understand why the original image from the webcam slow down or stop… is my approach ok ? What did i miss…

---

## [\[p5\] loadImage : How to load an image from an internet URL](https://discourse.processing.org/t/p5-loadimage-how-to-load-an-image-from-an-internet-url/42752)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 6\
**Last updated:** [September 13, 2023, 6:01am UTC](https://discourse.processing.org/t/p5-loadimage-how-to-load-an-image-from-an-internet-url/42752 "2023-09-13T06:01:42Z")

</div>

\[p5\] loadImage : How to load an image from an internet URL let img; var url ="https://www.google.co.kr/images/branding/googlelogo/1x/googlelogo\_color\_272x92dp.png"; function preload() { img = loadImage(url); } functi…

---

## [Can't open Processing after downloading](https://discourse.processing.org/t/cant-open-processing-after-downloading/42750)

<div class="topic-metadata">

**Author:** [@Liz](https://discourse.processing.org/u/Liz)\
**Replies:** 7\
**Last updated:** [September 12, 2023, 7:58pm UTC](https://discourse.processing.org/t/cant-open-processing-after-downloading/42750 "2023-09-12T19:58:30Z")

</div>

When I try to open Processing after downloading, I get the message below: I’ve tried following the instructions in the screenshot, restarting my computer, and redownloading, but keep getting the same response. Using…

---

## [Inconsistent frame rate using saveFrame for Audio Visualisation](https://discourse.processing.org/t/inconsistent-frame-rate-using-saveframe-for-audio-visualisation/42751)

<div class="topic-metadata">

**Author:** [@shaival](https://discourse.processing.org/u/shaival)\
**Replies:** 0\
**Last updated:** [September 12, 2023, 7:16pm UTC](https://discourse.processing.org/t/inconsistent-frame-rate-using-saveframe-for-audio-visualisation/42751 "2023-09-12T19:16:08Z")

</div>

I am trying to create an audio visualiser using Processing sound library. And the visualiser runs okay while running the sketch but as soon as I use saveFrame, the frame rate drops considerably and the visuals are out of…

---

## [Why won't my rectangle stay where it is when I press button?](https://discourse.processing.org/t/why-wont-my-rectangle-stay-where-it-is-when-i-press-button/42747)

<div class="topic-metadata">

**Author:** [@bkeith](https://discourse.processing.org/u/bkeith)\
**Replies:** 2\
**Last updated:** [September 12, 2023, 7:11am UTC](https://discourse.processing.org/t/why-wont-my-rectangle-stay-where-it-is-when-i-press-button/42747 "2023-09-12T07:11:06Z")

</div>

Hopefully the title is descriptive enough to get my point across. I’ve been working on building an rov for a while and wanted a rectangle in my GUI to indicate whether or not the LEDs are on. I’m also using a PS4 control…

---

## [FloodFill Demo Problem in p5.js Web Editor](https://discourse.processing.org/t/floodfill-demo-problem-in-p5-js-web-editor/42749)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 2\
**Last updated:** [September 12, 2023, 6:25am UTC](https://discourse.processing.org/t/floodfill-demo-problem-in-p5-js-web-editor/42749 "2023-09-12T06:25:41Z")

</div>

@codeguppy I have been unable to run the CodeGuppy demo on flood fill for reasons I do not understand. It worked just fine in the editor used in the video, but fails to run as expected in a p5.js web editor. The follow…

---

## [Scale up and down an ellipse doesn't work within a function](https://discourse.processing.org/t/scale-up-and-down-an-ellipse-doesnt-work-within-a-function/42564)

<div class="topic-metadata">

**Author:** [@blindschleiche](https://discourse.processing.org/u/blindschleiche)\
**Replies:** 31\
**Last updated:** [September 11, 2023, 11:58am UTC](https://discourse.processing.org/t/scale-up-and-down-an-ellipse-doesnt-work-within-a-function/42564 "2023-09-11T11:58:05Z")

</div>

hi there i found a possibility to make a maske for a livecam which scales from small to big and back. now i tryed to write it in a function. unfortunately it doesn’t work propper and i have no idea why. it must be somet…

---

## [Set more then two analog pins as output](https://discourse.processing.org/t/set-more-then-two-analog-pins-as-output/42737)

<div class="topic-metadata">

**Author:** [@epco](https://discourse.processing.org/u/epco)\
**Replies:** 3\
**Last updated:** [September 11, 2023, 11:34am UTC](https://discourse.processing.org/t/set-more-then-two-analog-pins-as-output/42737 "2023-09-11T11:34:22Z")

</div>

I have a Arduino 8 relay module board that I want to controle via a Arduino UNO that has installed the standardFirmata sketch. When I test the Arduino and relay board I can control relay 1 to 6 via analog pin A0 until A…

---

## [keyPressed is True even with no keys actively pressed after certain inputs in P2D](https://discourse.processing.org/t/keypressed-is-true-even-with-no-keys-actively-pressed-after-certain-inputs-in-p2d/42739)

<div class="topic-metadata">

**Author:** [@User442B](https://discourse.processing.org/u/User442B)\
**Replies:** 1\
**Last updated:** [September 11, 2023, 10:24am UTC](https://discourse.processing.org/t/keypressed-is-true-even-with-no-keys-actively-pressed-after-certain-inputs-in-p2d/42739 "2023-09-11T10:24:51Z")

</div>

I have noticed an odd behavior when using P2D. The variable keyPressed is stuck on True after making a specific key combination with a letter and Shift or CTRL. If I do the following: Press and hold a letter key Press …

---

## [Creating a Gradient for a Bezier Curve?](https://discourse.processing.org/t/creating-a-gradient-for-a-bezier-curve/42719)

<div class="topic-metadata">

**Author:** [@looplider](https://discourse.processing.org/u/looplider)\
**Replies:** 5\
**Last updated:** [September 11, 2023, 7:53am UTC](https://discourse.processing.org/t/creating-a-gradient-for-a-bezier-curve/42719 "2023-09-11T07:53:04Z")

</div>

Hi there - I am curious if there is a way to use a gradient as a “fill” color for a Bezier curve. I wrote up a silly example with the Bezier… not sure if this is possible though. Thanks. function setup() { createCa…

---

## [OpenSource Contribution](https://discourse.processing.org/t/opensource-contribution/42735)

<div class="topic-metadata">

**Author:** [@MohitGururani](https://discourse.processing.org/u/MohitGururani)\
**Replies:** 0\
**Last updated:** [September 10, 2023, 6:23pm UTC](https://discourse.processing.org/t/opensource-contribution/42735 "2023-09-10T18:23:06Z")

</div>

I am Mohit Gururani,2023 computer Science passout.I am new to open source contributions but i am well aware of C++,Javascript,React and python.I would love to contribute to youur organization but could you please tellme …

---

## [Android webview](https://discourse.processing.org/t/android-webview/42726)

<div class="topic-metadata">

**Author:** [@Rogo](https://discourse.processing.org/u/Rogo)\
**Replies:** 1\
**Last updated:** [September 10, 2023, 5:54am UTC](https://discourse.processing.org/t/android-webview/42726 "2023-09-10T05:54:57Z")

</div>

I just need the map from the game, I marked it green, could someone help me with the code? I would need the card in the middle at the top and that you cannot move it, so that it is fixed and cannot be moved import a…

---

## [Evaluating Functions in P5.JS](https://discourse.processing.org/t/evaluating-functions-in-p5-js/42693)

<div class="topic-metadata">

**Author:** [@looplider](https://discourse.processing.org/u/looplider)\
**Replies:** 9\
**Last updated:** [September 9, 2023, 3:51pm UTC](https://discourse.processing.org/t/evaluating-functions-in-p5-js/42693 "2023-09-09T15:51:22Z")

</div>

Hi there - I’m new here. I think I’m in the right place! I am trying to create a mathematical function in a P5.JS to return a number. I’ve simplified the code here, so that the function is simply a random number gener…

---

## [Help with turning LEDs on and off using Game Control Plus Library and PS4 remote](https://discourse.processing.org/t/help-with-turning-leds-on-and-off-using-game-control-plus-library-and-ps4-remote/42717)

<div class="topic-metadata">

**Author:** [@bkeith](https://discourse.processing.org/u/bkeith)\
**Replies:** 4\
**Last updated:** [September 8, 2023, 4:32pm UTC](https://discourse.processing.org/t/help-with-turning-leds-on-and-off-using-game-control-plus-library-and-ps4-remote/42717 "2023-09-08T16:32:10Z")

</div>

Hello everyone, As the title suggests, I’m using the game control plus library to turn on an LED, I’ve read through some other threads with similar issues but haven’t found a solution. I want to press X and have an LED …

---

## [I want to control a relay with a button press from a joystick using Game Control Plus and Arduino](https://discourse.processing.org/t/i-want-to-control-a-relay-with-a-button-press-from-a-joystick-using-game-control-plus-and-arduino/36153)

<div class="topic-metadata">

**Author:** [@01G8R](https://discourse.processing.org/u/01G8R)\
**Replies:** 4\
**Last updated:** [September 8, 2023, 2:50pm UTC](https://discourse.processing.org/t/i-want-to-control-a-relay-with-a-button-press-from-a-joystick-using-game-control-plus-and-arduino/36153 "2023-09-08T14:50:27Z")

</div>

I am using the Game Control Plus library in processing. I have setup a configuration for the joystick and mapped one button to “TRIM”. Processing is reading button presses correctly. The code below runs and the Arduin…

---

## [Can users ADD functions to p5.js code through interaction with the sketch?](https://discourse.processing.org/t/can-users-add-functions-to-p5-js-code-through-interaction-with-the-sketch/42688)

<div class="topic-metadata">

**Author:** [@SheCurvesMobius](https://discourse.processing.org/u/SheCurvesMobius)\
**Replies:** 17\
**Last updated:** [September 8, 2023, 5:14am UTC](https://discourse.processing.org/t/can-users-add-functions-to-p5-js-code-through-interaction-with-the-sketch/42688 "2023-09-08T05:14:28Z")

</div>

Hello, I would like to write code that does the following: User clicks and drags on the canvas, and when they release a square has been drawn. The code, now has a rect() function, but no rect() function existed before t…

---

## [Normalmap on Textured Sphere example](https://discourse.processing.org/t/normalmap-on-textured-sphere-example/42715)

<div class="topic-metadata">

**Author:** [@companje](https://discourse.processing.org/u/companje)\
**Replies:** 0\
**Last updated:** [September 7, 2023, 5:17pm UTC](https://discourse.processing.org/t/normalmap-on-textured-sphere-example/42715 "2023-09-07T17:17:03Z")

</div>

Hi everyone, Just wanted to share this piece code I wrote earlier. It shows how to use a shader to apply a normalmap to a textured sphere. I hope it’s useful for others. Best wishes, Rick PShader shader; PImage color…

---

## [Webcam Recording and Save - gray screen](https://discourse.processing.org/t/webcam-recording-and-save-gray-screen/42712)

<div class="topic-metadata">

**Author:** [@fsdonato](https://discourse.processing.org/u/fsdonato)\
**Replies:** 2\
**Last updated:** [September 7, 2023, 8:28pm UTC](https://discourse.processing.org/t/webcam-recording-and-save-gray-screen/42712 "2023-09-07T20:28:08Z")

</div>

I am learning to use the “processing.video” library. At first I managed to communicate with Webcam and export the application. In addition I had to create a “Windows64” folder inside the “LIB” folder and put the GStreame…

---

## [How to draw this graph](https://discourse.processing.org/t/how-to-draw-this-graph/42376)

<div class="topic-metadata">

**Author:** [@kusspuss](https://discourse.processing.org/u/kusspuss)\
**Replies:** 42\
**Last updated:** [September 7, 2023, 4:55pm UTC](https://discourse.processing.org/t/how-to-draw-this-graph/42376 "2023-09-07T16:55:06Z")

</div>

i want to draw this kind of graph please guide me thank you

---

## [I'm almost done with my Illustrated JavaScript coding course](https://discourse.processing.org/t/im-almost-done-with-my-illustrated-javascript-coding-course/42697)

<div class="topic-metadata">

**Author:** [@codeguppy](https://discourse.processing.org/u/codeguppy)\
**Replies:** 8\
**Last updated:** [September 7, 2023, 2:51am UTC](https://discourse.processing.org/t/im-almost-done-with-my-illustrated-javascript-coding-course/42697 "2023-09-07T02:51:44Z")

</div>

I’m almost done with my “Illustrated JavaScript coding course.” It is in PowerPoint format and has about 700 slides and 300 exercises. See here more: https://codeguppy.com/curriculum.html Disclaimer: It is based o…

---

## [Error When Launching Processing: java.Util.MissingResourceception - Can't find bundle for base name org/netbeans/swing/etable/bundle](https://discourse.processing.org/t/error-when-launching-processing-java-util-missingresourceception-cant-find-bundle-for-base-name-org-netbeans-swing-etable-bundle/42711)

<div class="topic-metadata">

**Author:** [@haseebwajid](https://discourse.processing.org/u/haseebwajid)\
**Replies:** 0\
**Last updated:** [September 7, 2023, 2:47am UTC](https://discourse.processing.org/t/error-when-launching-processing-java-util-missingresourceception-cant-find-bundle-for-base-name-org-netbeans-swing-etable-bundle/42711 "2023-09-07T02:47:52Z")

</div>

I am encountering an error when trying to launch Processing. The error message I receive is: An unexpected, unknown, and unrecoverable error occurred while opening a new editor window. Please report this. java.Util.Mis…

---

## [Writing data to assets folder in p5.js sketch](https://discourse.processing.org/t/writing-data-to-assets-folder-in-p5-js-sketch/42709)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 8\
**Last updated:** [September 6, 2023, 10:57pm UTC](https://discourse.processing.org/t/writing-data-to-assets-folder-in-p5-js-sketch/42709 "2023-09-06T22:57:02Z")

</div>

I have created an ‘assets’ folder in my p5.js sketch and enclosed a ‘xxxx.txt’ file. Does anyone know how to write data strings to the .txt file?

---

## [My experience with the video](https://discourse.processing.org/t/my-experience-with-the-video/32461)

<div class="topic-metadata">

**Author:** [@Lionel](https://discourse.processing.org/u/Lionel)\
**Replies:** 3\
**Last updated:** [September 5, 2023, 2:40pm UTC](https://discourse.processing.org/t/my-experience-with-the-video/32461 "2023-09-05T14:40:24Z")

</div>

I really enjoyed this tutorial. it taught me everything I needed to know and it was easy to follow

---

## [Multiple functions under one](https://discourse.processing.org/t/multiple-functions-under-one/42698)

<div class="topic-metadata">

**Author:** [@E142](https://discourse.processing.org/u/E142)\
**Replies:** 3\
**Last updated:** [September 5, 2023, 9:52am UTC](https://discourse.processing.org/t/multiple-functions-under-one/42698 "2023-09-05T09:52:03Z")

</div>

So I’m trying to build a menu button that has three options and I want whenever an option is selected a certain program runs. So each program has a multiple functions like 3 to 4 function, so I’m finding it difficult to …

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

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