# Processing

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

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

**Page:** 281

---

## [Pixelflow lib / getting individual particle positions](https://discourse.processing.org/t/pixelflow-lib-getting-individual-particle-positions/10778)

<div class="topic-metadata">

**Author:** [@iliasp](https://discourse.processing.org/u/iliasp)\
**Replies:** 5\
**Last updated:** [August 6, 2019, 7:15am UTC](https://discourse.processing.org/t/pixelflow-lib-getting-individual-particle-positions/10778 "2019-08-06T07:15:06Z")

</div>

Hello, I am trying to find a way to get the individual particle positions in a pixelflow particle sim. Is this even possible considering the texture based physics calcs?

---

## [Exported sketch is completely blocked from running](https://discourse.processing.org/t/exported-sketch-is-completely-blocked-from-running/13204)

<div class="topic-metadata">

**Author:** [@n055](https://discourse.processing.org/u/n055)\
**Replies:** 9\
**Last updated:** [August 6, 2019, 4:43am UTC](https://discourse.processing.org/t/exported-sketch-is-completely-blocked-from-running/13204 "2019-08-06T04:43:14Z")

</div>

Hey y’all I’ve got an app that I’m writing with the intention of sending it to other people to use. When I export the program to run from a .exe (with JRE etc), when I send it to people for testing, and when I test it …

---

## [Fill and line not displaying (Help for a beginner)](https://discourse.processing.org/t/fill-and-line-not-displaying-help-for-a-beginner/10693)

<div class="topic-metadata">

**Author:** [@abigail](https://discourse.processing.org/u/abigail)\
**Replies:** 3\
**Last updated:** [August 6, 2019, 4:34am UTC](https://discourse.processing.org/t/fill-and-line-not-displaying-help-for-a-beginner/10693 "2019-08-06T04:34:53Z")

</div>

Hi, my code is below :slight\_smile: Water drop; Water \[\] drops = new Water\[300\]; void setup() { size(600, 400); for (int i = 0; i \< drops.length; i++) { drops\[i\] = new Water(); } } void draw() { backgroun…

---

## [Hooray! New hint() documentation is available!](https://discourse.processing.org/t/hooray-new-hint-documentation-is-available/13056)

<div class="topic-metadata">

**Author:** [@villares](https://discourse.processing.org/u/villares)\
**Replies:** 1\
**Last updated:** [August 5, 2019, 11:06pm UTC](https://discourse.processing.org/t/hooray-new-hint-documentation-is-available/13056 "2019-08-05T23:06:41Z")

</div>

Thanks to Casey we now have a new reference page for hint() and related arcane constants: https://processing.org/reference/hint\_.html This is specially useful for those working with P3D, and otherwise for people who wa…

---

## [Library that allows for mouse control](https://discourse.processing.org/t/library-that-allows-for-mouse-control/12969)

<div class="topic-metadata">

**Author:** [@WeinSim](https://discourse.processing.org/u/WeinSim)\
**Replies:** 7\
**Last updated:** [August 5, 2019, 10:58pm UTC](https://discourse.processing.org/t/library-that-allows-for-mouse-control/12969 "2019-08-05T22:58:42Z")

</div>

Ok, so I wanted to know wether there is some library that allows you to control what the mouse does (which buttons are being pressed and where it moves). I think I’ve seen something like this in c# or something idk and w…

---

## [Detect the state of the wifi](https://discourse.processing.org/t/detect-the-state-of-the-wifi/13021)

<div class="topic-metadata">

**Author:** [@hugo](https://discourse.processing.org/u/hugo)\
**Replies:** 1\
**Last updated:** [August 5, 2019, 10:44pm UTC](https://discourse.processing.org/t/detect-the-state-of-the-wifi/13021 "2019-08-05T22:44:46Z")

</div>

Hello, I would like to change the background depending on the state of the wifi : if (//wifi is activated\\\\) { background(0,255,0); } else { background(255,0,0); } What should we put in place of “//wifi is acti…

---

## [Help with logic in saving tables](https://discourse.processing.org/t/help-with-logic-in-saving-tables/13178)

<div class="topic-metadata">

**Author:** [@plux](https://discourse.processing.org/u/plux)\
**Replies:** 10\
**Last updated:** [August 5, 2019, 4:20pm UTC](https://discourse.processing.org/t/help-with-logic-in-saving-tables/13178 "2019-08-05T16:20:32Z")

</div>

Hi, I have a scriopt that receives data from an accelerometer through Arduino. I want to save these data in a csv file. The system works as follows: Processing generates a sequence of sine waves (stored in freqList\[\])…

---

## [Image/movie frame/capture frame pixel\[\] scan](https://discourse.processing.org/t/image-movie-frame-capture-frame-pixel-scan/13103)

<div class="topic-metadata">

**Author:** [@markcosmic](https://discourse.processing.org/u/markcosmic)\
**Replies:** 1\
**Last updated:** [August 5, 2019, 5:50am UTC](https://discourse.processing.org/t/image-movie-frame-capture-frame-pixel-scan/13103 "2019-08-05T05:50:49Z")

</div>

This pertains to image/movie frame/capture frame pixel\[\] scan. In the Coding Train examples Dan uses a nested FOR loop to check RGB values of each pixel. Within each loop the x/y coordinates are converted to pixel\[\] coo…

---

## [\[SOLVED\] Cannot open Processing - "No sketchbook" error](https://discourse.processing.org/t/solved-cannot-open-processing-no-sketchbook-error/6964)

<div class="topic-metadata">

**Author:** [@jhighmore](https://discourse.processing.org/u/jhighmore)\
**Replies:** 4\
**Last updated:** [August 5, 2019, 1:40am UTC](https://discourse.processing.org/t/solved-cannot-open-processing-no-sketchbook-error/6964 "2019-08-05T01:40:37Z")

</div>

Hi everyone, I’m brand new to Processing and am really excited to get stuck in, however I’ve fallen at the first hurdle! I’ve downloaded v3.4 for MacOS, extracted the zip and have moved the application to the Applicati…

---

## [Sending MIDI information to my DAW](https://discourse.processing.org/t/sending-midi-information-to-my-daw/5461)

<div class="topic-metadata">

**Author:** [@LordCacops](https://discourse.processing.org/u/LordCacops)\
**Replies:** 14\
**Last updated:** [August 4, 2019, 11:36pm UTC](https://discourse.processing.org/t/sending-midi-information-to-my-daw/5461 "2019-08-04T23:36:11Z")

</div>

Hello! I want to send data from my sketch into my DAW, more specifically, Logic Pro X, using the midiBus library, but I do not know how to access the appropriate midi channel to make this happen. When I create an Aggreg…

---

## [Storing multiple values of the mouse position in a class](https://discourse.processing.org/t/storing-multiple-values-of-the-mouse-position-in-a-class/13153)

<div class="topic-metadata">

**Author:** [@beardedalien](https://discourse.processing.org/u/beardedalien)\
**Replies:** 5\
**Last updated:** [August 4, 2019, 6:32pm UTC](https://discourse.processing.org/t/storing-multiple-values-of-the-mouse-position-in-a-class/13153 "2019-08-04T18:32:02Z")

</div>

Hello! I am trying to program a rectangular “layout” creator that allows the user to draw multiple rectangles across the screen referencing the initial mouse pressed and the following mouse released coordinates as values…

---

## [Editor problems](https://discourse.processing.org/t/editor-problems/13044)

<div class="topic-metadata">

**Author:** [@LivioR](https://discourse.processing.org/u/LivioR)\
**Replies:** 3\
**Last updated:** [August 4, 2019, 2:33pm UTC](https://discourse.processing.org/t/editor-problems/13044 "2019-08-04T14:33:14Z")

</div>

Hi, my name is Livio. I started using processing (Version 3.5.3 on Windows 10) a week ago. I noticed some problems in the editor: TAB does not allow to align the lines well. When I use getContent(), from class XM…

---

## [I need know vertex after rotate](https://discourse.processing.org/t/i-need-know-vertex-after-rotate/12719)

<div class="topic-metadata">

**Author:** [@NoName](https://discourse.processing.org/u/NoName)\
**Replies:** 21\
**Last updated:** [August 4, 2019, 2:10pm UTC](https://discourse.processing.org/t/i-need-know-vertex-after-rotate/12719 "2019-08-04T14:10:58Z")

</div>

How to find the coordinates of the already drawn Shape? More precisely, I need to know its vertex coordinates in order to work with them later. I would just count it from the point of creation, but I rotate it. Is the…

---

## [Apply video effect to every frame](https://discourse.processing.org/t/apply-video-effect-to-every-frame/11730)

<div class="topic-metadata">

**Author:** [@Cai](https://discourse.processing.org/u/Cai)\
**Replies:** 4\
**Last updated:** [August 4, 2019, 12:01am UTC](https://discourse.processing.org/t/apply-video-effect-to-every-frame/11730 "2019-08-04T00:01:36Z")

</div>

hey guys, I recently learned to create the dithering effect image no. 1 is the processed image image no. 2 is the original image … Its a lil heavy effect , So im unable to use it on videos and see it effect realtime. …

---

## [Line thickness in P3D](https://discourse.processing.org/t/line-thickness-in-p3d/12995)

<div class="topic-metadata">

**Author:** [@rapatski](https://discourse.processing.org/u/rapatski)\
**Replies:** 8\
**Last updated:** [August 3, 2019, 11:54pm UTC](https://discourse.processing.org/t/line-thickness-in-p3d/12995 "2019-08-03T23:54:26Z")

</div>

Hello everyone! Been a little while, and I enjoy exploring what Processing 3 has brought us. Have a rather simple question though transitioning from the old OpenGL way of thinking to the new P3D rendering – one being li…

---

## [Live counting small size particles in a video](https://discourse.processing.org/t/live-counting-small-size-particles-in-a-video/12953)

<div class="topic-metadata">

**Author:** [@Sruthi\_Krish](https://discourse.processing.org/u/Sruthi_Krish)\
**Replies:** 3\
**Last updated:** [August 3, 2019, 3:50pm UTC](https://discourse.processing.org/t/live-counting-small-size-particles-in-a-video/12953 "2019-08-03T15:50:10Z")

</div>

Hello Everyone ! I am trying to get the live count of particles in a particular video frame , which is of really small size upto 1mm. Kindly help me out with the blobscanner library and suggest me some methods to count…

---

## [Auto adjusting list](https://discourse.processing.org/t/auto-adjusting-list/13091)

<div class="topic-metadata">

**Author:** [@TrustyFox](https://discourse.processing.org/u/TrustyFox)\
**Replies:** 21\
**Last updated:** [August 3, 2019, 3:45pm UTC](https://discourse.processing.org/t/auto-adjusting-list/13091 "2019-08-03T15:45:57Z")

</div>

I’m trying to make a game kill feed in processing. It would have rectangles with text coming in from the top, every new rectangle would push down all the rectangles under it to make space. How should I go about making …

---

## [Simple code for alternate stroke, does not work](https://discourse.processing.org/t/simple-code-for-alternate-stroke-does-not-work/13054)

<div class="topic-metadata">

**Author:** [@Francisco](https://discourse.processing.org/u/Francisco)\
**Replies:** 9\
**Last updated:** [August 2, 2019, 10:36pm UTC](https://discourse.processing.org/t/simple-code-for-alternate-stroke-does-not-work/13054 "2019-08-02T22:36:15Z")

</div>

Processing does not detect errors, but alternates the first time and then stays that way all the time. void setup(){ size(500,400); fill(50,230,50); } void draw(){ background(200); stroke(0); rect(150,100,200…

---

## [Need name suggestion for press like event](https://discourse.processing.org/t/need-name-suggestion-for-press-like-event/13116)

<div class="topic-metadata">

**Author:** [@clankill3r](https://discourse.processing.org/u/clankill3r)\
**Replies:** 4\
**Last updated:** [August 2, 2019, 11:08am UTC](https://discourse.processing.org/t/need-name-suggestion-for-press-like-event/13116 "2019-08-02T11:08:45Z")

</div>

When having a button or toggle or check or whatever, the normal press behaviour is that if you press an element, that element keeps the focus and when moving the mouse no other press will start. To demonstrate it visual…

---

## [Processing 3 is not working properly](https://discourse.processing.org/t/processing-3-is-not-working-properly/13001)

<div class="topic-metadata">

**Author:** [@iaeliyen](https://discourse.processing.org/u/iaeliyen)\
**Replies:** 7\
**Last updated:** [August 2, 2019, 10:35am UTC](https://discourse.processing.org/t/processing-3-is-not-working-properly/13001 "2019-08-02T10:35:16Z")

</div>

Recently, I uninstalled few programs(Including Java stuffs) and app on my laptop and after few days I opened processing 3.3.6, it just show this for a minute and then goes off and after a while(10 - 20 minutes) sketch…

---

## [Image Processing program running just fine- added in variables and freezes](https://discourse.processing.org/t/image-processing-program-running-just-fine-added-in-variables-and-freezes/13132)

<div class="topic-metadata">

**Author:** [@eric](https://discourse.processing.org/u/eric)\
**Replies:** 3\
**Last updated:** [August 2, 2019, 9:52am UTC](https://discourse.processing.org/t/image-processing-program-running-just-fine-added-in-variables-and-freezes/13132 "2019-08-02T09:52:17Z")

</div>

I was tidying up my first ever program (that worked), wanting to make it adjust to different circumstances like any good code is able to do, I recognized numbers that were being used more than once in the same context an…

---

## [Processing face detection?](https://discourse.processing.org/t/processing-face-detection/10544)

<div class="topic-metadata">

**Author:** [@nothingnew](https://discourse.processing.org/u/nothingnew)\
**Replies:** 3\
**Last updated:** [August 2, 2019, 2:20am UTC](https://discourse.processing.org/t/processing-face-detection/10544 "2019-08-02T02:20:36Z")

</div>

Hello! I am working on my school project and thinking of using face (mouth) detection in processing. I have searched few days, but I am not sure if processing can do mouth open and close detection. Is there any way to …

---

## [Simple OpenNI Error opening database/parameters](https://discourse.processing.org/t/simple-openni-error-opening-database-parameters/12637)

<div class="topic-metadata">

**Author:** [@QueenBee](https://discourse.processing.org/u/QueenBee)\
**Replies:** 3\
**Last updated:** [August 2, 2019, 12:31am UTC](https://discourse.processing.org/t/simple-openni-error-opening-database-parameters/12637 "2019-08-02T00:31:48Z")

</div>

Hi! I’ve just come back to a project I was working on a month or two ago, and while it was working fine back then (and I haven’t messed with the folders it exists in), any sketch that involves Simple OpenNI comes up wit…

---

## [Map lat lng to a portion of the world map](https://discourse.processing.org/t/map-lat-lng-to-a-portion-of-the-world-map/13124)

<div class="topic-metadata">

**Author:** [@l-arc-en-ciel](https://discourse.processing.org/u/l-arc-en-ciel)\
**Replies:** 2\
**Last updated:** [August 2, 2019, 12:29am UTC](https://discourse.processing.org/t/map-lat-lng-to-a-portion-of-the-world-map/13124 "2019-08-02T00:29:09Z")

</div>

Hello, I want to project GPS coordinates on a screen of a specific size. This screen must not be representing the entire world map, but a small portion, something like 200 meters x 100 meters at a certain place . This …

---

## [Filling a vertex shape](https://discourse.processing.org/t/filling-a-vertex-shape/13099)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 12\
**Last updated:** [August 1, 2019, 8:59pm UTC](https://discourse.processing.org/t/filling-a-vertex-shape/13099 "2019-08-01T20:59:50Z")

</div>

Hi im attempting to create complex shapes using a ray casting and the vertex function to fill the space that the light touches as opposed to simply drawing the lines. At the moment the code works fine but requires me to …

---

## [Machine Vision - Detecting circles (OpenCV)](https://discourse.processing.org/t/machine-vision-detecting-circles-opencv/3776)

<div class="topic-metadata">

**Author:** [@Palmhoej](https://discourse.processing.org/u/Palmhoej)\
**Replies:** 12\
**Last updated:** [August 1, 2019, 7:08pm UTC](https://discourse.processing.org/t/machine-vision-detecting-circles-opencv/3776 "2019-08-01T19:08:28Z")

</div>

So i am trying to detect some test tubes with a webcam, so i can pick them up using a robot. I have successfully detected the straight lines and from there i can get the position and orientation of the line. For this tas…

---

## [Reveal bg image with circle following mouse](https://discourse.processing.org/t/reveal-bg-image-with-circle-following-mouse/13102)

<div class="topic-metadata">

**Author:** [@harkusch](https://discourse.processing.org/u/harkusch)\
**Replies:** 5\
**Last updated:** [August 1, 2019, 2:26pm UTC](https://discourse.processing.org/t/reveal-bg-image-with-circle-following-mouse/13102 "2019-08-01T14:26:57Z")

</div>

i have two layers, both are flat pictures. i want to uncover the lower picture with the mouse pointer. an circle has to follow the mouse. \>\>\>\> that’s what I´ve got right now. PVector theBallPosition; PVector theBallVelo…

---

## [Calling a String Array to name a new integer array](https://discourse.processing.org/t/calling-a-string-array-to-name-a-new-integer-array/13080)

<div class="topic-metadata">

**Author:** [@mpn702](https://discourse.processing.org/u/mpn702)\
**Replies:** 4\
**Last updated:** [August 1, 2019, 2:25pm UTC](https://discourse.processing.org/t/calling-a-string-array-to-name-a-new-integer-array/13080 "2019-08-01T14:25:31Z")

</div>

I’m trying to write a loop that will generate a collection of new integer arrays based on the elements in a string ArrayList, but unfortunately Processing is having trouble calling the ArrayList in the definition of each…

---

## [oscP5 not loading within 5 seconds](https://discourse.processing.org/t/oscp5-not-loading-within-5-seconds/12765)

<div class="topic-metadata">

**Author:** [@cwbiggs](https://discourse.processing.org/u/cwbiggs)\
**Replies:** 3\
**Last updated:** [July 19, 2019, 7:53pm UTC](https://discourse.processing.org/t/oscp5-not-loading-within-5-seconds/12765 "2019-07-19T19:53:08Z")

</div>

The oscP5 loading process is taking longer than 5 seconds and therefore the sketch will not run. There is nothing else significant in setup() that would be causing the delay. It works on three computers, but not the comp…

---

## [How to print double quotes](https://discourse.processing.org/t/how-to-print-double-quotes/13106)

<div class="topic-metadata">

**Author:** [@GuilhermeVolker](https://discourse.processing.org/u/GuilhermeVolker)\
**Replies:** 3\
**Last updated:** [August 1, 2019, 11:02am UTC](https://discourse.processing.org/t/how-to-print-double-quotes/13106 "2019-08-01T11:02:01Z")

</div>

Hi! I have to print an html stuff which contains double quotes, how to do that in processing?? (I have searched in processing reference but there doesn’t say anything about that) I have to print this text: \<?xml vers…

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

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