# Latest

**URL:** https://discourse.processing.org/latest.md?no_subcategories=false&page=581

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

**Page:** 582

---

## [Processing for Production Deployment/Development](https://discourse.processing.org/t/processing-for-production-deployment-development/3828)

<div class="topic-metadata">

**Author:** [@dpnkrg](https://discourse.processing.org/u/dpnkrg)\
**Replies:** 3\
**Last updated:** [September 26, 2018, 5:15pm UTC](https://discourse.processing.org/t/processing-for-production-deployment-development/3828 "2018-09-26T17:15:48Z")

</div>

Hi, I am totally new to processing and right now just exploring about processing tool. Can i use this for Production Deployment/Development purpose. Or this tool is just for learning only.

---

## [\[SOLVED\] Can't put int i in if statement in for loop- Help!](https://discourse.processing.org/t/solved-cant-put-int-i-in-if-statement-in-for-loop-help/3848)

<div class="topic-metadata">

**Author:** [@Dinator14](https://discourse.processing.org/u/Dinator14)\
**Replies:** 2\
**Last updated:** [September 26, 2018, 12:24pm UTC](https://discourse.processing.org/t/solved-cant-put-int-i-in-if-statement-in-for-loop-help/3848 "2018-09-26T12:24:33Z")

</div>

I get the error variable i doesn’t exist and I’m not sure why. Without the if statement I don’t get errors. I’m pretty sure I’ve also seen the use of if statements and whatever int was in the for loop used in the if so I…

---

## [Bending a PShape object to make it circular](https://discourse.processing.org/t/bending-a-pshape-object-to-make-it-circular/3640)

<div class="topic-metadata">

**Author:** [@solub](https://discourse.processing.org/u/solub)\
**Replies:** 16\
**Last updated:** [September 26, 2018, 8:40am UTC](https://discourse.processing.org/t/bending-a-pshape-object-to-make-it-circular/3640 "2018-09-26T08:40:15Z")

</div>

Hi everyone, The title says it all, I’d like to bend a PShape object to give it a circular shape: I tried to project the vertices around a circle (circular translation) but it didn’t work: Questions: Is it the cor…

---

## [How to remove powerline noise from ecg signal](https://discourse.processing.org/t/how-to-remove-powerline-noise-from-ecg-signal/3815)

<div class="topic-metadata">

**Author:** [@siriusng](https://discourse.processing.org/u/siriusng)\
**Replies:** 3\
**Last updated:** [September 26, 2018, 7:29am UTC](https://discourse.processing.org/t/how-to-remove-powerline-noise-from-ecg-signal/3815 "2018-09-26T07:29:52Z")

</div>

Hello everyone! I’m new in processing. I would get ECG signal using ArduinoUno and AD3282 board. I get sketch from github and run my project. However, when I run processing programme, here appear power line noise (it w…

---

## [\[SOLVED\] How do you redraw over this pixel array?](https://discourse.processing.org/t/solved-how-do-you-redraw-over-this-pixel-array/3749)

<div class="topic-metadata">

**Author:** [@ProsExplorer](https://discourse.processing.org/u/ProsExplorer)\
**Replies:** 1\
**Last updated:** [September 26, 2018, 6:04am UTC](https://discourse.processing.org/t/solved-how-do-you-redraw-over-this-pixel-array/3749 "2018-09-26T06:04:24Z")

</div>

Hello all, I’m trying to redraw over this 2D pixel array of this program. // main setup settings int dimy = 800; // screen width 1681 int dimx = 850; //screen height 1019 int bailout = 2000; …

---

## [What's possible with ellipse()?](https://discourse.processing.org/t/whats-possible-with-ellipse/3462)

<div class="topic-metadata">

**Author:** [@HackinHarry](https://discourse.processing.org/u/HackinHarry)\
**Replies:** 17\
**Last updated:** [September 26, 2018, 5:37am UTC](https://discourse.processing.org/t/whats-possible-with-ellipse/3462 "2018-09-26T05:37:48Z")

</div>

I play around with celestial navigation and processing to visualize things, some involve lots of trig. What I’ve used so far is shapes3d to build spheres, as in celestial sphere or earth sphere, then plot points for sta…

---

## [Anyone have any Improvements?](https://discourse.processing.org/t/anyone-have-any-improvements/3812)

<div class="topic-metadata">

**Author:** [@Godemperor949](https://discourse.processing.org/u/Godemperor949)\
**Replies:** 12\
**Last updated:** [September 25, 2018, 10:42pm UTC](https://discourse.processing.org/t/anyone-have-any-improvements/3812 "2018-09-25T22:42:13Z")

</div>

//Jeopardy, by Isaiah Johnson. PFont digits;//font Cell\[\] grid; //makes each individual cells int cols; //how many colloms int rows; // how many rows int numA=0;// number of questions answered int p;// the cell that was …

---

## [\[SOLVED\] Importing other Processing classes](https://discourse.processing.org/t/solved-importing-other-processing-classes/3708)

<div class="topic-metadata">

**Author:** [@delsey](https://discourse.processing.org/u/delsey)\
**Replies:** 7\
**Last updated:** [September 25, 2018, 8:46pm UTC](https://discourse.processing.org/t/solved-importing-other-processing-classes/3708 "2018-09-25T20:46:40Z")

</div>

Hello, this question might seem very blatant but I could’t figure it out by googleing and searching the forums. I would like to sort the different classes in subfolders of the project (eg. gui, algorithm) and then impor…

---

## [How can I get center point of each a bunch of red points](https://discourse.processing.org/t/how-can-i-get-center-point-of-each-a-bunch-of-red-points/3823)

<div class="topic-metadata">

**Author:** [@leereset](https://discourse.processing.org/u/leereset)\
**Replies:** 5\
**Last updated:** [September 25, 2018, 8:28pm UTC](https://discourse.processing.org/t/how-can-i-get-center-point-of-each-a-bunch-of-red-points/3823 "2018-09-25T20:28:23Z")

</div>

Hi I’m using processing to make some good project. explanation of project: Detect hand based on depth and draw the circle on each hand. Progress: I can find center but there’s issue. If two bunch of pixels exist, i…

---

## [Frame rate logic in draw -- locating it in the source code](https://discourse.processing.org/t/frame-rate-logic-in-draw-locating-it-in-the-source-code/3840)

<div class="topic-metadata">

**Author:** [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Replies:** 1\
**Last updated:** [September 25, 2018, 7:02pm UTC](https://discourse.processing.org/t/frame-rate-logic-in-draw-locating-it-in-the-source-code/3840 "2018-09-25T19:02:39Z")

</div>

I am trying to track down the code that Processing uses to change the frameRate() into decisions about when to lag or speed up individual frame start times – including where the default frameRate() goal is stored, how it…

---

## [Stereo output w. Minim](https://discourse.processing.org/t/stereo-output-w-minim/3837)

<div class="topic-metadata">

**Author:** [@jeppius](https://discourse.processing.org/u/jeppius)\
**Replies:** 0\
**Last updated:** [September 25, 2018, 6:12pm UTC](https://discourse.processing.org/t/stereo-output-w-minim/3837 "2018-09-25T18:12:53Z")

</div>

Hi, what would be the general approach to send audio independently to either the Right or the Left channel of an AudioOutput object?

---

## [\[RESOLVED\] Unable to build for mac](https://discourse.processing.org/t/resolved-unable-to-build-for-mac/3756)

<div class="topic-metadata">

**Author:** [@Bunnygamers](https://discourse.processing.org/u/Bunnygamers)\
**Replies:** 4\
**Last updated:** [September 25, 2018, 5:55pm UTC](https://discourse.processing.org/t/resolved-unable-to-build-for-mac/3756 "2018-09-25T17:55:40Z")

</div>

I made a small thing using processing 3.3.7 on Windows 10 (32bit) but I can't seem to build for mac (checkbox for mac is grey), can someone help

---

## [Recursively delete directory](https://discourse.processing.org/t/recursively-delete-directory/3766)

<div class="topic-metadata">

**Author:** [@elaner](https://discourse.processing.org/u/elaner)\
**Replies:** 3\
**Last updated:** [September 25, 2018, 5:41pm UTC](https://discourse.processing.org/t/recursively-delete-directory/3766 "2018-09-25T17:41:33Z")

</div>

I need to delete a directory that has files in it. Anyone have code to do this? I have tried a number of Java routines I found online but without luck.

---

## [Feedback on my code](https://discourse.processing.org/t/feedback-on-my-code/3764)

<div class="topic-metadata">

**Author:** [@jonaspower](https://discourse.processing.org/u/jonaspower)\
**Replies:** 7\
**Last updated:** [September 25, 2018, 5:35pm UTC](https://discourse.processing.org/t/feedback-on-my-code/3764 "2018-09-25T17:35:16Z")

</div>

Hi im new to processing and i have made this program (Its a timer/alarm) here is the code (probably doesnt work because of the sound thing but to make it work remember to have the sound and put a file next to the code c…

---

## [\[SOLVED\] \[Cp5\] Do something as textfield loses focus](https://discourse.processing.org/t/solved-cp5-do-something-as-textfield-loses-focus/3757)

<div class="topic-metadata">

**Author:** [@delsey](https://discourse.processing.org/u/delsey)\
**Replies:** 3\
**Last updated:** [September 25, 2018, 5:11pm UTC](https://discourse.processing.org/t/solved-cp5-do-something-as-textfield-loses-focus/3757 "2018-09-25T17:11:22Z")

</div>

I would like to check the value of cp5 textfields as soon as they lose focus. The only thing I found regarding this, it that textfields have an .isFocus() method, but I cant think of a smart way to utilize this. You wou…

---

## [Rotate Camera around it's own axis](https://discourse.processing.org/t/rotate-camera-around-its-own-axis/3774)

<div class="topic-metadata">

**Author:** [@Keheck](https://discourse.processing.org/u/Keheck)\
**Replies:** 1\
**Last updated:** [September 25, 2018, 4:56pm UTC](https://discourse.processing.org/t/rotate-camera-around-its-own-axis/3774 "2018-09-25T16:56:53Z")

</div>

I’d like to know if there is a way to rotate a 3D camera atound it’s own axis. I want to create a 3D game like Minecraft and for that I of course need to make the camera be rotatable I tried following code (unnecessary c…

---

## [Is it possible to mix vertex() and curveVertex() in one shape yet?](https://discourse.processing.org/t/is-it-possible-to-mix-vertex-and-curvevertex-in-one-shape-yet/3830)

<div class="topic-metadata">

**Author:** [@adamherst](https://discourse.processing.org/u/adamherst)\
**Replies:** 0\
**Last updated:** [September 25, 2018, 2:34pm UTC](https://discourse.processing.org/t/is-it-possible-to-mix-vertex-and-curvevertex-in-one-shape-yet/3830 "2018-09-25T14:34:29Z")

</div>

I’ve found an old discussion saying that this is possible in processing but wasn’t possible in p5 (https://github.com/processing/p5.js/issues/906). I also think I found a discussion saying that a patch for this had been…

---

## [Problem with running processing android app in external device](https://discourse.processing.org/t/problem-with-running-processing-android-app-in-external-device/1806)

<div class="topic-metadata">

**Author:** [@megaMind432](https://discourse.processing.org/u/megaMind432)\
**Replies:** 2\
**Last updated:** [September 25, 2018, 1:47pm UTC](https://discourse.processing.org/t/problem-with-running-processing-android-app-in-external-device/1806 "2018-09-25T13:47:09Z")

</div>

Howdy, I’m trying to build a simple App in processing and run it on my device samsung… In procesing console I am getting the following error. I’m not even sure what information would be useful in debugging this. Can y…

---

## [Generative code](https://discourse.processing.org/t/generative-code/3725)

<div class="topic-metadata">

**Author:** [@mturel](https://discourse.processing.org/u/mturel)\
**Replies:** 4\
**Last updated:** [September 25, 2018, 5:44am UTC](https://discourse.processing.org/t/generative-code/3725 "2018-09-25T05:44:04Z")

</div>

Hi, I’m a beginner at coding and I’m wondering if anyone could help me with some code I’m writing. I have a bunch of seed vector files that I would like the code to randomly overlay zoom in, rotate to create new pieces …

---

## [Integrating Processing to Sublime](https://discourse.processing.org/t/integrating-processing-to-sublime/2225)

<div class="topic-metadata">

**Author:** [@Quillbert1](https://discourse.processing.org/u/Quillbert1)\
**Replies:** 16\
**Last updated:** [August 9, 2018, 1:25am UTC](https://discourse.processing.org/t/integrating-processing-to-sublime/2225 "2018-08-09T01:25:37Z")

</div>

I was trying to use processing-java to open a processing sketch. I am running windows 10 and processing 3.3.7. I right clicked and used the open with menu to select the processing-java. Am I using processing-java correct…

---

## [The Somewhat Possible Game by Kristoffer Pauly](https://discourse.processing.org/t/the-somewhat-possible-game-by-kristoffer-pauly/3739)

<div class="topic-metadata">

**Author:** [@tefa](https://discourse.processing.org/u/tefa)\
**Replies:** 3\
**Last updated:** [September 25, 2018, 2:42am UTC](https://discourse.processing.org/t/the-somewhat-possible-game-by-kristoffer-pauly/3739 "2018-09-25T02:42:08Z")

</div>

Hello Dear Processors, I found an awesome game I want to learn from https://www.dropbox.com/s/6yvuv1i84u41j0m/The\_Somewhat\_Possible\_Game.zip?dl=0 but it is throwing an ArrayIndexOutOfBoundsException: 3 error and highligh…

---

## [I am unable to properly rotate](https://discourse.processing.org/t/i-am-unable-to-properly-rotate/3737)

<div class="topic-metadata">

**Author:** [@willianxz](https://discourse.processing.org/u/willianxz)\
**Replies:** 4\
**Last updated:** [September 25, 2018, 2:06am UTC](https://discourse.processing.org/t/i-am-unable-to-properly-rotate/3737 "2018-09-25T02:06:43Z")

</div>

Hello my friends, I am trying to apply the rotation technique of my drawing, but I am not able to make the drawing rotate without leaving the place. I remember that to effect this technique I have to pass the width / 2 …

---

## [Async in p5.js editor](https://discourse.processing.org/t/async-in-p5-js-editor/3772)

<div class="topic-metadata">

**Author:** [@Lillbre](https://discourse.processing.org/u/Lillbre)\
**Replies:** 4\
**Last updated:** [September 24, 2018, 9:43pm UTC](https://discourse.processing.org/t/async-in-p5-js-editor/3772 "2018-09-24T21:43:06Z")

</div>

I’m “coding along” with The Coding Train 7.11: TensorFlow.js but when I want to use async/await in the editor I get an error. Is it not possible to use async in that editor or is there something I have to add for making…

---

## [Null pointer when accessing variable from another class](https://discourse.processing.org/t/null-pointer-when-accessing-variable-from-another-class/3702)

<div class="topic-metadata">

**Author:** [@ddownn](https://discourse.processing.org/u/ddownn)\
**Replies:** 3\
**Last updated:** [September 20, 2018, 7:45pm UTC](https://discourse.processing.org/t/null-pointer-when-accessing-variable-from-another-class/3702 "2018-09-20T19:45:10Z")

</div>

Okay, I’m having another learning experience here. I don’t know what’s going wrong with this. I’m experimenting with how classes work together, and how to pass data between them. When I run this code, I get a NullPointe…

---

## [Repeat lines until an event happens](https://discourse.processing.org/t/repeat-lines-until-an-event-happens/3753)

<div class="topic-metadata">

**Author:** [@Schred](https://discourse.processing.org/u/Schred)\
**Replies:** 4\
**Last updated:** [September 24, 2018, 3:07pm UTC](https://discourse.processing.org/t/repeat-lines-until-an-event-happens/3753 "2018-09-24T15:07:58Z")

</div>

Hello, I’m new here, and I’m simply searching for a way to repeat a line of code unlimited times (in one draw passing) until the wanted event happens. Is there any way to do so?

---

## [Restart sketch for keyboard event](https://discourse.processing.org/t/restart-sketch-for-keyboard-event/3357)

<div class="topic-metadata">

**Author:** [@KTibow](https://discourse.processing.org/u/KTibow)\
**Replies:** 18\
**Last updated:** [September 24, 2018, 2:25pm UTC](https://discourse.processing.org/t/restart-sketch-for-keyboard-event/3357 "2018-09-24T14:25:52Z")

</div>

My code has a function that opens and closes the keyboard. I want it to be so that the sketch restarts or at least the dimensions change. I’m happy to provide more info if anybody needs.

---

## [Simple send and receive via bluetooth](https://discourse.processing.org/t/simple-send-and-receive-via-bluetooth/3788)

<div class="topic-metadata">

**Author:** [@gonadgranny](https://discourse.processing.org/u/gonadgranny)\
**Replies:** 1\
**Last updated:** [September 24, 2018, 2:22pm UTC](https://discourse.processing.org/t/simple-send-and-receive-via-bluetooth/3788 "2018-09-24T14:22:56Z")

</div>

Hi there. I am trying to talk to my arduino from my android device via bluetooth.ideally i would like to be able to send data via serial like in the desktop processing environment but i have not yet found a way to do thi…

---

## [How to use the Processing XML class in other Java Editors?](https://discourse.processing.org/t/how-to-use-the-processing-xml-class-in-other-java-editors/3700)

<div class="topic-metadata">

**Author:** [@Paul94](https://discourse.processing.org/u/Paul94)\
**Replies:** 3\
**Last updated:** [September 24, 2018, 1:28pm UTC](https://discourse.processing.org/t/how-to-use-the-processing-xml-class-in-other-java-editors/3700 "2018-09-24T13:28:48Z")

</div>

Hello, I want to use the XML class in BlueJ but it doesn’t work. I have tried several others like PFont for example which does work. As I found out the class XML is part of the core library.

---

## [Emulator - Access to "Download phone system image?" window](https://discourse.processing.org/t/emulator-access-to-download-phone-system-image-window/3782)

<div class="topic-metadata">

**Author:** [@Markus](https://discourse.processing.org/u/Markus)\
**Replies:** 3\
**Last updated:** [September 24, 2018, 1:25pm UTC](https://discourse.processing.org/t/emulator-access-to-download-phone-system-image-window/3782 "2018-09-24T13:25:45Z")

</div>

Followed … tutorials/getting\_started … Reached “Download phone system image?” window. Download failed - of course not Processing’s fault. Problem now: When I restart Processing, this window will not show up again. …

---

## [\[SOLVED\] Problems with PVectors](https://discourse.processing.org/t/solved-problems-with-pvectors/3715)

<div class="topic-metadata">

**Author:** [@OrigamiBoy](https://discourse.processing.org/u/OrigamiBoy)\
**Replies:** 2\
**Last updated:** [September 24, 2018, 1:23pm UTC](https://discourse.processing.org/t/solved-problems-with-pvectors/3715 "2018-09-24T13:23:01Z")

</div>

Hey all, I am having some problems with changing the values with PVectors. Here is my code: Rocket rocket = new Rocket(); void keyPressed() { switch(key) { case 'w': rocket.up(); case 's': rocket.dow…

[Previous page](https://discourse.processing.org/latest.md?no_subcategories=false&page=580)

[Next page](https://discourse.processing.org/latest.md?no_subcategories=false&page=582)
