# Processing

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

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

**Page:** 33

---

## [Mirror and reflect left side movie to the right side](https://discourse.processing.org/t/mirror-and-reflect-left-side-movie-to-the-right-side/42788)

<div class="topic-metadata">

**Author:** [@fatma90](https://discourse.processing.org/u/fatma90)\
**Replies:** 1\
**Last updated:** [September 19, 2023, 1:37pm UTC](https://discourse.processing.org/t/mirror-and-reflect-left-side-movie-to-the-right-side/42788 "2023-09-19T13:37:41Z")

</div>

Hi, I have to reflect and mirror the half of the left video with the right one. I tried this code but when I activate the effect the video shows only the first frame and does not play. How can I play the video with the e…

---

## [Minecraft & the Processing app are the same?](https://discourse.processing.org/t/minecraft-the-processing-app-are-the-same/42672)

<div class="topic-metadata">

**Author:** [@nuhuhwy](https://discourse.processing.org/u/nuhuhwy)\
**Replies:** 3\
**Last updated:** [September 18, 2023, 10:54pm UTC](https://discourse.processing.org/t/minecraft-the-processing-app-are-the-same/42672 "2023-09-18T22:54:17Z")

</div>

So this happend; i dont know why and how…

---

## [Electronic speed controller not working](https://discourse.processing.org/t/electronic-speed-controller-not-working/42780)

<div class="topic-metadata">

**Author:** [@bkeith](https://discourse.processing.org/u/bkeith)\
**Replies:** 4\
**Last updated:** [September 18, 2023, 7:47pm UTC](https://discourse.processing.org/t/electronic-speed-controller-not-working/42780 "2023-09-18T19:47:18Z")

</div>

Im using a PS4 controller with the game control plus library in processing with a DC motor wired to an electronic speed controller in pin 2 of my arduino. The DC motor runs on 12-16Vs so my battery is a 14.8V and connect…

---

## [Exclude type file from selectInput()?](https://discourse.processing.org/t/exclude-type-file-from-selectinput/9719)

<div class="topic-metadata">

**Author:** [@Stanlepunk](https://discourse.processing.org/u/Stanlepunk)\
**Replies:** 17\
**Last updated:** [September 18, 2023, 5:03pm UTC](https://discourse.processing.org/t/exclude-type-file-from-selectinput/9719 "2023-09-18T17:03:25Z")

</div>

Is it possible to exclude a specific type file when we use selectInput() as seen in this image?

---

## [Frame export with a steady FPS](https://discourse.processing.org/t/frame-export-with-a-steady-fps/39433)

<div class="topic-metadata">

**Author:** [@ssi\_karim](https://discourse.processing.org/u/ssi_karim)\
**Replies:** 12\
**Last updated:** [September 17, 2023, 8:23pm UTC](https://discourse.processing.org/t/frame-export-with-a-steady-fps/39433 "2023-09-17T20:23:58Z")

</div>

Hi all, I have quite some experience with Processing and always loved it. However, I’m running into some trouble. I’m currently trying to create an audio-reactive (FFT) video clip. As this is a video clip, at the end of…

---

## [ArrayList\_Serializable Demo Fails](https://discourse.processing.org/t/arraylist-serializable-demo-fails/42770)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 9\
**Last updated:** [September 16, 2023, 8:21pm UTC](https://discourse.processing.org/t/arraylist-serializable-demo-fails/42770 "2023-09-16T20:21:19Z")

</div>

In trying to learn about Serializable I found this example online: https://samderlust.com/dev-blog/java/write-read-arraylist-object-file-java but am unable to get it to run without error. Similar efforts with other exam…

---

## [Tablet library needs JavaFX but doesn't support FX2D](https://discourse.processing.org/t/tablet-library-needs-javafx-but-doesnt-support-fx2d/42772)

<div class="topic-metadata">

**Author:** [@nuhuhwy](https://discourse.processing.org/u/nuhuhwy)\
**Replies:** 0\
**Last updated:** [September 16, 2023, 1:09pm UTC](https://discourse.processing.org/t/tablet-library-needs-javafx-but-doesnt-support-fx2d/42772 "2023-09-16T13:09:52Z")

</div>

The tablet library needs javafx, but cant use javafx as a renderer, but i need javafx because opengl is slow. are there any alternatives?

---

## [Exported P2D application not working outside of sketch folder](https://discourse.processing.org/t/exported-p2d-application-not-working-outside-of-sketch-folder/42762)

<div class="topic-metadata">

**Author:** [@User442B](https://discourse.processing.org/u/User442B)\
**Replies:** 9\
**Last updated:** [September 15, 2023, 10:19pm UTC](https://discourse.processing.org/t/exported-p2d-application-not-working-outside-of-sketch-folder/42762 "2023-09-15T22:19:26Z")

</div>

I have been working on an orbit sim in processing and want to export it. The game runs perfectly fine from the IDE, but on export it will not run properly. It will open and start, but freeze once images/sprites are displ…

---

## [Mixing Pixels and Tracking pixel](https://discourse.processing.org/t/mixing-pixels-and-tracking-pixel/42757)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 0\
**Last updated:** [September 13, 2023, 4:57pm UTC](https://discourse.processing.org/t/mixing-pixels-and-tracking-pixel/42757 "2023-09-13T16:57:15Z")

</div>

Hello, I would like to track different location from my screen. The aim is to send this r, g, b data to an Arduino and modulate 8 strip Led with 8 led. In my example I have 3 ellipse, I would like to track the center …

---

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

---

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

---

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

---

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

---

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

---

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

---

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

---

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

---

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

---

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

---

## [Serial read() Arduino](https://discourse.processing.org/t/serial-read-arduino/42689)

<div class="topic-metadata">

**Author:** [@Christian](https://discourse.processing.org/u/Christian)\
**Replies:** 7\
**Last updated:** [September 2, 2023, 7:47am UTC](https://discourse.processing.org/t/serial-read-arduino/42689 "2023-09-02T07:47:21Z")

</div>

Hi! I have successfully established a Serial connection from Arduino to Processing using the read()-function (read() / Libraries / Processing.org). This only returns numbers between 0 and 255 though and I was wondering …

---

## [Does serialEvent read data at a constant rate?](https://discourse.processing.org/t/does-serialevent-read-data-at-a-constant-rate/42661)

<div class="topic-metadata">

**Author:** [@MrImskiy](https://discourse.processing.org/u/MrImskiy)\
**Replies:** 2\
**Last updated:** [August 31, 2023, 9:18am UTC](https://discourse.processing.org/t/does-serialevent-read-data-at-a-constant-rate/42661 "2023-08-31T09:18:18Z")

</div>

Hi, I am trying to measure the rate at which the void serialEvent (Serial myPort) function reads data. The way I am doing this is as follows: void serialEvent (Serial myPort) { time\_prev1 = time\_now1; time\_now1 = mi…

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

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