# Processing

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

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

**Page:** 317

---

## [Key == someVariable does not work](https://discourse.processing.org/t/key-somevariable-does-not-work/9130)

<div class="topic-metadata">

**Author:** [@jetjaguar](https://discourse.processing.org/u/jetjaguar)\
**Replies:** 1\
**Last updated:** [March 9, 2019, 12:22am UTC](https://discourse.processing.org/t/key-somevariable-does-not-work/9130 "2019-03-09T00:22:00Z")

</div>

I’d like to use a variable (int) with the key function, but it doesn’t work with or without single quotes. What can I do? if(key == someVariable){ … } Thank you!

---

## [How does map.draw() function in Unfolding Map work?](https://discourse.processing.org/t/how-does-map-draw-function-in-unfolding-map-work/9125)

<div class="topic-metadata">

**Author:** [@kkxxbdm](https://discourse.processing.org/u/kkxxbdm)\
**Replies:** 1\
**Last updated:** [March 9, 2019, 12:09am UTC](https://discourse.processing.org/t/how-does-map-draw-function-in-unfolding-map-work/9125 "2019-03-09T00:09:14Z")

</div>

Hi, I was trying to search information about this map.draw() function, but I did not find anything about this at all. Could anyone kindly let me know the purpose of this function or point to some links/references? The f…

---

## [VT100 in processing](https://discourse.processing.org/t/vt100-in-processing/9039)

<div class="topic-metadata">

**Author:** [@Dolomiti](https://discourse.processing.org/u/Dolomiti)\
**Replies:** 1\
**Last updated:** [March 9, 2019, 12:06am UTC](https://discourse.processing.org/t/vt100-in-processing/9039 "2019-03-09T00:06:56Z")

</div>

Hello friends. It is possible to make a VT100 hyperterminal in processing. I have not seen any forum thread on this topic. Thanks and best regards Charli

---

## [Opendmx ft232 no output](https://discourse.processing.org/t/opendmx-ft232-no-output/8934)

<div class="topic-metadata">

**Author:** [@spiderdab](https://discourse.processing.org/u/spiderdab)\
**Replies:** 3\
**Last updated:** [March 8, 2019, 11:43pm UTC](https://discourse.processing.org/t/opendmx-ft232-no-output/8934 "2019-03-08T23:43:36Z")

</div>

Hi, first time writing on this new platform, but have been on the old forum for years. I need to implement a particular dmx software to control some dmx winch. The problem I have is I want to use a entec opendmx usb co…

---

## [Cannot be resolved or is not a field error](https://discourse.processing.org/t/cannot-be-resolved-or-is-not-a-field-error/9001)

<div class="topic-metadata">

**Author:** [@kennyd](https://discourse.processing.org/u/kennyd)\
**Replies:** 1\
**Last updated:** [March 8, 2019, 11:39pm UTC](https://discourse.processing.org/t/cannot-be-resolved-or-is-not-a-field-error/9001 "2019-03-08T23:39:56Z")

</div>

Good morning, I’m fairly new to processing, and ran into some trouble with my code regarding an error “body cannot be resolved or is not a field”. Processing also tells me that the global variable body does not exist, d…

---

## [Question on GameControlPlus](https://discourse.processing.org/t/question-on-gamecontrolplus/9011)

<div class="topic-metadata">

**Author:** [@alan856](https://discourse.processing.org/u/alan856)\
**Replies:** 1\
**Last updated:** [March 8, 2019, 11:25pm UTC](https://discourse.processing.org/t/question-on-gamecontrolplus/9011 "2019-03-08T23:25:12Z")

</div>

Greetings! I’m building a custom joystick using an Arduino Micro to be used expressly with GameControlPlus. I’m using the Joystick (v2) library to have the stick show up as an HID device. GCP IS sing it so I’m almost t…

---

## [How to set pots in custom joystick for GameControlPlus](https://discourse.processing.org/t/how-to-set-pots-in-custom-joystick-for-gamecontrolplus/8974)

<div class="topic-metadata">

**Author:** [@alan856](https://discourse.processing.org/u/alan856)\
**Replies:** 7\
**Last updated:** [March 8, 2019, 7:37pm UTC](https://discourse.processing.org/t/how-to-set-pots-in-custom-joystick-for-gamecontrolplus/8974 "2019-03-08T19:37:42Z")

</div>

I’m building a custom joystick to be used with Processing via GameControlPlus. Just wondering if the pots should be at center of resistance when the stick is at zero/centered.

---

## [ArtNet port change?](https://discourse.processing.org/t/artnet-port-change/8781)

<div class="topic-metadata">

**Author:** [@erkosone](https://discourse.processing.org/u/erkosone)\
**Replies:** 9\
**Last updated:** [March 8, 2019, 5:46pm UTC](https://discourse.processing.org/t/artnet-port-change/8781 "2019-03-08T17:46:36Z")

</div>

Hi, i have a dude using ArtNet library… How i change the UDP port??? Thanks in advance.

---

## [G4P textField focus and move caret](https://discourse.processing.org/t/g4p-textfield-focus-and-move-caret/9100)

<div class="topic-metadata">

**Author:** [@SoulT](https://discourse.processing.org/u/SoulT)\
**Replies:** 1\
**Last updated:** [March 8, 2019, 9:30am UTC](https://discourse.processing.org/t/g4p-textfield-focus-and-move-caret/9100 "2019-03-08T09:30:19Z")

</div>

Howdy all, I’ve just started using G4P in a small personal project of mine, and I’m trying to set up a basic ‘console’ type UI/system for it. The issue: I’m trying to setup a system where the user can start typing, an…

---

## [How to transfer between screen coordinate (x,y) positions and map location (latitude, langitude) pairs using Unfolding map?](https://discourse.processing.org/t/how-to-transfer-between-screen-coordinate-x-y-positions-and-map-location-latitude-langitude-pairs-using-unfolding-map/9089)

<div class="topic-metadata">

**Author:** [@kkxxbdm](https://discourse.processing.org/u/kkxxbdm)\
**Replies:** 3\
**Last updated:** [March 8, 2019, 7:55am UTC](https://discourse.processing.org/t/how-to-transfer-between-screen-coordinate-x-y-positions-and-map-location-latitude-langitude-pairs-using-unfolding-map/9089 "2019-03-08T07:55:52Z")

</div>

This is really a simple/naive question, but I’m fairly new and please be kind with your responses. More specifically, the above image explains the screen (x,y) coordinates. the second image above explains the map l…

---

## [Newbie- Trying to create a basic point and click map](https://discourse.processing.org/t/newbie-trying-to-create-a-basic-point-and-click-map/8963)

<div class="topic-metadata">

**Author:** [@sad-ghosts](https://discourse.processing.org/u/sad-ghosts)\
**Replies:** 3\
**Last updated:** [March 8, 2019, 12:03am UTC](https://discourse.processing.org/t/newbie-trying-to-create-a-basic-point-and-click-map/8963 "2019-03-08T00:03:26Z")

</div>

Hey guys, new to the game and I’m working on a project. It’s a UFO data map Ideally, you point and click on each ufo picture representing a different county, and a mass of circles representing the amount of reported …

---

## [Rotating a Sphere Not on its Axis](https://discourse.processing.org/t/rotating-a-sphere-not-on-its-axis/8968)

<div class="topic-metadata">

**Author:** [@drbme](https://discourse.processing.org/u/drbme)\
**Replies:** 2\
**Last updated:** [March 7, 2019, 10:54pm UTC](https://discourse.processing.org/t/rotating-a-sphere-not-on-its-axis/8968 "2019-03-07T22:54:03Z")

</div>

I’m trying to rotate a sphere around another sphere using PShapes, translate and rotate, but I can’t figure out how to do it since the sphere automatically draws at 0,0,0 and as such I can only get it to rotate around it…

---

## [What does the blend modes refer to?](https://discourse.processing.org/t/what-does-the-blend-modes-refer-to/7211)

<div class="topic-metadata">

**Author:** [@davidjj](https://discourse.processing.org/u/davidjj)\
**Replies:** 8\
**Last updated:** [March 7, 2019, 9:28pm UTC](https://discourse.processing.org/t/what-does-the-blend-modes-refer-to/7211 "2019-03-07T21:28:26Z")

</div>

When using image.blend() there is a list of Blend modes: BLEND, DARKEST, LIGHTEST, DIFFERENCE, MULTIPLY, EXCLUSION, SCREEN, REPLACE, OVERLAY, HARD\_LIGHT, SOFT\_LIGHT, DODGE, BURN, ADD or NORMAL. And these all constants d…

---

## [Grid of points with perlin noise](https://discourse.processing.org/t/grid-of-points-with-perlin-noise/8923)

<div class="topic-metadata">

**Author:** [@madsogstrup](https://discourse.processing.org/u/madsogstrup)\
**Replies:** 6\
**Last updated:** [March 7, 2019, 8:54pm UTC](https://discourse.processing.org/t/grid-of-points-with-perlin-noise/8923 "2019-03-07T20:54:58Z")

</div>

Hello! I’ve recently taken up processing as part of a school project, and I was wondering if anyone would be able to help me explaining how this instagram post was done. As the artist writes: it’s a grid of points, ap…

---

## [Programme space invadors](https://discourse.processing.org/t/programme-space-invadors/8910)

<div class="topic-metadata">

**Author:** [@carotte](https://discourse.processing.org/u/carotte)\
**Replies:** 1\
**Last updated:** [March 7, 2019, 6:27pm UTC](https://discourse.processing.org/t/programme-space-invadors/8910 "2019-03-07T18:27:48Z")

</div>

bonsoir, je débute dans la programation avec processing et je suis dans la conception d’un programme copiant le jeu space invadors. voici mon début de codage. si quelqu’un pouvait me venir en aide pour terminer ce proje…

---

## [Animate text opacity in a text String](https://discourse.processing.org/t/animate-text-opacity-in-a-text-string/9025)

<div class="topic-metadata">

**Author:** [@jacobo](https://discourse.processing.org/u/jacobo)\
**Replies:** 10\
**Last updated:** [March 7, 2019, 6:27pm UTC](https://discourse.processing.org/t/animate-text-opacity-in-a-text-string/9025 "2019-03-07T18:27:09Z")

</div>

Hi everyone. I have this class with a lot of cities. I want each city to have it’s opacity/alpha value be random and go between 0-255, kind of like a pulsing effect. I’ve tried with if() statements but its not quite the…

---

## [Text bounce bounding box?](https://discourse.processing.org/t/text-bounce-bounding-box/9070)

<div class="topic-metadata">

**Author:** [@piet7](https://discourse.processing.org/u/piet7)\
**Replies:** 10\
**Last updated:** [March 7, 2019, 5:40pm UTC](https://discourse.processing.org/t/text-bounce-bounding-box/9070 "2019-03-07T17:40:19Z")

</div>

Hello all. Is it possible to make a bounding box around your text, so when it hits the right side it won’t go beyond the width of my work area? I could minus the text width from the xPos, but that would have to make the …

---

## [How to export applications using Processing 3](https://discourse.processing.org/t/how-to-export-applications-using-processing-3/9007)

<div class="topic-metadata">

**Author:** [@kkxxbdm](https://discourse.processing.org/u/kkxxbdm)\
**Replies:** 16\
**Last updated:** [March 7, 2019, 10:23am UTC](https://discourse.processing.org/t/how-to-export-applications-using-processing-3/9007 "2019-03-07T10:23:57Z")

</div>

I’m reading the pdf file with title “getting started with processing”. On page 12, it talks about using the export button to bundle the code into a single folder. I tried this in my installed Processing software, using E…

---

## [Detecting if object is within image](https://discourse.processing.org/t/detecting-if-object-is-within-image/9054)

<div class="topic-metadata">

**Author:** [@cdallan](https://discourse.processing.org/u/cdallan)\
**Replies:** 1\
**Last updated:** [March 7, 2019, 3:01pm UTC](https://discourse.processing.org/t/detecting-if-object-is-within-image/9054 "2019-03-07T15:01:41Z")

</div>

Greetings all, I’m a newcomer to processing and have had fun creating various designs in the program. In an attempt to tackle something more complex, I’m currently creating a game where a mouse-controlled “parasite” obj…

---

## [Processing closes immediately on opening](https://discourse.processing.org/t/processing-closes-immediately-on-opening/9019)

<div class="topic-metadata">

**Author:** [@kvega](https://discourse.processing.org/u/kvega)\
**Replies:** 1\
**Last updated:** [March 7, 2019, 7:07am UTC](https://discourse.processing.org/t/processing-closes-immediately-on-opening/9019 "2019-03-07T07:07:21Z")

</div>

The Processing IDE that has been working for years is now opening for a few seconds and then closing. I have downloaded both new Processing IDE and Java. This has no effect at all. Any ideas what else I can try. Also I’…

---

## [Sprites using arrays](https://discourse.processing.org/t/sprites-using-arrays/8825)

<div class="topic-metadata">

**Author:** [@taryncollymore](https://discourse.processing.org/u/taryncollymore)\
**Replies:** 3\
**Last updated:** [March 6, 2019, 9:26pm UTC](https://discourse.processing.org/t/sprites-using-arrays/8825 "2019-03-06T21:26:24Z")

</div>

I need help with using multiple images to create an animated sprite that moves as the mouse moves. My professor wants us to use arrays to accomplish this, but I’m not sure how to integrate multiple images into the code t…

---

## [Solving an exercise in Dan Shiffman "Learning Processing"](https://discourse.processing.org/t/solving-an-exercise-in-dan-shiffman-learning-processing/8817)

<div class="topic-metadata">

**Author:** [@debxyz](https://discourse.processing.org/u/debxyz)\
**Replies:** 4\
**Last updated:** [March 6, 2019, 8:51pm UTC](https://discourse.processing.org/t/solving-an-exercise-in-dan-shiffman-learning-processing/8817 "2019-03-06T20:51:55Z")

</div>

Trying to solve Exercise 5-8 (p.83) in D. Shiffman book “Learning Processing” Keep getting an error message: "unexpected token: void" Goal: circle starts moving in sketch once the mouse has been pressed. Here is my co…

---

## [Parallel line that follows the mouse with circle](https://discourse.processing.org/t/parallel-line-that-follows-the-mouse-with-circle/8909)

<div class="topic-metadata">

**Author:** [@JasJones](https://discourse.processing.org/u/JasJones)\
**Replies:** 3\
**Last updated:** [March 6, 2019, 7:32pm UTC](https://discourse.processing.org/t/parallel-line-that-follows-the-mouse-with-circle/8909 "2019-03-06T19:32:42Z")

</div>

How can I fix the ellipse in the middle / left outside of the background-window? Here is my code until now: void setup(){ size(100,100); } void draw(){ background(200); line(mouseX,0,mouseX,100); ellipseMode(CO…

---

## [How can I implement objects with colliders?](https://discourse.processing.org/t/how-can-i-implement-objects-with-colliders/9033)

<div class="topic-metadata">

**Author:** [@mone](https://discourse.processing.org/u/mone)\
**Replies:** 1\
**Last updated:** [March 6, 2019, 7:32pm UTC](https://discourse.processing.org/t/how-can-i-implement-objects-with-colliders/9033 "2019-03-06T19:32:23Z")

</div>

I have to do a program where the player moves an object with the keyboard and there are obstacles that collide with the player. I have the movement part and it works really well but I really dont know how to print object…

---

## [Processing won't launch, Mac](https://discourse.processing.org/t/processing-wont-launch-mac/8978)

<div class="topic-metadata">

**Author:** [@Tapestes](https://discourse.processing.org/u/Tapestes)\
**Replies:** 3\
**Last updated:** [March 6, 2019, 7:29pm UTC](https://discourse.processing.org/t/processing-wont-launch-mac/8978 "2019-03-06T19:29:53Z")

</div>

I’m attempting to run processing 3.5.3 on MacOS 10.14.3. When I click on the processing icon, Processing appears in the mac menu bar for moment, and then disappears. The splash screen never comes up. These are the err…

---

## [Zombie game kill counter increments nonstop](https://discourse.processing.org/t/zombie-game-kill-counter-increments-nonstop/9032)

<div class="topic-metadata">

**Author:** [@ZAZ](https://discourse.processing.org/u/ZAZ)\
**Replies:** 1\
**Last updated:** [March 6, 2019, 7:22pm UTC](https://discourse.processing.org/t/zombie-game-kill-counter-increments-nonstop/9032 "2019-03-06T19:22:55Z")

</div>

Okay so I have been working on this project for quite a while. Basically I made a shooting game. Zombies are rendered on the screen frame by frame. and when they are shot, an explosion is rendered (Technically the zombie…

---

## [Massive frameRate drop after restart](https://discourse.processing.org/t/massive-framerate-drop-after-restart/8828)

<div class="topic-metadata">

**Author:** [@wqt](https://discourse.processing.org/u/wqt)\
**Replies:** 6\
**Last updated:** [March 6, 2019, 6:08pm UTC](https://discourse.processing.org/t/massive-framerate-drop-after-restart/8828 "2019-03-06T18:08:30Z")

</div>

Hi, I do not know if this is really Processing-related, but I would appreciate any help. I restarted a borrowed Windows 7 computer and my sketches are much slower since. I could run Demos/Performance/DynamicParticlesRet…

---

## [Why I can't download processing-3.5.3-windows64?](https://discourse.processing.org/t/why-i-cant-download-processing-3-5-3-windows64/8896)

<div class="topic-metadata">

**Author:** [@Nora](https://discourse.processing.org/u/Nora)\
**Replies:** 2\
**Last updated:** [March 6, 2019, 5:07pm UTC](https://discourse.processing.org/t/why-i-cant-download-processing-3-5-3-windows64/8896 "2019-03-06T17:07:41Z")

</div>

Why I can’t download processing-3.5.3-windows64?:哭:

---

## [Particle System Performance](https://discourse.processing.org/t/particle-system-performance/8493)

<div class="topic-metadata">

**Author:** [@wqt](https://discourse.processing.org/u/wqt)\
**Replies:** 3\
**Last updated:** [March 6, 2019, 3:16pm UTC](https://discourse.processing.org/t/particle-system-performance/8493 "2019-03-06T15:16:54Z")

</div>

Hello everyone! I am looking for advice on a project : I am simulating a few thousands of microorganisms (microalgae). I need to simulate the physics for each of them, applying three forces : fluid friction which limits…

---

## [Which version of Processing for an older version of Java?](https://discourse.processing.org/t/which-version-of-processing-for-an-older-version-of-java/8976)

<div class="topic-metadata">

**Author:** [@maathieu1](https://discourse.processing.org/u/maathieu1)\
**Replies:** 3\
**Last updated:** [March 6, 2019, 2:09pm UTC](https://discourse.processing.org/t/which-version-of-processing-for-an-older-version-of-java/8976 "2019-03-06T14:09:45Z")

</div>

Hello everyone! This is a bit of a strange question - please bear with me. I have set my hands on an old Windows CE palmtop which happens to run JRE 1.5 (certain, and possibly JRE 1.6). I was wondering if I could deve…

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

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