# Processing

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

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

**Page:** 297

---

## [How to fix my scoring code and how to input a game over feature/screen when the ball hit the ground?](https://discourse.processing.org/t/how-to-fix-my-scoring-code-and-how-to-input-a-game-over-feature-screen-when-the-ball-hit-the-ground/11402)

<div class="topic-metadata">

**Author:** [@grodothefrog](https://discourse.processing.org/u/grodothefrog)\
**Replies:** 34\
**Last updated:** [May 23, 2019, 10:09am UTC](https://discourse.processing.org/t/how-to-fix-my-scoring-code-and-how-to-input-a-game-over-feature-screen-when-the-ball-hit-the-ground/11402 "2019-05-23T10:09:46Z")

</div>

Hello, I’ve wondering of how I want my ball to score into the brown box and how to make a ball disappear upon collision with the brown box to score a goal. And how to place a game over feature/screen when the ball it the…

---

## [Save Arduino input in array, and THEN plot it](https://discourse.processing.org/t/save-arduino-input-in-array-and-then-plot-it/11499)

<div class="topic-metadata">

**Author:** [@Runzolf](https://discourse.processing.org/u/Runzolf)\
**Replies:** 3\
**Last updated:** [May 23, 2019, 2:31am UTC](https://discourse.processing.org/t/save-arduino-input-in-array-and-then-plot-it/11499 "2019-05-23T02:31:21Z")

</div>

So I’m getting quite mad not being able to accomplish something so easy. I’ve an Arduino sending various values through the serial port. The values appearing are for example 152,0,140,92,53…etc. I’d like to just save f…

---

## [Heat Mapping Solutions](https://discourse.processing.org/t/heat-mapping-solutions/11424)

<div class="topic-metadata">

**Author:** [@davidbambalan](https://discourse.processing.org/u/davidbambalan)\
**Replies:** 3\
**Last updated:** [May 23, 2019, 1:47am UTC](https://discourse.processing.org/t/heat-mapping-solutions/11424 "2019-05-23T01:47:44Z")

</div>

Are there any solutions to creating a heat map from collected data (i.e., gps location and temperature sensor), a library maybe? And the solution should be in real-time. Thanks! Here’s the code I found online but I don’…

---

## [Simulate a trigger as switch/case with the keyboard](https://discourse.processing.org/t/simulate-a-trigger-as-switch-case-with-the-keyboard/11420)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 5\
**Last updated:** [May 22, 2019, 11:51pm UTC](https://discourse.processing.org/t/simulate-a-trigger-as-switch-case-with-the-keyboard/11420 "2019-05-22T23:51:11Z")

</div>

Hi , I would like my program switch on the same case automatically, in order to actualise data from void draw. For the moment, I have to tap on the shift key to actualise the case ‘default’. In this way, each time I ta…

---

## [Export processing sketch with an image](https://discourse.processing.org/t/export-processing-sketch-with-an-image/11432)

<div class="topic-metadata">

**Author:** [@GuilhermeVolker](https://discourse.processing.org/u/GuilhermeVolker)\
**Replies:** 7\
**Last updated:** [May 22, 2019, 7:29pm UTC](https://discourse.processing.org/t/export-processing-sketch-with-an-image/11432 "2019-05-22T19:29:11Z")

</div>

I’d exported the sketch but on the folder doesen’t show the data folder (i’am using processing 3.5.3). Where should i put the images of my sketch?

---

## [Recursion Function or something different?](https://discourse.processing.org/t/recursion-function-or-something-different/11473)

<div class="topic-metadata">

**Author:** [@champagnepapi](https://discourse.processing.org/u/champagnepapi)\
**Replies:** 6\
**Last updated:** [May 22, 2019, 6:34pm UTC](https://discourse.processing.org/t/recursion-function-or-something-different/11473 "2019-05-22T18:34:22Z")

</div>

Hey, so I am fairly new to processing, my main area of interested is using processing to achieve effects which are primarily using typography. Recently I stumbled upon the following image —\> and it seems after a good…

---

## [\[SOLVED\] Kinect hands open close](https://discourse.processing.org/t/solved-kinect-hands-open-close/11391)

<div class="topic-metadata">

**Author:** [@dimpapadop](https://discourse.processing.org/u/dimpapadop)\
**Replies:** 3\
**Last updated:** [May 22, 2019, 4:41pm UTC](https://discourse.processing.org/t/solved-kinect-hands-open-close/11391 "2019-05-22T16:41:31Z")

</div>

Hallo, i am working on the following code to detect palm open or close. It ;s working quite nice. What i want to do is: On wave enable handtracking (it achieves it). When wave again (stop tracking) - not achieved. Seems…

---

## [MP3 track won't stop playing at the right time](https://discourse.processing.org/t/mp3-track-wont-stop-playing-at-the-right-time/11390)

<div class="topic-metadata">

**Author:** [@Sprocket](https://discourse.processing.org/u/Sprocket)\
**Replies:** 4\
**Last updated:** [May 20, 2019, 11:59am UTC](https://discourse.processing.org/t/mp3-track-wont-stop-playing-at-the-right-time/11390 "2019-05-20T11:59:58Z")

</div>

So this should have been super simple, and yet something is amiss! So I am using a supersonic range finder to trigger songs at different distances. The first track (player\[0\]) should come on when the sensor value is bet…

---

## [Fade in/out effect](https://discourse.processing.org/t/fade-in-out-effect/11483)

<div class="topic-metadata">

**Author:** [@clueless\_coder](https://discourse.processing.org/u/clueless_coder)\
**Replies:** 4\
**Last updated:** [May 22, 2019, 3:37pm UTC](https://discourse.processing.org/t/fade-in-out-effect/11483 "2019-05-22T15:37:03Z")

</div>

So I have this code and I’m trying to make the text fade in and out. I could make in fade in but I couldn’t make it fade out. Could anyone help me? int t=10; //transparency void setup() { size(200,200); } void draw() …

---

## [Save/restore system attribute](https://discourse.processing.org/t/save-restore-system-attribute/11364)

<div class="topic-metadata">

**Author:** [@timdoodle](https://discourse.processing.org/u/timdoodle)\
**Replies:** 5\
**Last updated:** [May 22, 2019, 12:24pm UTC](https://discourse.processing.org/t/save-restore-system-attribute/11364 "2019-05-22T12:24:02Z")

</div>

I see how to set the values for many system attributes, but I don’t see how to obtain the current value of a system attribute. For example, one can set the color to fill shapes via fill(), but how does one determine the …

---

## [Creating a new Tool - ArtStation](https://discourse.processing.org/t/creating-a-new-tool-artstation/8347)

<div class="topic-metadata">

**Author:** [@justindwilder](https://discourse.processing.org/u/justindwilder)\
**Replies:** 16\
**Last updated:** [May 22, 2019, 10:51am UTC](https://discourse.processing.org/t/creating-a-new-tool-artstation/8347 "2019-05-22T10:51:40Z")

</div>

Hello, I have created a tool I would like to share with the community, but I built it as a stand alone Java application. It functions in that respect, but I think that it would be most useful as a tool that you could acc…

---

## [Processing client SSL access](https://discourse.processing.org/t/processing-client-ssl-access/11443)

<div class="topic-metadata">

**Author:** [@pacolux](https://discourse.processing.org/u/pacolux)\
**Replies:** 1\
**Last updated:** [May 22, 2019, 8:18am UTC](https://discourse.processing.org/t/processing-client-ssl-access/11443 "2019-05-22T08:18:00Z")

</div>

I cannot seem to find any examples of using the processing client to access an SSL protected website. Here is my code. It just returns a 400 error. Is the Processing default client capable of doing SSL or should I l…

---

## [Can't seem to map latitude and longitude coordinates correctly in Processing 3](https://discourse.processing.org/t/cant-seem-to-map-latitude-and-longitude-coordinates-correctly-in-processing-3/734)

<div class="topic-metadata">

**Author:** [@bindaeduk](https://discourse.processing.org/u/bindaeduk)\
**Replies:** 9\
**Last updated:** [May 22, 2019, 6:21am UTC](https://discourse.processing.org/t/cant-seem-to-map-latitude-and-longitude-coordinates-correctly-in-processing-3/734 "2019-05-22T06:21:25Z")

</div>

Hi there, I’m trying to make a very basic Processing sketch, where I map out the latitude and longitude points that my watch tracks on my bike rides. I’m able to parse the XML data from the location source, and I’ve se…

---

## [Libraries | SVG Export on IntelliJ IDEA](https://discourse.processing.org/t/libraries-svg-export-on-intellij-idea/11410)

<div class="topic-metadata">

**Author:** [@Bizkit\_j](https://discourse.processing.org/u/Bizkit_j)\
**Replies:** 3\
**Last updated:** [May 22, 2019, 12:47am UTC](https://discourse.processing.org/t/libraries-svg-export-on-intellij-idea/11410 "2019-05-22T00:47:00Z")

</div>

Hello processing community. before I start, here is my environment: IntelliJ IDEA 2019.1 (Community Edition) Build #IC-191.6183.87, built on March 27, 2019 JRE: 1.8.0\_202-release-1483-b39 amd64 JVM: OpenJDK 64-Bit Serv…

---

## [Rotate and translate](https://discourse.processing.org/t/rotate-and-translate/11392)

<div class="topic-metadata">

**Author:** [@marcholman23](https://discourse.processing.org/u/marcholman23)\
**Replies:** 6\
**Last updated:** [May 21, 2019, 7:58pm UTC](https://discourse.processing.org/t/rotate-and-translate/11392 "2019-05-21T19:58:26Z")

</div>

Hi, I am working on learning how to rotate an image to follow the mouse using a formula from Keith Peters HTML5 Animation. I am curious why the following code does not rotate the image completely. It seems to only swi…

---

## [How loop 2 diferent images](https://discourse.processing.org/t/how-loop-2-diferent-images/11470)

<div class="topic-metadata">

**Author:** [@johnpt](https://discourse.processing.org/u/johnpt)\
**Replies:** 11\
**Last updated:** [May 21, 2019, 7:08pm UTC](https://discourse.processing.org/t/how-loop-2-diferent-images/11470 "2019-05-21T19:08:34Z")

</div>

Hey guys. I’m a student and I have a processing class. I have to do a game to pass. I just started and I can’t make one of the png image moving. So the clouds are moving to the right side, and I want the airplane to co…

---

## [Convert to array; then variable i does not exist error message](https://discourse.processing.org/t/convert-to-array-then-variable-i-does-not-exist-error-message/11426)

<div class="topic-metadata">

**Author:** [@debxyz](https://discourse.processing.org/u/debxyz)\
**Replies:** 13\
**Last updated:** [May 21, 2019, 2:22am UTC](https://discourse.processing.org/t/convert-to-array-then-variable-i-does-not-exist-error-message/11426 "2019-05-21T02:22:17Z")

</div>

I converted this from a single instance of each object to implement 2 arrays of multiple ball objects + donut objects. I get the error message the variable i does not exist. Both arrays have been initialized in setup()…

---

## [Mysql insert speed problem](https://discourse.processing.org/t/mysql-insert-speed-problem/9503)

<div class="topic-metadata">

**Author:** [@SandCrocus](https://discourse.processing.org/u/SandCrocus)\
**Replies:** 3\
**Last updated:** [May 21, 2019, 1:03am UTC](https://discourse.processing.org/t/mysql-insert-speed-problem/9503 "2019-05-21T01:03:56Z")

</div>

I used the de.bezier.data.sql. and processing.serial libary to get data from Arduino then save to MySql database. The transmission speed I get from Arduino is 0.02 second per record, however, I can only insert 10 records…

---

## [Video Library Capture doesn't work(ugly orange)](https://discourse.processing.org/t/video-library-capture-doesnt-work-ugly-orange/11387)

<div class="topic-metadata">

**Author:** [@EinsMalte](https://discourse.processing.org/u/EinsMalte)\
**Replies:** 4\
**Last updated:** [May 20, 2019, 8:51pm UTC](https://discourse.processing.org/t/video-library-capture-doesnt-work-ugly-orange/11387 "2019-05-20T20:51:03Z")

</div>

Greetings, i’m trying using the Capture feature of the video library, but the output is just a ugly orange(RGB: 255.0,128.0,64.0). And this is the complete output. And there isn’t any error or somethig like that. And i…

---

## [Processing's annotation processing is not consistent](https://discourse.processing.org/t/processings-annotation-processing-is-not-consistent/11354)

<div class="topic-metadata">

**Author:** [@macbrayne](https://discourse.processing.org/u/macbrayne)\
**Replies:** 1\
**Last updated:** [May 20, 2019, 7:16pm UTC](https://discourse.processing.org/t/processings-annotation-processing-is-not-consistent/11354 "2019-05-20T19:16:49Z")

</div>

Hi there, Processing (v3.5.3 on Windows 10) does not warn when using @Deprecated methods however a program can’t run if a @Override annotation doesn’t actually override anything. Behavior when using @Override and nothi…

---

## [Map function worked in Processing 2 and early 3.. But broke in 3.5.3. Need guidance](https://discourse.processing.org/t/map-function-worked-in-processing-2-and-early-3-but-broke-in-3-5-3-need-guidance/11371)

<div class="topic-metadata">

**Author:** [@ItchyBrain](https://discourse.processing.org/u/ItchyBrain)\
**Replies:** 8\
**Last updated:** [May 20, 2019, 4:22pm UTC](https://discourse.processing.org/t/map-function-worked-in-processing-2-and-early-3-but-broke-in-3-5-3-need-guidance/11371 "2019-05-20T16:22:27Z")

</div>

Hi. This exact code worked in Processing versions 2 and and earlier version of 3. I upgraded to 3.5.3 . Since upgrading my HP laptop to Processing 3.5.3 I now get the error: (note: I have another laptop still running P…

---

## [mouseWheel event.getCount OS difference](https://discourse.processing.org/t/mousewheel-event-getcount-os-difference/11378)

<div class="topic-metadata">

**Author:** [@mala](https://discourse.processing.org/u/mala)\
**Replies:** 11\
**Last updated:** [May 20, 2019, 1:10pm UTC](https://discourse.processing.org/t/mousewheel-event-getcount-os-difference/11378 "2019-05-20T13:10:45Z")

</div>

Has anyone any insight into why getCount on the mousewheel returns differently on OSX(10.14) to Windows(10) ? On OSX the code below will return a range from -12 to 12 dependent on how far the wheel is scrolled. On Wind…

---

## [Ping Pong Arduino program](https://discourse.processing.org/t/ping-pong-arduino-program/11333)

<div class="topic-metadata">

**Author:** [@S.L.C.S](https://discourse.processing.org/u/S.L.C.S)\
**Replies:** 3\
**Last updated:** [May 20, 2019, 12:20pm UTC](https://discourse.processing.org/t/ping-pong-arduino-program/11333 "2019-05-20T12:20:24Z")

</div>

So i was asked to make an Arduino program which simulates ping pong on your LEDs. Each LED should light up in succession, then the lit LED should “bounce back” in the opposite direction when the last LED is reached. This…

---

## [G4P closing main window](https://discourse.processing.org/t/g4p-closing-main-window/11411)

<div class="topic-metadata">

**Author:** [@azsdx123](https://discourse.processing.org/u/azsdx123)\
**Replies:** 0\
**Last updated:** [May 20, 2019, 8:10am UTC](https://discourse.processing.org/t/g4p-closing-main-window/11411 "2019-05-20T08:10:41Z")

</div>

Hi i was wondering how to close the main window when pressing a button.

---

## [Processing and pcduino3b problem](https://discourse.processing.org/t/processing-and-pcduino3b-problem/11269)

<div class="topic-metadata">

**Author:** [@ben](https://discourse.processing.org/u/ben)\
**Replies:** 5\
**Last updated:** [May 20, 2019, 4:55am UTC](https://discourse.processing.org/t/processing-and-pcduino3b-problem/11269 "2019-05-20T04:55:24Z")

</div>

hello! I have a problem to use processing, When i run it, the result is : If you know the issue, thanks a lot ! Caught handled GLException: EGLGLXDrawableFactory - Could not initialize shared resources for EGLGraphic…

---

## [Box2D coordinate conversion issue](https://discourse.processing.org/t/box2d-coordinate-conversion-issue/10986)

<div class="topic-metadata">

**Author:** [@Bizkit\_j](https://discourse.processing.org/u/Bizkit_j)\
**Replies:** 2\
**Last updated:** [May 20, 2019, 3:40am UTC](https://discourse.processing.org/t/box2d-coordinate-conversion-issue/10986 "2019-05-20T03:40:44Z")

</div>

Hello Processing community. I am following the most popular and the greatest coding teacher, Daniel Shiffman on youtube now. Currently, I am on the Box2D chapters. While I am playing with PBox2D, found one issue which …

---

## [Time delay issue](https://discourse.processing.org/t/time-delay-issue/11398)

<div class="topic-metadata">

**Author:** [@fewy](https://discourse.processing.org/u/fewy)\
**Replies:** 2\
**Last updated:** [May 20, 2019, 1:19am UTC](https://discourse.processing.org/t/time-delay-issue/11398 "2019-05-20T01:19:50Z")

</div>

I’ve just started learing how to program in processing a couple of days ago and the nxtlvl function gets to be called when 5 points are reached, which means a level is completed. My problem is that the pause() function i…

---

## [Processing, button, void](https://discourse.processing.org/t/processing-button-void/11199)

<div class="topic-metadata">

**Author:** [@macabol](https://discourse.processing.org/u/macabol)\
**Replies:** 31\
**Last updated:** [May 20, 2019, 12:44am UTC](https://discourse.processing.org/t/processing-button-void/11199 "2019-05-20T00:44:00Z")

</div>

Hello everyone I have a presentation of a computer game and my program works very well but when I have to add a button there is a problem with void reset. I will need your help please to be able to add a menu with a butt…

---

## [ArrayList issue?](https://discourse.processing.org/t/arraylist-issue/11323)

<div class="topic-metadata">

**Author:** [@p4stoboy](https://discourse.processing.org/u/p4stoboy)\
**Replies:** 5\
**Last updated:** [May 19, 2019, 10:36pm UTC](https://discourse.processing.org/t/arraylist-issue/11323 "2019-05-19T22:36:39Z")

</div>

I have this Female class that has an array of coordinates, the move() method adds those coordinates to the Female’s location every tick to move the object etc. etc. My issue is that I have an arrayList full of these obje…

---

## [Game with Processing for the novice](https://discourse.processing.org/t/game-with-processing-for-the-novice/11365)

<div class="topic-metadata">

**Author:** [@carotte](https://discourse.processing.org/u/carotte)\
**Replies:** 4\
**Last updated:** [May 19, 2019, 9:46pm UTC](https://discourse.processing.org/t/game-with-processing-for-the-novice/11365 "2019-05-19T21:46:05Z")

</div>

hay, i have chosen to do a game wich takes the particularity of the Snake i have a problem with my code, let exposed my problem: i woud like doing an “if” for a loop to make sure that as soon as the snake recognizes t…

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

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