# Latest

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

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

**Page:** 115

---

## [Problem Processing.io library missing](https://discourse.processing.org/t/problem-processing-io-library-missing/38665)

<div class="topic-metadata">

**Author:** [@jnz](https://discourse.processing.org/u/jnz)\
**Replies:** 2\
**Last updated:** [September 20, 2022, 3:02pm UTC](https://discourse.processing.org/t/problem-processing-io-library-missing/38665 "2022-09-20T15:02:59Z")

</div>

Hi all! Trying the basic input sample on my RPI, I get the following error message : The package “processing.io” does not exist. You might be missing a library. Platform RPI model 3B+ Raspbian GNU/Linux 11 (bullseye) …

---

## [\[Android\] How to align listView text center?](https://discourse.processing.org/t/android-how-to-align-listview-text-center/38869)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 4\
**Last updated:** [September 20, 2022, 7:44am UTC](https://discourse.processing.org/t/android-how-to-align-listview-text-center/38869 "2022-09-20T07:44:08Z")

</div>

How to align listView text center? hello. I want the text to be centered. I want to center the text in each list. Is there any way? Source code: ref : @ EmmanulPil / @noel public void onStart() { super.onSta…

---

## [Kinect 2 for Processing](https://discourse.processing.org/t/kinect-2-for-processing/38776)

<div class="topic-metadata">

**Author:** [@madtolla](https://discourse.processing.org/u/madtolla)\
**Replies:** 5\
**Last updated:** [September 20, 2022, 7:28am UTC](https://discourse.processing.org/t/kinect-2-for-processing/38776 "2022-09-20T07:28:40Z")

</div>

hello, I got a bit error when running Kinect 2 with my processing here is the error message ‘ClassNotFoundException: KinectPV2.KinectPV2’ and here is the image of the error \*\*Note I tried every single example cod…

---

## [Publish p5 project](https://discourse.processing.org/t/publish-p5-project/38841)

<div class="topic-metadata">

**Author:** [@Omri](https://discourse.processing.org/u/Omri)\
**Replies:** 4\
**Last updated:** [September 20, 2022, 7:24am UTC](https://discourse.processing.org/t/publish-p5-project/38841 "2022-09-20T07:24:57Z")

</div>

Hey, I have a p5 project on my computer (HTML, CSS, a few js scripts, and some audio files) and I want to publish it. I can’t use the p5 web editor because the audio files are too big. What is the best way to do it? I …

---

## [Updating ArrayList with additional instances of object](https://discourse.processing.org/t/updating-arraylist-with-additional-instances-of-object/38849)

<div class="topic-metadata">

**Author:** [@debxyz](https://discourse.processing.org/u/debxyz)\
**Replies:** 15\
**Last updated:** [September 20, 2022, 1:32am UTC](https://discourse.processing.org/t/updating-arraylist-with-additional-instances-of-object/38849 "2022-09-20T01:32:23Z")

</div>

Hello! I’ve think I’ve made some progress but… The goal is to: loop through an ArrayList which displays as a grid, – completed randomly select a few of the cells, – completed subdivide the selected into 4 smaller cel…

---

## [\[JAVA\] Get network information](https://discourse.processing.org/t/java-get-network-information/38866)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 1\
**Last updated:** [September 20, 2022, 12:32am UTC](https://discourse.processing.org/t/java-get-network-information/38866 "2022-09-20T00:32:19Z")

</div>

\[JAVA\] Get network information This is the source code to get network information. It would be good for reference. ref : Showing IP address of my device in the network? - Processing 2.x and 3.x Forum import java.net.…

---

## [setWidth() and setHeight() of Textlabel in ControlP5 not working](https://discourse.processing.org/t/setwidth-and-setheight-of-textlabel-in-controlp5-not-working/38662)

<div class="topic-metadata">

**Author:** [@Ghostsss](https://discourse.processing.org/u/Ghostsss)\
**Replies:** 5\
**Last updated:** [September 20, 2022, 12:18am UTC](https://discourse.processing.org/t/setwidth-and-setheight-of-textlabel-in-controlp5-not-working/38662 "2022-09-20T00:18:17Z")

</div>

Hello. I am trying to change widh and height of Textlabel in ControlP5. But I am not being able to change it. Please Help. Here is the code from ControlP5 library example. I changed it a little bit. import controlP5.…

---

## [\[p5\] I want to make a web so that many people can watch the video](https://discourse.processing.org/t/p5-i-want-to-make-a-web-so-that-many-people-can-watch-the-video/38786)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 4\
**Last updated:** [September 19, 2022, 10:59pm UTC](https://discourse.processing.org/t/p5-i-want-to-make-a-web-so-that-many-people-can-watch-the-video/38786 "2022-09-19T22:59:38Z")

</div>

\[p5\] I want to make a web so that many people can watch the video. p5 library vida : Vida Using the library above, we made it possible to view the video on the WEB. We tested that you can view the video through the …

---

## [\[JAVA\] Keypressed function / Can't I get Korean, Japanese, Chinese, etc.?](https://discourse.processing.org/t/java-keypressed-function-cant-i-get-korean-japanese-chinese-etc/38799)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 7\
**Last updated:** [September 19, 2022, 10:56pm UTC](https://discourse.processing.org/t/java-keypressed-function-cant-i-get-korean-japanese-chinese-etc/38799 "2022-09-19T22:56:08Z")

</div>

\[JAVA\] Keypressed function / Can’t I get Korean, Japanese, Chinese, etc.? You cannot receive data through Keypressed. Is it correct that it cannot be received with the ‘Key’ function in processing? Or is there anot…

---

## [Creating a function that returns an ArrayList of manipulated objects](https://discourse.processing.org/t/creating-a-function-that-returns-an-arraylist-of-manipulated-objects/38824)

<div class="topic-metadata">

**Author:** [@debxyz](https://discourse.processing.org/u/debxyz)\
**Replies:** 6\
**Last updated:** [September 19, 2022, 8:00pm UTC](https://discourse.processing.org/t/creating-a-function-that-returns-an-arraylist-of-manipulated-objects/38824 "2022-09-19T20:00:03Z")

</div>

Hello!! I have been trying to figure out the syntax to create a method that will subdivide a GridCell object. The GridCells display in the main program in a 2-D grid. In the main program I want to be able to loop thru…

---

## [Set attractor/repeller corresponding to mouse pressed LEFT/RIGHT](https://discourse.processing.org/t/set-attractor-repeller-corresponding-to-mouse-pressed-left-right/38862)

<div class="topic-metadata">

**Author:** [@Tilman](https://discourse.processing.org/u/Tilman)\
**Replies:** 1\
**Last updated:** [September 19, 2022, 7:39pm UTC](https://discourse.processing.org/t/set-attractor-repeller-corresponding-to-mouse-pressed-left-right/38862 "2022-09-19T19:39:11Z")

</div>

Hi am trying to modify the “Attraction and Repulsion Forces” NOC tutorial code and set either an attractor or repeller on mouse LEFT(attractor) or RIGHT(repeller) pressed into the canvas. I got something working but when…

---

## [I have Some trouble with a ArrayList](https://discourse.processing.org/t/i-have-some-trouble-with-a-arraylist/38863)

<div class="topic-metadata">

**Author:** [@CreCo](https://discourse.processing.org/u/CreCo)\
**Replies:** 10\
**Last updated:** [September 19, 2022, 6:10pm UTC](https://discourse.processing.org/t/i-have-some-trouble-with-a-arraylist/38863 "2022-09-19T18:10:53Z")

</div>

Dear love Community, I have some trouble with a ArrayList. I have coded a little bit complex Program. In this Program I have a set of Classes. Of one of this Classes i have build a ArrayList. Then I have coded three…

---

## [Saving the sketch to a high quality JPG file](https://discourse.processing.org/t/saving-the-sketch-to-a-high-quality-jpg-file/38846)

<div class="topic-metadata">

**Author:** [@Nik](https://discourse.processing.org/u/Nik)\
**Replies:** 2\
**Last updated:** [September 19, 2022, 4:01pm UTC](https://discourse.processing.org/t/saving-the-sketch-to-a-high-quality-jpg-file/38846 "2022-09-19T16:01:45Z")

</div>

Does anyone know how to save processing sketch as a high quality jpg file? When i use save(“\*.jpg”); and even set it to high resolution, the quality for some works is low, the colors of the original work and the saved…

---

## [Javascript classes, but more a design question](https://discourse.processing.org/t/javascript-classes-but-more-a-design-question/38848)

<div class="topic-metadata">

**Author:** [@vkbr](https://discourse.processing.org/u/vkbr)\
**Replies:** 7\
**Last updated:** [September 19, 2022, 2:17pm UTC](https://discourse.processing.org/t/javascript-classes-but-more-a-design-question/38848 "2022-09-19T14:17:54Z")

</div>

Trying to figure out a design for this: I have a class Grid. I want to make points relative to a Grid instance (there will be only one instance of Grid). Relative means the point coordinates will change accordingly to …

---

## [From Processing to Arduino Stepper motor 28BYJ-48 with ULN2003](https://discourse.processing.org/t/from-processing-to-arduino-stepper-motor-28byj-48-with-uln2003/38804)

<div class="topic-metadata">

**Author:** [@rand\_colors](https://discourse.processing.org/u/rand_colors)\
**Replies:** 13\
**Last updated:** [September 19, 2022, 1:12pm UTC](https://discourse.processing.org/t/from-processing-to-arduino-stepper-motor-28byj-48-with-uln2003/38804 "2022-09-19T13:12:21Z")

</div>

Hi everyone, I need some help to figuring out , why I can’t send data for changing the Speed, from Processing to my stepper motor via Arduino. It’ should be very easy … I saw in the forum other people doing things wit…

---

## [I cant get this to work](https://discourse.processing.org/t/i-cant-get-this-to-work/38766)

<div class="topic-metadata">

**Author:** [@dep6142](https://discourse.processing.org/u/dep6142)\
**Replies:** 4\
**Last updated:** [September 19, 2022, 7:31am UTC](https://discourse.processing.org/t/i-cant-get-this-to-work/38766 "2022-09-19T07:31:01Z")

</div>

I am trying to use this laser maze processing code and i cant seem to get it to work Laser Maze site and when i try and run it it says “Could not run the sketch (Target VM failed to initialize).”

---

## [Control servos using sliders](https://discourse.processing.org/t/control-servos-using-sliders/38787)

<div class="topic-metadata">

**Author:** [@jeffmorris1956](https://discourse.processing.org/u/jeffmorris1956)\
**Replies:** 7\
**Last updated:** [September 18, 2022, 9:11pm UTC](https://discourse.processing.org/t/control-servos-using-sliders/38787 "2022-09-18T21:11:57Z")

</div>

I’m trying to write Processing code that uses ControlP5 to create an GUI that have sliders that send values to Arduino code to control many servos. If I have four sliders called Hand, Wrist, Elbow, and Shoulder in Proces…

---

## [Array releasing particles in specific intervals](https://discourse.processing.org/t/array-releasing-particles-in-specific-intervals/38836)

<div class="topic-metadata">

**Author:** [@Tilman](https://discourse.processing.org/u/Tilman)\
**Replies:** 9\
**Last updated:** [September 18, 2022, 7:19pm UTC](https://discourse.processing.org/t/array-releasing-particles-in-specific-intervals/38836 "2022-09-18T19:19:41Z")

</div>

Hi, I have made an array of particles and I initiate the particles in the draw function to get a particle stream. But what I really want is to release the particles from the array at specific intervals. Like every seco…

---

## [Looks like you are mixing "active" and "static" modes](https://discourse.processing.org/t/looks-like-you-are-mixing-active-and-static-modes/38833)

<div class="topic-metadata">

**Author:** [@RobM](https://discourse.processing.org/u/RobM)\
**Replies:** 2\
**Last updated:** [September 18, 2022, 10:22am UTC](https://discourse.processing.org/t/looks-like-you-are-mixing-active-and-static-modes/38833 "2022-09-18T10:22:07Z")

</div>

void placeRectangle2() { myRect = loadImage("myRect.jpg"); myRect.loadPixels(); loadPixels(); for(int j=0;j\<height;j++){ for(int i=0;i\<width;i++){ int loc=i+j\*width; pixels\[loc\]=myRect.pixels\[…

---

## [Sketch running in a container](https://discourse.processing.org/t/sketch-running-in-a-container/33928)

<div class="topic-metadata">

**Author:** [@mancpato](https://discourse.processing.org/u/mancpato)\
**Replies:** 2\
**Last updated:** [September 17, 2022, 5:26pm UTC](https://discourse.processing.org/t/sketch-running-in-a-container/33928 "2022-09-17T17:26:51Z")

</div>

Can I use Processing sketch with a container? Something like Docker.

---

## [Null Pointer Exceptions problem](https://discourse.processing.org/t/null-pointer-exceptions-problem/38830)

<div class="topic-metadata">

**Author:** [@Emmanuel](https://discourse.processing.org/u/Emmanuel)\
**Replies:** 6\
**Last updated:** [September 17, 2022, 11:49pm UTC](https://discourse.processing.org/t/null-pointer-exceptions-problem/38830 "2022-09-17T23:49:57Z")

</div>

hello hi, sorry am trying to get data from arduino through serial port to processing ide but a getting an error that say Null Pointer Exceptions. below is my full processing code. // Import Meter library import meter.\*;…

---

## [rectMode CENTER/RADIUS causing text to disappear](https://discourse.processing.org/t/rectmode-center-radius-causing-text-to-disappear/38809)

<div class="topic-metadata">

**Author:** [@Zibee](https://discourse.processing.org/u/Zibee)\
**Replies:** 1\
**Last updated:** [September 17, 2022, 9:07pm UTC](https://discourse.processing.org/t/rectmode-center-radius-causing-text-to-disappear/38809 "2022-09-17T21:07:07Z")

</div>

Hello, I am trying to learn Processing for Android and it seems like I’m stuck on quite simple task - rendering text and square at the same time. If I don’t use rectMode(CENTER) everything seems to be working normally, …

---

## [Enable maximize button from frame](https://discourse.processing.org/t/enable-maximize-button-from-frame/14977)

<div class="topic-metadata">

**Author:** [@carbonne](https://discourse.processing.org/u/carbonne)\
**Replies:** 3\
**Last updated:** [September 17, 2022, 1:46pm UTC](https://discourse.processing.org/t/enable-maximize-button-from-frame/14977 "2022-09-17T13:46:34Z")

</div>

In mac the maximize window button on my sketch is disabled. I would like to enable it. I tried surface.setResizable(true) but it doesn’t enable the button, only allows to manually resize the window. How do I do this? …

---

## [Create a box with different colored sides](https://discourse.processing.org/t/create-a-box-with-different-colored-sides/38792)

<div class="topic-metadata">

**Author:** [@heylittlechef](https://discourse.processing.org/u/heylittlechef)\
**Replies:** 4\
**Last updated:** [September 16, 2022, 10:24am UTC](https://discourse.processing.org/t/create-a-box-with-different-colored-sides/38792 "2022-09-16T10:24:40Z")

</div>

Hi! I’m just starting out and want to make a box with different colored sides. Any tips?

---

## [Pg graphics window is always square, even if main window size is rectangular](https://discourse.processing.org/t/pg-graphics-window-is-always-square-even-if-main-window-size-is-rectangular/38806)

<div class="topic-metadata">

**Author:** [@ishmalish](https://discourse.processing.org/u/ishmalish)\
**Replies:** 2\
**Last updated:** [September 16, 2022, 6:16pm UTC](https://discourse.processing.org/t/pg-graphics-window-is-always-square-even-if-main-window-size-is-rectangular/38806 "2022-09-16T18:16:59Z")

</div>

PFont font; PGraphics pg; void setup() { size(400, 600, P2D); font = createFont("helvetica\_bold.otf", 30); pg = createGraphics(1000, 1000, P2D); //pg = createGraphics(400, 600, P2D); //or the same size as the si…

---

## [How to make an overlay that overlays over other program](https://discourse.processing.org/t/how-to-make-an-overlay-that-overlays-over-other-program/38784)

<div class="topic-metadata">

**Author:** [@5x9x7x2x7x9](https://discourse.processing.org/u/5x9x7x2x7x9)\
**Replies:** 8\
**Last updated:** [September 15, 2022, 7:03pm UTC](https://discourse.processing.org/t/how-to-make-an-overlay-that-overlays-over-other-program/38784 "2022-09-15T19:03:43Z")

</div>

Hello, I was wondering if there was any way to make it so I could have a program, that if you switch to another program, it would still be on your screen and you could interact with the other program normally? For examp…

---

## [How should this one-to-one link be modelled?](https://discourse.processing.org/t/how-should-this-one-to-one-link-be-modelled/38802)

<div class="topic-metadata">

**Author:** [@neon124](https://discourse.processing.org/u/neon124)\
**Replies:** 2\
**Last updated:** [September 16, 2022, 1:32pm UTC](https://discourse.processing.org/t/how-should-this-one-to-one-link-be-modelled/38802 "2022-09-16T13:32:40Z")

</div>

I have a number of entities that represent the various user kinds that must be able to access a certain system. They also come with a variety of information attached to them. ​ ​ For instance, “admin user” has a workst…

---

## [How to make transparent windows in processing.py](https://discourse.processing.org/t/how-to-make-transparent-windows-in-processing-py/38727)

<div class="topic-metadata">

**Author:** [@Boxit379](https://discourse.processing.org/u/Boxit379)\
**Replies:** 1\
**Last updated:** [September 16, 2022, 12:41pm UTC](https://discourse.processing.org/t/how-to-make-transparent-windows-in-processing-py/38727 "2022-09-16T12:41:16Z")

</div>

Hi! I’ve been learning to code in Processing.py and was wondering if it’s possible to make a window completely transparent in the python version of processing. I’ve seen a few similar posts such as this one but they all…

---

## [Processing-java - python multiprocessing pool](https://discourse.processing.org/t/processing-java-python-multiprocessing-pool/38732)

<div class="topic-metadata">

**Author:** [@superumam](https://discourse.processing.org/u/superumam)\
**Replies:** 1\
**Last updated:** [September 16, 2022, 12:18pm UTC](https://discourse.processing.org/t/processing-java-python-multiprocessing-pool/38732 "2022-09-16T12:18:11Z")

</div>

Hi, everyone. I’m finding an expert who has some experience on multiprocessing with processing-java. I’ve developed a python script to run processing-java command with multiprocessing pool. — Python Script— from multi…

---

## [How to use robot.mousePress(int) and robot.mouseRelease(int)?](https://discourse.processing.org/t/how-to-use-robot-mousepress-int-and-robot-mouserelease-int/27768)

<div class="topic-metadata">

**Author:** [@CodeMasterX](https://discourse.processing.org/u/CodeMasterX)\
**Replies:** 3\
**Last updated:** [September 16, 2022, 9:06am UTC](https://discourse.processing.org/t/how-to-use-robot-mousepress-int-and-robot-mouserelease-int/27768 "2022-09-16T09:06:11Z")

</div>

Hi! I recently started using the robot library. I tried using inputEvent. and mouseEvent with the BUTTON\_MASK1… (I saw those methods on forums) However; I can’t use robot.mousePress(int) and robot.mouseRelease(int) I…

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

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