# Latest

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

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

**Page:** 117

---

## [Using QR detection to send an osc message to Resolume Arena](https://discourse.processing.org/t/using-qr-detection-to-send-an-osc-message-to-resolume-arena/38708)

<div class="topic-metadata">

**Author:** [@JoeHut](https://discourse.processing.org/u/JoeHut)\
**Replies:** 0\
**Last updated:** [September 11, 2022, 8:26am UTC](https://discourse.processing.org/t/using-qr-detection-to-send-an-osc-message-to-resolume-arena/38708 "2022-09-11T08:26:52Z")

</div>

Hi everyone! Let me start saying that I’m a complete beginner, so I hope this is the right place to ask this question, but I’m (obviously) having some troubles with the code I’m trying to make work… What I’m trying to …

---

## [Arduino filling the serial Buffer with nulls](https://discourse.processing.org/t/arduino-filling-the-serial-buffer-with-nulls/38674)

<div class="topic-metadata">

**Author:** [@maro](https://discourse.processing.org/u/maro)\
**Replies:** 12\
**Last updated:** [September 10, 2022, 12:57pm UTC](https://discourse.processing.org/t/arduino-filling-the-serial-buffer-with-nulls/38674 "2022-09-10T12:57:43Z")

</div>

I just wrote some code that sends a String from Arduino to Processing. Processing prints the String and display the number of characters in the buffer… After uploading the sketch to the Arduino and starting Processing f…

---

## [G4P trouble trying to hide a window when the operating system close button is pressed](https://discourse.processing.org/t/g4p-trouble-trying-to-hide-a-window-when-the-operating-system-close-button-is-pressed/9209)

<div class="topic-metadata">

**Author:** [@graysonh](https://discourse.processing.org/u/graysonh)\
**Replies:** 6\
**Last updated:** [September 10, 2022, 8:57am UTC](https://discourse.processing.org/t/g4p-trouble-trying-to-hide-a-window-when-the-operating-system-close-button-is-pressed/9209 "2022-09-10T08:57:27Z")

</div>

First off, thank you @quark for the great libraries and gui building tools. They have been really helpful recently! I am working on a project that involves several windows, all of which I need to be reusable while the p…

---

## [Question about infrared sensor triggered video on Raspberry Pi](https://discourse.processing.org/t/question-about-infrared-sensor-triggered-video-on-raspberry-pi/38696)

<div class="topic-metadata">

**Author:** [@nitrocaphane](https://discourse.processing.org/u/nitrocaphane)\
**Replies:** 0\
**Last updated:** [September 9, 2022, 10:28pm UTC](https://discourse.processing.org/t/question-about-infrared-sensor-triggered-video-on-raspberry-pi/38696 "2022-09-09T22:28:02Z")

</div>

Hi, I’m using an IR sensor to play a video in Processing on Raspberry Pi. mouth0 = a video of a closed mouth mouth1 = a video of the mouth singing Once triggered, I want mouth1 to play until the entire clip finishes, …

---

## [Trying to modifiy a variable in a class and access it from a subclass](https://discourse.processing.org/t/trying-to-modifiy-a-variable-in-a-class-and-access-it-from-a-subclass/38691)

<div class="topic-metadata">

**Author:** [@xfred53](https://discourse.processing.org/u/xfred53)\
**Replies:** 5\
**Last updated:** [September 9, 2022, 1:27pm UTC](https://discourse.processing.org/t/trying-to-modifiy-a-variable-in-a-class-and-access-it-from-a-subclass/38691 "2022-09-09T13:27:36Z")

</div>

Hi, A beginner question for sure but cannot solve it all alone. I have a first class (One) with a single field that is initiated with its constructor. I can access it from method (display) of this class. I then have …

---

## [Java / SpringBoot / Processing - How to launch a PApplet within a Spring Boot application?](https://discourse.processing.org/t/java-springboot-processing-how-to-launch-a-papplet-within-a-spring-boot-application/38688)

<div class="topic-metadata">

**Author:** [@MrJenkins](https://discourse.processing.org/u/MrJenkins)\
**Replies:** 0\
**Last updated:** [September 9, 2022, 10:36am UTC](https://discourse.processing.org/t/java-springboot-processing-how-to-launch-a-papplet-within-a-spring-boot-application/38688 "2022-09-09T10:36:40Z")

</div>

Hi, I’m building a web application in Java, with Spring Boot, including Processing (4) as a library. I’m using Intellij IDEA. I have posted this question on StackOverflow as well: Click I’m stuck with the integration o…

---

## [Processing halts program before it even runs, how do I stop this?](https://discourse.processing.org/t/processing-halts-program-before-it-even-runs-how-do-i-stop-this/38676)

<div class="topic-metadata">

**Author:** [@JellyJam](https://discourse.processing.org/u/JellyJam)\
**Replies:** 3\
**Last updated:** [September 9, 2022, 6:54am UTC](https://discourse.processing.org/t/processing-halts-program-before-it-even-runs-how-do-i-stop-this/38676 "2022-09-09T06:54:37Z")

</div>

There is an “error” in my code that processing thinks is an error but really isn’t. It refuses to run because of this. Here is my code. import java.io.\*; import java.lang.\*; import java.util.\*; ArrayList\<Object\> objec…

---

## [Android Emulator Not Working](https://discourse.processing.org/t/android-emulator-not-working/38227)

<div class="topic-metadata">

**Author:** [@jhsa](https://discourse.processing.org/u/jhsa)\
**Replies:** 8\
**Last updated:** [September 8, 2022, 6:38pm UTC](https://discourse.processing.org/t/android-emulator-not-working/38227 "2022-09-08T18:38:16Z")

</div>

Hi, beginner here, please be gentle. I want to start playing with creating simple apps for android. Processing version is 4.0b8 on windows 10. Installed the SDK files , by downloading them automatically from Processin…

---

## [Adjust the text height of a radio button](https://discourse.processing.org/t/adjust-the-text-height-of-a-radio-button/38682)

<div class="topic-metadata">

**Author:** [@Sunt](https://discourse.processing.org/u/Sunt)\
**Replies:** 2\
**Last updated:** [September 8, 2022, 2:36pm UTC](https://discourse.processing.org/t/adjust-the-text-height-of-a-radio-button/38682 "2022-09-08T14:36:43Z")

</div>

Hi. I’m trying to align the text of a radio button. Without setting a specific font size, it is acceptable; but with smaller fonts, the text position will be lower. Is there a solution for that? function setup() { cr…

---

## [My "ai" keeps going to the bottom right](https://discourse.processing.org/t/my-ai-keeps-going-to-the-bottom-right/38672)

<div class="topic-metadata">

**Author:** [@Voleia](https://discourse.processing.org/u/Voleia)\
**Replies:** 3\
**Last updated:** [September 8, 2022, 10:04am UTC](https://discourse.processing.org/t/my-ai-keeps-going-to-the-bottom-right/38672 "2022-09-08T10:04:07Z")

</div>

So last year I had a course in p5.js and I’m still experimenting with it this year, thought I’m a complete noob. I’ve made this little simulation which is meant to be part of a bigger project I’m working on in my free ti…

---

## [Get main processing file to have access to other files in other directories](https://discourse.processing.org/t/get-main-processing-file-to-have-access-to-other-files-in-other-directories/38667)

<div class="topic-metadata">

**Author:** [@Theis](https://discourse.processing.org/u/Theis)\
**Replies:** 4\
**Last updated:** [September 7, 2022, 8:41pm UTC](https://discourse.processing.org/t/get-main-processing-file-to-have-access-to-other-files-in-other-directories/38667 "2022-09-07T20:41:23Z")

</div>

Hey, I would like to know if it is possible to have the main processing file be able to read from other processing files in subfolders?

---

## [New Library - VLCJVideo](https://discourse.processing.org/t/new-library-vlcjvideo/7050)

<div class="topic-metadata">

**Author:** [@linux-man](https://discourse.processing.org/u/linux-man)\
**Replies:** 19\
**Last updated:** [September 4, 2022, 7:37pm UTC](https://discourse.processing.org/t/new-library-vlcjvideo/7050 "2022-09-04T19:37:36Z")

</div>

Hello again. I bring a VLCJ binding for Processing, based on the previous work by Oleg Sidorov. It was a 2 days work. That means the original library is awesome :star\_struck: and I only had to update the code to the la…

---

## [Brick Game Timer Question](https://discourse.processing.org/t/brick-game-timer-question/38605)

<div class="topic-metadata">

**Author:** [@newprogrammer12](https://discourse.processing.org/u/newprogrammer12)\
**Replies:** 9\
**Last updated:** [September 7, 2022, 2:17pm UTC](https://discourse.processing.org/t/brick-game-timer-question/38605 "2022-09-07T14:17:22Z")

</div>

I am trying to make a timer that keeps the “GAME OVER” text on the screen after a few seconds before the game resets. Right now I have a timer more or less copied of the processing forum and I can’t figure out how it wor…

---

## [Pixels array p5.js vs java improving speed](https://discourse.processing.org/t/pixels-array-p5-js-vs-java-improving-speed/38623)

<div class="topic-metadata">

**Author:** [@Sunt](https://discourse.processing.org/u/Sunt)\
**Replies:** 14\
**Last updated:** [September 7, 2022, 1:17pm UTC](https://discourse.processing.org/t/pixels-array-p5-js-vs-java-improving-speed/38623 "2022-09-07T13:17:36Z")

</div>

Hi. I translated a java to a p5.js sketch. The p5.js pixels array takes 4 times more values and I believe that is why it the sketch runs far more slowly. The java sketch runs faster as the gif image below. The p5.js run…

---

## [How to convert a PGraphic into a PImage?](https://discourse.processing.org/t/how-to-convert-a-pgraphic-into-a-pimage/38655)

<div class="topic-metadata">

**Author:** [@michele\_rinaldi](https://discourse.processing.org/u/michele_rinaldi)\
**Replies:** 2\
**Last updated:** [September 7, 2022, 9:37am UTC](https://discourse.processing.org/t/how-to-convert-a-pgraphic-into-a-pimage/38655 "2022-09-07T09:37:07Z")

</div>

Hello, I need to convert a PGraphics into a Pimage in the same script. I tried using the following command, where pg is the elaborate graphics, but it didn’t work: PImage img = pg.get (); Any suggestions? Thanks in …

---

## [Did you know about codeguppy.com (based on p5.js)?](https://discourse.processing.org/t/did-you-know-about-codeguppy-com-based-on-p5-js/38517)

<div class="topic-metadata">

**Author:** [@codeguppy](https://discourse.processing.org/u/codeguppy)\
**Replies:** 4\
**Last updated:** [September 7, 2022, 2:30am UTC](https://discourse.processing.org/t/did-you-know-about-codeguppy-com-based-on-p5-js/38517 "2022-09-07T02:30:10Z")

</div>

Hello community, I want to introduce you my online coding playground: codeguppy.com - basically a coding platform based on p5.js intended for schools and coding clubs. I also recently started an associated YouTube c…

---

## [Problem with bluetooth permissions](https://discourse.processing.org/t/problem-with-bluetooth-permissions/38644)

<div class="topic-metadata">

**Author:** [@a\_random\_cat](https://discourse.processing.org/u/a_random_cat)\
**Replies:** 15\
**Last updated:** [September 6, 2022, 8:19am UTC](https://discourse.processing.org/t/problem-with-bluetooth-permissions/38644 "2022-09-06T08:19:34Z")

</div>

Hi. I want to make a test with the bluetooth on my device (the code is not mine, is from here: Android-java-code-utilities-widgets-for-Processing-for-Android/Android Arduino Bluetooth example at master · EmmanuelPil/And…

---

## [P5 LICENSE and p5.library LICENSE questions](https://discourse.processing.org/t/p5-license-and-p5-library-license-questions/38631)

<div class="topic-metadata">

**Author:** [@meezwhite](https://discourse.processing.org/u/meezwhite)\
**Replies:** 8\
**Last updated:** [September 5, 2022, 11:31pm UTC](https://discourse.processing.org/t/p5-license-and-p5-library-license-questions/38631 "2022-09-05T23:31:13Z")

</div>

Hi there! We’re currently developing a p5.js library and we have some questions regarding proper licensing. We would like our library to be licensed under the MIT License. Are we allowed to do this? Or would our libr…

---

## [Beginner question on drawing mulitple random shapes related to each other?](https://discourse.processing.org/t/beginner-question-on-drawing-mulitple-random-shapes-related-to-each-other/38552)

<div class="topic-metadata">

**Author:** [@i-draw-monkeys](https://discourse.processing.org/u/i-draw-monkeys)\
**Replies:** 12\
**Last updated:** [September 5, 2022, 9:54pm UTC](https://discourse.processing.org/t/beginner-question-on-drawing-mulitple-random-shapes-related-to-each-other/38552 "2022-09-05T21:54:41Z")

</div>

I’ve been learning Processing for about a month and have a new idea and am not quite sure how to approach. What would your approach be? Like what do I need to look up and learn to write something where I draw a shape usi…

---

## [Press a key to play a new video over an existing video](https://discourse.processing.org/t/press-a-key-to-play-a-new-video-over-an-existing-video/38646)

<div class="topic-metadata">

**Author:** [@nitrocaphane](https://discourse.processing.org/u/nitrocaphane)\
**Replies:** 2\
**Last updated:** [September 5, 2022, 6:11pm UTC](https://discourse.processing.org/t/press-a-key-to-play-a-new-video-over-an-existing-video/38646 "2022-09-05T18:11:53Z")

</div>

Hi, total newbie here. I’m creating a \[mouth closed / mouth open\] prototype that eventually would be triggered by an infrared (IR) sensor on a Raspberry Pi. mouth0 = mouth closed mouth1 = mouth open It should play mou…

---

## [Physical greeting cards with type-in programs (aka coding cards)](https://discourse.processing.org/t/physical-greeting-cards-with-type-in-programs-aka-coding-cards/38651)

<div class="topic-metadata">

**Author:** [@codeguppy](https://discourse.processing.org/u/codeguppy)\
**Replies:** 0\
**Last updated:** [September 5, 2022, 4:27pm UTC](https://discourse.processing.org/t/physical-greeting-cards-with-type-in-programs-aka-coding-cards/38651 "2022-09-05T16:27:54Z")

</div>

Hello all, I did a small experiment and created a few greeting card designs at Zazzle. Each greeting card contains a small type-in program inside based on the p5.js library. What do you think about this project? If y…

---

## [How to install library without IDE](https://discourse.processing.org/t/how-to-install-library-without-ide/38638)

<div class="topic-metadata">

**Author:** [@superumam](https://discourse.processing.org/u/superumam)\
**Replies:** 5\
**Last updated:** [September 4, 2022, 10:25pm UTC](https://discourse.processing.org/t/how-to-install-library-without-ide/38638 "2022-09-04T22:25:35Z")

</div>

Hello, everyone. I already tried some processing tests on ubuntu OS on my PC, but I installed processing-sound library with IDE. I need to install and use this library on AWS EC2 without IDE GUI. How can I do this m…

---

## [Problem interpolation from 359 to 1°?](https://discourse.processing.org/t/problem-interpolation-from-359-to-1/38625)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 7\
**Last updated:** [September 4, 2022, 7:47pm UTC](https://discourse.processing.org/t/problem-interpolation-from-359-to-1/38625 "2022-09-04T19:47:17Z")

</div>

Hello, I want to sample a movement. You can sample a circular movement by pressing once the mouse. It works in one way when i go straight forward but not the if i give a modulo. The problem is in void draw here // …

---

## [String Text match and swap to SVG](https://discourse.processing.org/t/string-text-match-and-swap-to-svg/38584)

<div class="topic-metadata">

**Author:** [@brisquez](https://discourse.processing.org/u/brisquez)\
**Replies:** 0\
**Last updated:** [August 31, 2022, 2:33pm UTC](https://discourse.processing.org/t/string-text-match-and-swap-to-svg/38584 "2022-08-31T14:33:44Z")

</div>

Hello there Processing Foundation community. As with all my past (not a lot) programming adventures, firstly you need an idea and afterwards you gradually figure out how to code it. The idea is the following: Canvas …

---

## [Android code doesnt upload](https://discourse.processing.org/t/android-code-doesnt-upload/38639)

<div class="topic-metadata">

**Author:** [@a\_random\_cat](https://discourse.processing.org/u/a_random_cat)\
**Replies:** 1\
**Last updated:** [September 4, 2022, 3:39am UTC](https://discourse.processing.org/t/android-code-doesnt-upload/38639 "2022-09-04T03:39:48Z")

</div>

Hello. I’m creating my first code on Processing for android, and the problem is that when I hit “Run on device”, my phone doesn’t show it. It doesn’t even shows up a new app on the menu. Here is the code: int pantalla…

---

## [Cross-eyed stereoscopy](https://discourse.processing.org/t/cross-eyed-stereoscopy/38637)

<div class="topic-metadata">

**Author:** [@scudly](https://discourse.processing.org/u/scudly)\
**Replies:** 0\
**Last updated:** [September 3, 2022, 11:19pm UTC](https://discourse.processing.org/t/cross-eyed-stereoscopy/38637 "2022-09-03T23:19:26Z")

</div>

Here is some code for rendering cross-eyed stereo images of 3-D scene with some simple camera() and frustum() calls. It creates images such as this one: To view the image, gently cross your eyes until you see three …

---

## [Processing 4 + OpenKinect](https://discourse.processing.org/t/processing-4-openkinect/32781)

<div class="topic-metadata">

**Author:** [@dkessner](https://discourse.processing.org/u/dkessner)\
**Replies:** 11\
**Last updated:** [September 3, 2022, 9:50pm UTC](https://discourse.processing.org/t/processing-4-openkinect/32781 "2022-09-03T21:50:39Z")

</div>

Hello Processing folks! I ran into an error running the Open Kinect examples with Processing 4 (on Mac): NoClassDefFoundError: /com/sun/jna/Library. The issue seems to be with jna.jar. The Java/Contents folder has jna…

---

## [P3D rotating sphere to follow mouse](https://discourse.processing.org/t/p3d-rotating-sphere-to-follow-mouse/38425)

<div class="topic-metadata">

**Author:** [@vegas](https://discourse.processing.org/u/vegas)\
**Replies:** 5\
**Last updated:** [September 3, 2022, 6:49pm UTC](https://discourse.processing.org/t/p3d-rotating-sphere-to-follow-mouse/38425 "2022-09-03T18:49:34Z")

</div>

Hi, Im using P3D and I’m trying to make a sphere rotate in the direction towards the mouses location. To clarify, the sphere should remain stationary at its x,y coordinates but rotate in relation to the mouses position…

---

## [Using Leap Motion with Processing 4](https://discourse.processing.org/t/using-leap-motion-with-processing-4/38634)

<div class="topic-metadata">

**Author:** [@acesteef](https://discourse.processing.org/u/acesteef)\
**Replies:** 0\
**Last updated:** [September 3, 2022, 5:24pm UTC](https://discourse.processing.org/t/using-leap-motion-with-processing-4/38634 "2022-09-03T17:24:25Z")

</div>

Hey, I am currently working on a school project where i will use a Leap Motion device. I started on a macbook but apparently Leap Motion does not work on Monterey. So now i am working on my Windows PC at home and tried …

---

## [JavaFX in version 4](https://discourse.processing.org/t/javafx-in-version-4/38632)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 0\
**Last updated:** [September 3, 2022, 3:41pm UTC](https://discourse.processing.org/t/javafx-in-version-4/38632 "2022-09-03T15:41:09Z")

</div>

I am able to add Text, Rectangle, Circle to a JavaFX window in version 4.0.1, but fail when it comes to adding a Button control. Error msg is shown below. Does anyone know how to fix this? import processing.javafx.\*; …

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

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