# Processing

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

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

**Page:** 350

---

## [Counting things in draw()](https://discourse.processing.org/t/counting-things-in-draw/5396)

<div class="topic-metadata">

**Author:** [@germaine](https://discourse.processing.org/u/germaine)\
**Replies:** 1\
**Last updated:** [November 10, 2018, 8:45am UTC](https://discourse.processing.org/t/counting-things-in-draw/5396 "2018-11-10T08:45:57Z")

</div>

I have “liquid” (a rectangle) into which I am dropping “objects” (ellipses) of a regular size. When an object passes into the water, I want to add to the height of the water rectangle, and when I take an object out, I wa…

---

## [How to tell if the mouse is over the window?](https://discourse.processing.org/t/how-to-tell-if-the-mouse-is-over-the-window/5285)

<div class="topic-metadata">

**Author:** [@Angle](https://discourse.processing.org/u/Angle)\
**Replies:** 8\
**Last updated:** [November 10, 2018, 8:33am UTC](https://discourse.processing.org/t/how-to-tell-if-the-mouse-is-over-the-window/5285 "2018-11-10T08:33:48Z")

</div>

I looked through the reference and I don’t see anything for that. Do I just need to use mouseEnter() and mouseLeave() events? :confused:

---

## [Instanced objects in multiple Arraylists for object organization?](https://discourse.processing.org/t/instanced-objects-in-multiple-arraylists-for-object-organization/5364)

<div class="topic-metadata">

**Author:** [@Birb](https://discourse.processing.org/u/Birb)\
**Replies:** 2\
**Last updated:** [November 10, 2018, 2:39am UTC](https://discourse.processing.org/t/instanced-objects-in-multiple-arraylists-for-object-organization/5364 "2018-11-10T02:39:35Z")

</div>

I have a problem and I’m trying to figure out the best way to approach it. I have a list of objects in an array, order matters. I would like to create sub-groups of those objects. Ideally, this would just be a matter of …

---

## [PixelFlow does not work](https://discourse.processing.org/t/pixelflow-does-not-work/5365)

<div class="topic-metadata">

**Author:** [@HackinHarry](https://discourse.processing.org/u/HackinHarry)\
**Replies:** 6\
**Last updated:** [November 10, 2018, 1:32am UTC](https://discourse.processing.org/t/pixelflow-does-not-work/5365 "2018-11-10T01:32:20Z")

</div>

It used to work before I reinstalled windows10 and updated Java about 2 months ago. When it did work, I was able to run the Wind Tunnel examples. I’m not sure if I ever tried it in Processing 2.2.1, but it does not wor…

---

## [Load several XML to analyse them](https://discourse.processing.org/t/load-several-xml-to-analyse-them/5058)

<div class="topic-metadata">

**Author:** [@Pr0tonX](https://discourse.processing.org/u/Pr0tonX)\
**Replies:** 6\
**Last updated:** [November 9, 2018, 11:50pm UTC](https://discourse.processing.org/t/load-several-xml-to-analyse-them/5058 "2018-11-09T23:50:00Z")

</div>

Hi everyone, I’m trying to visualize some journeys wich are encoded in XML files. These files give me the position (lattitude and longitude), the date/time, and some others informations that I don’t need. I write a pr…

---

## [Fill in a nested loop](https://discourse.processing.org/t/fill-in-a-nested-loop/5394)

<div class="topic-metadata">

**Author:** [@Fei](https://discourse.processing.org/u/Fei)\
**Replies:** 4\
**Last updated:** [November 9, 2018, 11:29pm UTC](https://discourse.processing.org/t/fill-in-a-nested-loop/5394 "2018-11-09T23:29:58Z")

</div>

Hello, So I’m a little confused on how to manage what I’m trying to fill, and how, inside nested loops. I’m trying to have 3 rows of 20 circles each (to represent 60 seconds), where 1 circle is filled black every secon…

---

## [Exporting Errors \[Kinda new in Processing\]](https://discourse.processing.org/t/exporting-errors-kinda-new-in-processing/5388)

<div class="topic-metadata">

**Author:** [@GeorgeKal](https://discourse.processing.org/u/GeorgeKal)\
**Replies:** 1\
**Last updated:** [November 9, 2018, 8:37pm UTC](https://discourse.processing.org/t/exporting-errors-kinda-new-in-processing/5388 "2018-11-09T20:37:53Z")

</div>

Compiling resources C:\\Users\\Γιώργος\\Documents\\processing-3.4\\modes\\java\\application\\launch4j\\bin\\windres.exe: can't open icon file \`C:\\Users\\???????\\Documents\\processing-3.4\\modes\\java\\application\\sketch.ico': Invalid a…

---

## [Happiness Meter](https://discourse.processing.org/t/happiness-meter/5326)

<div class="topic-metadata">

**Author:** [@ant](https://discourse.processing.org/u/ant)\
**Replies:** 15\
**Last updated:** [November 9, 2018, 8:06pm UTC](https://discourse.processing.org/t/happiness-meter/5326 "2018-11-09T20:06:07Z")

</div>

I am having trouble making a happiness meter. So I want to be able to have a timer aka my meter start counting down when I press the s key. Then if the happiness meter gets to low the rock image will change and if it get…

---

## [Error with semicolon translate in point](https://discourse.processing.org/t/error-with-semicolon-translate-in-point/5371)

<div class="topic-metadata">

**Author:** [@Paco](https://discourse.processing.org/u/Paco)\
**Replies:** 12\
**Last updated:** [November 9, 2018, 7:40pm UTC](https://discourse.processing.org/t/error-with-semicolon-translate-in-point/5371 "2018-11-09T19:40:17Z")

</div>

Hi everyone, I have a big problem with my Processing, when I tap a semicolon on my mac it appear a point in my code and same problem with double point it appear only a point. I already checked on other software to see i…

---

## [How to type OR on keyboard (mac)](https://discourse.processing.org/t/how-to-type-or-on-keyboard-mac/5369)

<div class="topic-metadata">

**Author:** [@anna\_mei](https://discourse.processing.org/u/anna_mei)\
**Replies:** 8\
**Last updated:** [November 9, 2018, 9:29am UTC](https://discourse.processing.org/t/how-to-type-or-on-keyboard-mac/5369 "2018-11-09T09:29:04Z")

</div>

Dear community, I am trying to find the keyboard “shortcut” for this sign (which I now copied from the references page): || It is the sign for “OR”. I am currently using a Mac (High Sierra 10.13.4) with a german keybo…

---

## [Pixels buffer and framerate](https://discourse.processing.org/t/pixels-buffer-and-framerate/5345)

<div class="topic-metadata">

**Author:** [@TTG](https://discourse.processing.org/u/TTG)\
**Replies:** 11\
**Last updated:** [November 9, 2018, 8:40am UTC](https://discourse.processing.org/t/pixels-buffer-and-framerate/5345 "2018-11-09T08:40:42Z")

</div>

Dear Team, When using pixels array i experience framerate drop (20 fps) after 4 or 5 draw() loops. when i use a void keypressed() the framerate doesnt drop and stays above 55 fps. (of course i require to press a ke…

---

## [Create multiple drawing object instances](https://discourse.processing.org/t/create-multiple-drawing-object-instances/5289)

<div class="topic-metadata">

**Author:** [@martinh](https://discourse.processing.org/u/martinh)\
**Replies:** 9\
**Last updated:** [November 9, 2018, 8:33am UTC](https://discourse.processing.org/t/create-multiple-drawing-object-instances/5289 "2018-11-09T08:33:01Z")

</div>

Hi all, new here. I would like to use P3 to create multiple unique drawing areas. All the examples I’ve seen the window is one large drawing area. Ideally I’d like to create a class of the ‘drawingArea’ with all the c…

---

## [Creating Art with Processing or P5](https://discourse.processing.org/t/creating-art-with-processing-or-p5/5359)

<div class="topic-metadata">

**Author:** [@GuerillaGirl](https://discourse.processing.org/u/GuerillaGirl)\
**Replies:** 4\
**Last updated:** [November 9, 2018, 8:26am UTC](https://discourse.processing.org/t/creating-art-with-processing-or-p5/5359 "2018-11-09T08:26:14Z")

</div>

Hi guys, My son is doing a graphic art project using Processing/P5 and in two weeks he will be submitting his work to the Fine Arts contest in our state. I was wondering if you guys had any advice on creating art using …

---

## [Easter egg, maybe](https://discourse.processing.org/t/easter-egg-maybe/5351)

<div class="topic-metadata">

**Author:** [@nitrochloric](https://discourse.processing.org/u/nitrochloric)\
**Replies:** 4\
**Last updated:** [November 9, 2018, 8:07am UTC](https://discourse.processing.org/t/easter-egg-maybe/5351 "2018-11-09T08:07:23Z")

</div>

hi i was going around the processing-3.4 files and i found two e-books , frankenstein and dracula in the folder …\\Desktop\\processing-3.4\\modes\\java\\examples\\Topics\\Advanced Data\\HashMapClass\\data is this a well known t…

---

## [Kinect v2 was working but installed zadig drivers and now won't run on any program](https://discourse.processing.org/t/kinect-v2-was-working-but-installed-zadig-drivers-and-now-wont-run-on-any-program/5749)

<div class="topic-metadata">

**Author:** [@moonspacedancer](https://discourse.processing.org/u/moonspacedancer)\
**Replies:** 0\
**Last updated:** [November 9, 2018, 8:00am UTC](https://discourse.processing.org/t/kinect-v2-was-working-but-installed-zadig-drivers-and-now-wont-run-on-any-program/5749 "2018-11-09T08:00:00Z")

</div>

I wanted to run a sketch I had for a v1 using openkinect library but it didnt work and everyone said install the driver on zadig. I did that and it still did not work, but gave no error. so I was like, hey I will just gi…

---

## [Mesh ball generation](https://discourse.processing.org/t/mesh-ball-generation/4980)

<div class="topic-metadata">

**Author:** [@Darkar25](https://discourse.processing.org/u/Darkar25)\
**Replies:** 9\
**Last updated:** [November 9, 2018, 4:09am UTC](https://discourse.processing.org/t/mesh-ball-generation/4980 "2018-11-09T04:09:55Z")

</div>

Im trying to make something like that: I already made dots generation and border circle…but i dont know how to connect all dots between…i need to connect every dot to closest dots…i tried that myself but i got an OutO…

---

## [Path finder java pathfinder library processing](https://discourse.processing.org/t/path-finder-java-pathfinder-library-processing/2947)

<div class="topic-metadata">

**Author:** [@ctrembla](https://discourse.processing.org/u/ctrembla)\
**Replies:** 8\
**Last updated:** [November 8, 2018, 11:28pm UTC](https://discourse.processing.org/t/path-finder-java-pathfinder-library-processing/2947 "2018-11-08T23:28:59Z")

</div>

OK, so I’ve got where I the path goes from point a to b but idk how to make it avoid objects. I want to make a tower defense game where different maps appear & the enemy gotta find its way through or to the item it wants…

---

## [Shooting in a game](https://discourse.processing.org/t/shooting-in-a-game/5328)

<div class="topic-metadata">

**Author:** [@kinglucas](https://discourse.processing.org/u/kinglucas)\
**Replies:** 4\
**Last updated:** [November 8, 2018, 10:27pm UTC](https://discourse.processing.org/t/shooting-in-a-game/5328 "2018-11-08T22:27:05Z")

</div>

Hello, I am a beginner to programming and I really want this shooting code in my game but I don’t know how to put this code so that my character in my game shoots these bullets please help: //Objects Player player = new…

---

## [G4P can´t continue with saved work](https://discourse.processing.org/t/g4p-can-t-continue-with-saved-work/5267)

<div class="topic-metadata">

**Author:** [@Tomas](https://discourse.processing.org/u/Tomas)\
**Replies:** 16\
**Last updated:** [November 8, 2018, 6:12pm UTC](https://discourse.processing.org/t/g4p-can-t-continue-with-saved-work/5267 "2018-11-08T18:12:32Z")

</div>

Hello, I created a GUI with G4P tool, I saved it and after I opened it again I had the code in the GUI tab, but when I opened the G4P tool it overwrited the GUI tab to the default/blank template. How can I run the tool w…

---

## [Best way to do this: tint(C, M, Y, K)?](https://discourse.processing.org/t/best-way-to-do-this-tint-c-m-y-k/5317)

<div class="topic-metadata">

**Author:** [@SheCurvesMobius](https://discourse.processing.org/u/SheCurvesMobius)\
**Replies:** 10\
**Last updated:** [November 8, 2018, 2:13pm UTC](https://discourse.processing.org/t/best-way-to-do-this-tint-c-m-y-k/5317 "2018-11-08T14:13:14Z")

</div>

Hello, I would like to be able to manipulate the CMYK channels of an image in Processing. (I realize that on a monitor the colors of an image are generated by RGB light, but I want to mimic the effects of the printing p…

---

## [Audio (amplitude) analysis](https://discourse.processing.org/t/audio-amplitude-analysis/5320)

<div class="topic-metadata">

**Author:** [@IdoPlumes](https://discourse.processing.org/u/IdoPlumes)\
**Replies:** 2\
**Last updated:** [November 8, 2018, 11:14am UTC](https://discourse.processing.org/t/audio-amplitude-analysis/5320 "2018-11-08T11:14:21Z")

</div>

Hi everyone :slight\_smile: So i am currently at the stage of having audio load and play when i run the code in my sketch, although i would like to then use the amplitude data to manipulate the graphics. However all the…

---

## [A run away behavior](https://discourse.processing.org/t/a-run-away-behavior/5253)

<div class="topic-metadata">

**Author:** [@vincentstrebelle](https://discourse.processing.org/u/vincentstrebelle)\
**Replies:** 19\
**Last updated:** [November 8, 2018, 10:25am UTC](https://discourse.processing.org/t/a-run-away-behavior/5253 "2018-11-08T10:25:15Z")

</div>

hi everyone, i trie to make an run away behavior for my creature in my ecosystem. the situation is, if a predator (my mouse for now) come too close of a creature, the creature move away. i was wondering if i can use my…

---

## [If you are using the g4p button, can not change the cursor?](https://discourse.processing.org/t/if-you-are-using-the-g4p-button-can-not-change-the-cursor/5080)

<div class="topic-metadata">

**Author:** [@seo](https://discourse.processing.org/u/seo)\
**Replies:** 3\
**Last updated:** [November 8, 2018, 4:15am UTC](https://discourse.processing.org/t/if-you-are-using-the-g4p-button-can-not-change-the-cursor/5080 "2018-11-08T04:15:43Z")

</div>

If you are using the g4p button, can not change the cursor? noCursor, coursor (HAND) … etc

---

## [How to use processing?](https://discourse.processing.org/t/how-to-use-processing/5340)

<div class="topic-metadata">

**Author:** [@Null](https://discourse.processing.org/u/Null)\
**Replies:** 1\
**Last updated:** [November 8, 2018, 3:50am UTC](https://discourse.processing.org/t/how-to-use-processing/5340 "2018-11-08T03:50:01Z")

</div>

So i made a program for my friends to use and other people, but i found out that you need processing to use the program. But is there a way that i could make it so they dont need to download processing to use the program…

---

## [textFont/text bugs of Processing 3.4](https://discourse.processing.org/t/textfont-text-bugs-of-processing-3-4/5122)

<div class="topic-metadata">

**Author:** [@zizhenc](https://discourse.processing.org/u/zizhenc)\
**Replies:** 4\
**Last updated:** [November 7, 2018, 10:13pm UTC](https://discourse.processing.org/t/textfont-text-bugs-of-processing-3-4/5122 "2018-11-07T22:13:24Z")

</div>

I believe I found a bug in Processing 3.4. The textFont will mess transparency in P3D render mode. I tested the following code in former Processing versions 3.37 and before, all works fine, just the 3.4 version has prob…

---

## [Midibus in a seperate thread - Feedback loop detected](https://discourse.processing.org/t/midibus-in-a-seperate-thread-feedback-loop-detected/5126)

<div class="topic-metadata">

**Author:** [@fschober](https://discourse.processing.org/u/fschober)\
**Replies:** 4\
**Last updated:** [November 7, 2018, 4:40pm UTC](https://discourse.processing.org/t/midibus-in-a-seperate-thread-feedback-loop-detected/5126 "2018-11-07T16:40:16Z")

</div>

Dear forum members! I am just writing a patch to sonficate solar wind data i am rexeiving out of a txt file from a server. I have managed to get the data parsed and send it to an external program via midibus. Now i go…

---

## [Timebonus doesn't reset](https://discourse.processing.org/t/timebonus-doesnt-reset/5319)

<div class="topic-metadata">

**Author:** [@kinglucas](https://discourse.processing.org/u/kinglucas)\
**Replies:** 19\
**Last updated:** [November 7, 2018, 4:17pm UTC](https://discourse.processing.org/t/timebonus-doesnt-reset/5319 "2018-11-07T16:17:58Z")

</div>

The time bonus doesn’t reset when I press ‘r’ to restart game how do I make sure that the timeBonus also resets with the points and amount of balls. int screensizex, screensizey; PImage img; int mode = 0; int INTRO = 0;…

---

## [Draw image from particular corner](https://discourse.processing.org/t/draw-image-from-particular-corner/5322)

<div class="topic-metadata">

**Author:** [@KeirMeDear](https://discourse.processing.org/u/KeirMeDear)\
**Replies:** 5\
**Last updated:** [November 7, 2018, 4:10pm UTC](https://discourse.processing.org/t/draw-image-from-particular-corner/5322 "2018-11-07T16:10:19Z")

</div>

So I’m aware you can position images in processing using different image modes. I was wondering how using imageMode(CORNERS) I would be able to position images from the bottom left corner. So if the image was drawn this …

---

## [How to increase sive wave with keypress rather than moving the mouse](https://discourse.processing.org/t/how-to-increase-sive-wave-with-keypress-rather-than-moving-the-mouse/5299)

<div class="topic-metadata">

**Author:** [@admbdr](https://discourse.processing.org/u/admbdr)\
**Replies:** 6\
**Last updated:** [November 7, 2018, 12:52pm UTC](https://discourse.processing.org/t/how-to-increase-sive-wave-with-keypress-rather-than-moving-the-mouse/5299 "2018-11-07T12:52:38Z")

</div>

import ddf.minim.; import ddf.minim.ugens.; Minim minim; AudioOutput out; Oscil wave; void setup() { size(512, 200, P3D); minim = new Minim(this); // use the getLineOut method of the Minim object to …

---

## [Writing to multiple serial ports without delay](https://discourse.processing.org/t/writing-to-multiple-serial-ports-without-delay/4679)

<div class="topic-metadata">

**Author:** [@jacobrejin](https://discourse.processing.org/u/jacobrejin)\
**Replies:** 19\
**Last updated:** [November 7, 2018, 9:14am UTC](https://discourse.processing.org/t/writing-to-multiple-serial-ports-without-delay/4679 "2018-11-07T09:14:58Z")

</div>

I am doing a large scale LED project using processing and STM32. processing converts the video data into led pixel data and sends them to STM32 controllers. each controller controls about 1200 LEDs. each controller is…

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

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