# Processing

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

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

**Page:** 84

---

## [Why NullPointerException](https://discourse.processing.org/t/why-nullpointerexception/36537)

<div class="topic-metadata">

**Author:** [@jiajia](https://discourse.processing.org/u/jiajia)\
**Replies:** 2\
**Last updated:** [April 23, 2022, 7:55am UTC](https://discourse.processing.org/t/why-nullpointerexception/36537 "2022-04-23T07:55:45Z")

</div>

import java.util.Iterator; ParticleSystem ps; Particle p; void setup(){ size(200,200); smooth(); ps = new ParticleSystem(new PVector(width/2,50)); } void draw(){ background(100); PVector gravity = new PVecto…

---

## [Issues setting up exlipse classpath - can't find jai\_imageio.jar](https://discourse.processing.org/t/issues-setting-up-exlipse-classpath-cant-find-jai-imageio-jar/36535)

<div class="topic-metadata">

**Author:** [@ExpandingS](https://discourse.processing.org/u/ExpandingS)\
**Replies:** 1\
**Last updated:** [April 23, 2022, 7:00am UTC](https://discourse.processing.org/t/issues-setting-up-exlipse-classpath-cant-find-jai-imageio-jar/36535 "2022-04-23T07:00:24Z")

</div>

I can build and run processing fine using ant, however I’m having issues getting eclipse to work correctly, there are tonnes of build path errors. Following the build instructions, it mentions that: it’ll complain abou…

---

## [How do I upload a Library to the processing community?](https://discourse.processing.org/t/how-do-i-upload-a-library-to-the-processing-community/36528)

<div class="topic-metadata">

**Author:** [@5Daydreams](https://discourse.processing.org/u/5Daydreams)\
**Replies:** 1\
**Last updated:** [April 22, 2022, 5:54pm UTC](https://discourse.processing.org/t/how-do-i-upload-a-library-to-the-processing-community/36528 "2022-04-22T17:54:47Z")

</div>

I want to start my own library for handling perlin noise and simple geometric shapes, but I can’t seem to find where do I put the files for it in this website, would someone happen to know how that is done?

---

## [Grid using ramdomly some designs](https://discourse.processing.org/t/grid-using-ramdomly-some-designs/36205)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 10\
**Last updated:** [April 22, 2022, 2:12pm UTC](https://discourse.processing.org/t/grid-using-ramdomly-some-designs/36205 "2022-04-22T14:12:21Z")

</div>

Hi there! I am drawing a grid with 9 different types of design, as you can see in the Code Now, I would like to use them ramdomly, I mean, to fill the squares with them in a random way. How could I start doing that? Th…

---

## [Map random images to elements individually](https://discourse.processing.org/t/map-random-images-to-elements-individually/36022)

<div class="topic-metadata">

**Author:** [@oli7er](https://discourse.processing.org/u/oli7er)\
**Replies:** 4\
**Last updated:** [April 22, 2022, 10:44am UTC](https://discourse.processing.org/t/map-random-images-to-elements-individually/36022 "2022-04-22T10:44:56Z")

</div>

Hi everyone, I am trying to map randomly selected images to a trail of waving rectangles. Originally I had the pictures loaded through a for loop, which scrolled through the file names, but this looked too organised. So…

---

## [The Particle() is undefined](https://discourse.processing.org/t/the-particle-is-undefined/36510)

<div class="topic-metadata">

**Author:** [@jiajia](https://discourse.processing.org/u/jiajia)\
**Replies:** 7\
**Last updated:** [April 22, 2022, 9:57am UTC](https://discourse.processing.org/t/the-particle-is-undefined/36510 "2022-04-22T09:57:58Z")

</div>

import java.util.Iterator; ParticleSystem ps; Particle p; void steup(){ size(200,200); ps = new ParticleSystem(); } void draw(){ background(255); ps.run(); } class ParticleSystem{ ArrayList\<Particle\> particl…

---

## [PShape createShape(GROUP) ignoring noStroke(), fill() when contained in PGraphics?](https://discourse.processing.org/t/pshape-createshape-group-ignoring-nostroke-fill-when-contained-in-pgraphics/36508)

<div class="topic-metadata">

**Author:** [@disuye](https://discourse.processing.org/u/disuye)\
**Replies:** 2\
**Last updated:** [April 22, 2022, 8:06am UTC](https://discourse.processing.org/t/pshape-createshape-group-ignoring-nostroke-fill-when-contained-in-pgraphics/36508 "2022-04-22T08:06:14Z")

</div>

Not sure if I’m missing something … I’m having trouble getting shapes (approx. 100 shapes, generated by a for loop in setup(), using the method .addChild() to create a group that is visible OK in draw()) to accept any st…

---

## [Displaying population data from a CSV file onto a map](https://discourse.processing.org/t/displaying-population-data-from-a-csv-file-onto-a-map/36505)

<div class="topic-metadata">

**Author:** [@JB77](https://discourse.processing.org/u/JB77)\
**Replies:** 2\
**Last updated:** [April 22, 2022, 5:40am UTC](https://discourse.processing.org/t/displaying-population-data-from-a-csv-file-onto-a-map/36505 "2022-04-22T05:40:46Z")

</div>

I am trying to plot population data (from three years) from a CSV file onto a map of the UK but am not sure how to do display the data, I have gathered the X and Y coordinates of each city in the CSV file, but I am not s…

---

## [Problems with canvas size](https://discourse.processing.org/t/problems-with-canvas-size/4026)

<div class="topic-metadata">

**Author:** [@mojo](https://discourse.processing.org/u/mojo)\
**Replies:** 12\
**Last updated:** [April 22, 2022, 4:16am UTC](https://discourse.processing.org/t/problems-with-canvas-size/4026 "2022-04-22T04:16:24Z")

</div>

Hi there, I am happy to have started to learn Processing however I seem to have fallen at the first hurdle. When I am completing the beginner tutorial video, and code I type in just results in what I would guess to be …

---

## [Cannot find a class or type named “Iterator”](https://discourse.processing.org/t/cannot-find-a-class-or-type-named-iterator/36491)

<div class="topic-metadata">

**Author:** [@jiajia](https://discourse.processing.org/u/jiajia)\
**Replies:** 4\
**Last updated:** [April 21, 2022, 2:54pm UTC](https://discourse.processing.org/t/cannot-find-a-class-or-type-named-iterator/36491 "2022-04-21T14:54:16Z")

</div>

\< ArrayList particles; void setup(){ size(200,200); particles = new ArrayList(); } void draw(){ background(255); particles.add(new Particle(new PVector(width/2,50))); Iterator it = particles.iterator(); while(…

---

## [Importing Live Internet Video in Processing](https://discourse.processing.org/t/importing-live-internet-video-in-processing/8218)

<div class="topic-metadata">

**Author:** [@ernestwzh](https://discourse.processing.org/u/ernestwzh)\
**Replies:** 24\
**Last updated:** [April 21, 2022, 2:24pm UTC](https://discourse.processing.org/t/importing-live-internet-video-in-processing/8218 "2022-04-21T14:24:15Z")

</div>

Hi there, I was just wondering if it is possible to import a live internet video feed from the following weblink into Processing: Ultimately I wish to manipulate the live video but for now I would just like to import …

---

## [I would like to build a device to make panorama picture (like iPhone feature)](https://discourse.processing.org/t/i-would-like-to-build-a-device-to-make-panorama-picture-like-iphone-feature/36446)

<div class="topic-metadata">

**Author:** [@politropo](https://discourse.processing.org/u/politropo)\
**Replies:** 0\
**Last updated:** [April 19, 2022, 12:47pm UTC](https://discourse.processing.org/t/i-would-like-to-build-a-device-to-make-panorama-picture-like-iphone-feature/36446 "2022-04-19T12:47:10Z")

</div>

Hi everyone, --//context//-- I am an artist and lately during my train or car journeys I started to place my phone (iPhone) on the windows and start taking pano photos. The result fascinates me a lot and I would like t…

---

## [How to make the ellipses fall down from the top of the screen?](https://discourse.processing.org/t/how-to-make-the-ellipses-fall-down-from-the-top-of-the-screen/36476)

<div class="topic-metadata">

**Author:** [@hau4302](https://discourse.processing.org/u/hau4302)\
**Replies:** 2\
**Last updated:** [April 21, 2022, 12:23am UTC](https://discourse.processing.org/t/how-to-make-the-ellipses-fall-down-from-the-top-of-the-screen/36476 "2022-04-21T00:23:21Z")

</div>

How to make the ellipse fall down from the top of the screen?

---

## [Is it possible to download the jblas library somehow](https://discourse.processing.org/t/is-it-possible-to-download-the-jblas-library-somehow/36422)

<div class="topic-metadata">

**Author:** [@urlxd](https://discourse.processing.org/u/urlxd)\
**Replies:** 1\
**Last updated:** [April 20, 2022, 8:01pm UTC](https://discourse.processing.org/t/is-it-possible-to-download-the-jblas-library-somehow/36422 "2022-04-20T20:01:09Z")

</div>

how to load jblas library (or other library for neural networks) in processing(on phone (APDE for android)) :face\_with\_raised\_eyebrow:

---

## [Loop for same variable but opposite directions](https://discourse.processing.org/t/loop-for-same-variable-but-opposite-directions/36474)

<div class="topic-metadata">

**Author:** [@oli7er](https://discourse.processing.org/u/oli7er)\
**Replies:** 2\
**Last updated:** [April 20, 2022, 2:57pm UTC](https://discourse.processing.org/t/loop-for-same-variable-but-opposite-directions/36474 "2022-04-20T14:57:27Z")

</div>

Hi everyone, I have been using two loops to generate generate variables one of them going up from 0 - 360 and the other going in the opposite direction from 360 - 0. The code I have been using for this looks like this: …

---

## [Coding problem using Processing with Arduino](https://discourse.processing.org/t/coding-problem-using-processing-with-arduino/36354)

<div class="topic-metadata">

**Author:** [@remi\_chen](https://discourse.processing.org/u/remi_chen)\
**Replies:** 5\
**Last updated:** [April 20, 2022, 2:32pm UTC](https://discourse.processing.org/t/coding-problem-using-processing-with-arduino/36354 "2022-04-20T14:32:10Z")

</div>

Hi guys! Recently, I am working on an art project that needs Processing and Arduino. Now that I have some questions, I want to turn the following flowchart into automatic code behavior. I already have some basic code and…

---

## [Grid with random colors](https://discourse.processing.org/t/grid-with-random-colors/36469)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 2\
**Last updated:** [April 20, 2022, 9:40am UTC](https://discourse.processing.org/t/grid-with-random-colors/36469 "2022-04-20T09:40:13Z")

</div>

Hi there, I am trying to make a grid with random colors on every cell, but I only can change the color of every column and I don’t know why. Could you please help me? size(1000,1000); stroke(1); for(int x=0; …

---

## [Why doesn’t Processing support LAB?](https://discourse.processing.org/t/why-doesn-t-processing-support-lab/4848)

<div class="topic-metadata">

**Author:** [@BulVvyvXsWDYZl8J](https://discourse.processing.org/u/BulVvyvXsWDYZl8J)\
**Replies:** 15\
**Last updated:** [April 20, 2022, 9:37am UTC](https://discourse.processing.org/t/why-doesn-t-processing-support-lab/4848 "2022-04-20T09:37:58Z")

</div>

As the title says. I’m not finding a reason why Processing does not support the CIELAB color space.

---

## [Change window color - Processing 3](https://discourse.processing.org/t/change-window-color-processing-3/23422)

<div class="topic-metadata">

**Author:** [@Arnau](https://discourse.processing.org/u/Arnau)\
**Replies:** 1\
**Last updated:** [April 20, 2022, 12:52am UTC](https://discourse.processing.org/t/change-window-color-processing-3/23422 "2022-04-20T00:52:07Z")

</div>

There is anyway to change window decoration color / border color? I mean something like: surface.setDecorationColor(color(0, 0, 255)); or surface.setBorderColor(color(0, 0, 255)); But I need default window decoratio…

---

## [Game over screen not staying on the screen](https://discourse.processing.org/t/game-over-screen-not-staying-on-the-screen/36416)

<div class="topic-metadata">

**Author:** [@Bossinnit](https://discourse.processing.org/u/Bossinnit)\
**Replies:** 17\
**Last updated:** [April 19, 2022, 7:39pm UTC](https://discourse.processing.org/t/game-over-screen-not-staying-on-the-screen/36416 "2022-04-19T19:39:16Z")

</div>

I would appreciate it if someone could help me with my problem, I am trying to collide my character with the vehicle and then to display a “Game over” screen once it collides. The issue that i am facing is that when it c…

---

## [Play "source:blob" live online video with Processing](https://discourse.processing.org/t/play-source-blob-live-online-video-with-processing/36424)

<div class="topic-metadata">

**Author:** [@rojele](https://discourse.processing.org/u/rojele)\
**Replies:** 0\
**Last updated:** [April 18, 2022, 7:23pm UTC](https://discourse.processing.org/t/play-source-blob-live-online-video-with-processing/36424 "2022-04-18T19:23:38Z")

</div>

Hi! I’m trying to play live traffic webcam online video in order to analize it in real time with processing and opencv. The main problem I found is getting access to the video itself, while street web sources go changi…

---

## [G4P GUI: cannot find KeyEvent method](https://discourse.processing.org/t/g4p-gui-cannot-find-keyevent-method/36404)

<div class="topic-metadata">

**Author:** [@Ignotus](https://discourse.processing.org/u/Ignotus)\
**Replies:** 1\
**Last updated:** [April 18, 2022, 5:35pm UTC](https://discourse.processing.org/t/g4p-gui-cannot-find-keyevent-method/36404 "2022-04-18T17:35:10Z")

</div>

I am getting an error on running G4P V4.3.8. The GWindowAWT class cannot find this method public void winMouse(PApplet applet, GWinData windata, MouseEvent ouseevent) { /\* code \*/ } The GWindowAWT class cannot find t…

---

## [Problem with Game of Life](https://discourse.processing.org/t/problem-with-game-of-life/36407)

<div class="topic-metadata">

**Author:** [@paul3883](https://discourse.processing.org/u/paul3883)\
**Replies:** 5\
**Last updated:** [April 18, 2022, 5:33pm UTC](https://discourse.processing.org/t/problem-with-game-of-life/36407 "2022-04-18T17:33:06Z")

</div>

Hi there, I’ve decided to try programing the game of life with a little added covid implementation. I somehow have an issue which I think is in the “locating neighbors”. It seems to be working but somehow everything is …

---

## [Serial sending unexpected values](https://discourse.processing.org/t/serial-sending-unexpected-values/36412)

<div class="topic-metadata">

**Author:** [@Smajdalf](https://discourse.processing.org/u/Smajdalf)\
**Replies:** 1\
**Last updated:** [April 18, 2022, 1:20pm UTC](https://discourse.processing.org/t/serial-sending-unexpected-values/36412 "2022-04-18T13:20:45Z")

</div>

I encountered another problem when communicating with Arduino. I want to send raw data. On the Processing side I prepare them as a String and send them to Arduino via Serial. Using void writeToArduino(String whatToWrite…

---

## [Bluetooth connection from Arduino to Android phone wont connect](https://discourse.processing.org/t/bluetooth-connection-from-arduino-to-android-phone-wont-connect/36378)

<div class="topic-metadata">

**Author:** [@KrisNielsen](https://discourse.processing.org/u/KrisNielsen)\
**Replies:** 2\
**Last updated:** [April 17, 2022, 3:35pm UTC](https://discourse.processing.org/t/bluetooth-connection-from-arduino-to-android-phone-wont-connect/36378 "2022-04-17T15:35:06Z")

</div>

Hello. I am working on an that will recieve data over bluetooth from an arduino. The problem is that i can not connect the bluetooth moduel to my phone. I am using the MLT-BT05, I can comunicate with the moduel from the …

---

## [Visual artefact issues with shapes with stroke() versus filled shapes](https://discourse.processing.org/t/visual-artefact-issues-with-shapes-with-stroke-versus-filled-shapes/36382)

<div class="topic-metadata">

**Author:** [@Misha.studio](https://discourse.processing.org/u/Misha.studio)\
**Replies:** 0\
**Last updated:** [April 16, 2022, 6:59pm UTC](https://discourse.processing.org/t/visual-artefact-issues-with-shapes-with-stroke-versus-filled-shapes/36382 "2022-04-16T18:59:35Z")

</div>

Hi! I’m working on a generative type project based on the Mexico Olympic type. When rendering my letters with strokes I find some visual artefacts - things simply don’t seem to align properly. When exported to .pdf or wh…

---

## ["Noise colored TV" style?](https://discourse.processing.org/t/noise-colored-tv-style/36359)

<div class="topic-metadata">

**Author:** [@Lorangeverte](https://discourse.processing.org/u/Lorangeverte)\
**Replies:** 5\
**Last updated:** [April 16, 2022, 1:51pm UTC](https://discourse.processing.org/t/noise-colored-tv-style/36359 "2022-04-16T13:51:57Z")

</div>

Hello all, newbie on Processing, I check this code on the web and I would to know how could I make a “random colored noise as TV style” ? Not just black an white pixels, but random colored pixels. import com.hamoid.\*; …

---

## [How to make two joysticks on a phone](https://discourse.processing.org/t/how-to-make-two-joysticks-on-a-phone/36374)

<div class="topic-metadata">

**Author:** [@urlxd](https://discourse.processing.org/u/urlxd)\
**Replies:** 0\
**Last updated:** [April 16, 2022, 9:33am UTC](https://discourse.processing.org/t/how-to-make-two-joysticks-on-a-phone/36374 "2022-04-16T09:33:29Z")

</div>

when I make two joysticks mouse X and Y need to be divided into 4 parts. If anyone knows how please tell me. code: Player player = new Player(100, 100); InterFace face; int mapWidth = 2000; int mapHeight = 2000; i…

---

## [Adding parameter of motion to FollowMe Program](https://discourse.processing.org/t/adding-parameter-of-motion-to-followme-program/36373)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 0\
**Last updated:** [April 16, 2022, 9:22am UTC](https://discourse.processing.org/t/adding-parameter-of-motion-to-followme-program/36373 "2022-04-16T09:22:47Z")

</div>

Hi Hi, I would like to transform this program so that the movement created with the mouse can be followed but slower than in reality. I would like to have this movement in slow motion, i.e. if I make some sort of circl…

---

## [Changes to contributed libraries](https://discourse.processing.org/t/changes-to-contributed-libraries/36350)

<div class="topic-metadata">

**Author:** [@haschdl](https://discourse.processing.org/u/haschdl)\
**Replies:** 0\
**Last updated:** [April 15, 2022, 11:53am UTC](https://discourse.processing.org/t/changes-to-contributed-libraries/36350 "2022-04-15T11:53:11Z")

</div>

I’m the author of a contributed library and a major refactoring in the latest update meant also that my library was renamed. I reaching out to confirm if the current way to get in touch is by contacting the Processing li…

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

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