# Processing

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

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

**Page:** 232

---

## [Weird GUI Bug With Processing Program](https://discourse.processing.org/t/weird-gui-bug-with-processing-program/18232)

<div class="topic-metadata">

**Author:** [@dapotyo](https://discourse.processing.org/u/dapotyo)\
**Replies:** 3\
**Last updated:** [March 4, 2020, 9:01pm UTC](https://discourse.processing.org/t/weird-gui-bug-with-processing-program/18232 "2020-03-04T21:01:29Z")

</div>

Whenever I open the processing program, the menu bar and similar GUI elements have a weird text bug, as shown in the image below: How could I fix this? (This is after re-downloading processing)

---

## [Text(); questions. Color and other](https://discourse.processing.org/t/text-questions-color-and-other/18174)

<div class="topic-metadata">

**Author:** [@NoName](https://discourse.processing.org/u/NoName)\
**Replies:** 5\
**Last updated:** [March 4, 2020, 8:30pm UTC](https://discourse.processing.org/t/text-questions-color-and-other/18174 "2020-03-04T20:30:35Z")

</div>

Hello. Just a few questions. I know that you can paste text to a new line in text (); But I could not figure out how to do this? Can a simple example, I’ll figure it out. The question is also about text (); Is …

---

## ["active" and "static" mode on simple code](https://discourse.processing.org/t/active-and-static-mode-on-simple-code/18151)

<div class="topic-metadata">

**Author:** [@gillian](https://discourse.processing.org/u/gillian)\
**Replies:** 7\
**Last updated:** [March 4, 2020, 7:57pm UTC](https://discourse.processing.org/t/active-and-static-mode-on-simple-code/18151 "2020-03-04T19:57:46Z")

</div>

I have a student who is getting the active and static mode error screen. I retyped the same code into my own computer, and it runs fine. It’s the most basic program, but I’m at a complete loss on how to help. I had he…

---

## [Saving Handy outputs as vectors](https://discourse.processing.org/t/saving-handy-outputs-as-vectors/18380)

<div class="topic-metadata">

**Author:** [@epiphany](https://discourse.processing.org/u/epiphany)\
**Replies:** 4\
**Last updated:** [March 4, 2020, 3:04pm UTC](https://discourse.processing.org/t/saving-handy-outputs-as-vectors/18380 "2020-03-04T15:04:19Z")

</div>

I normally use PDF export method to save my outputs as vector files. beginRecord and endRecord always are enough to do this. However I am unable to save Handy Library (https://github.com/gicentre/handy) outputs as PDFs. …

---

## [Need output from bandpass filter](https://discourse.processing.org/t/need-output-from-bandpass-filter/18214)

<div class="topic-metadata">

**Author:** [@stupidquestion](https://discourse.processing.org/u/stupidquestion)\
**Replies:** 1\
**Last updated:** [March 4, 2020, 2:52pm UTC](https://discourse.processing.org/t/need-output-from-bandpass-filter/18214 "2020-03-04T14:52:24Z")

</div>

I need to get at least a number (preferably amplitude/loudness) from a bandpass filter. right now I’m just using the processing sound library. is this adequate? if so; how do I do this? can I do this multiple times in t…

---

## [Unable to access the microphone in Mojave](https://discourse.processing.org/t/unable-to-access-the-microphone-in-mojave/17848)

<div class="topic-metadata">

**Author:** [@iaotech](https://discourse.processing.org/u/iaotech)\
**Replies:** 2\
**Last updated:** [March 4, 2020, 1:29pm UTC](https://discourse.processing.org/t/unable-to-access-the-microphone-in-mojave/17848 "2020-03-04T13:29:20Z")

</div>

Hi, I am unable yo access the microphone in Processing with Mojave. I am using the Sound library. Examples work fine. No errors but no audio data is coming in. Processing does not appear in the Security and Privacy set…

---

## [Game Control Plus not getting any value from joystick](https://discourse.processing.org/t/game-control-plus-not-getting-any-value-from-joystick/18352)

<div class="topic-metadata">

**Author:** [@Noor](https://discourse.processing.org/u/Noor)\
**Replies:** 3\
**Last updated:** [March 4, 2020, 11:40am UTC](https://discourse.processing.org/t/game-control-plus-not-getting-any-value-from-joystick/18352 "2020-03-04T11:40:58Z")

</div>

I am using Game Control Plus for a “Generic USB Joystick”. In the Gpc\_Congigurator, I can easily get the X Axis and Y Axis values from the joystick. I’m trying to just print the values of the X and Y axis but just get…

---

## [Documenting Generative Projects](https://discourse.processing.org/t/documenting-generative-projects/17285)

<div class="topic-metadata">

**Author:** [@r8th](https://discourse.processing.org/u/r8th)\
**Replies:** 6\
**Last updated:** [March 3, 2020, 11:51pm UTC](https://discourse.processing.org/t/documenting-generative-projects/17285 "2020-03-03T23:51:20Z")

</div>

Hi, I am looking for advice for documenting a generative video/sound project. Any thoughts or examples of well documented projects would be very appreciated! I have a piece that is a part of a group show at a small art…

---

## [Multi Touch Support for controlP5](https://discourse.processing.org/t/multi-touch-support-for-controlp5/18364)

<div class="topic-metadata">

**Author:** [@SirSquare](https://discourse.processing.org/u/SirSquare)\
**Replies:** 0\
**Last updated:** [March 3, 2020, 8:36pm UTC](https://discourse.processing.org/t/multi-touch-support-for-controlp5/18364 "2020-03-03T20:36:07Z")

</div>

I’m currently working on a GUI that will be used to control a toy tank. I’ve used controlP5 to create the buttons needed for each tank operation (such as movement, barrel rotation, etc). Currently I can use a mouse to cl…

---

## [Trying to use coordinates from an array to draw an ellipse gives "The method ellipse(float, float, float, float) in the type PApplet is not applicable for the arguments (float\[\], float\[\], float, float)"](https://discourse.processing.org/t/trying-to-use-coordinates-from-an-array-to-draw-an-ellipse-gives-the-method-ellipse-float-float-float-float-in-the-type-papplet-is-not-applicable-for-the-arguments-float-float-float-float/18306)

<div class="topic-metadata">

**Author:** [@Dadagnos](https://discourse.processing.org/u/Dadagnos)\
**Replies:** 5\
**Last updated:** [March 3, 2020, 9:17pm UTC](https://discourse.processing.org/t/trying-to-use-coordinates-from-an-array-to-draw-an-ellipse-gives-the-method-ellipse-float-float-float-float-in-the-type-papplet-is-not-applicable-for-the-arguments-float-float-float-float/18306 "2020-03-03T21:17:22Z")

</div>

So at school we are learning to program now using processing, and one of the homework assignments is to draw several ellipses using a preformatted piece of code: int\[\]\[\] circles = { {10, 15}, {100, 130}, {77, 43}, {30, …

---

## [Why can't I use the back button in state 2?](https://discourse.processing.org/t/why-cant-i-use-the-back-button-in-state-2/18360)

<div class="topic-metadata">

**Author:** [@MonteliaRO](https://discourse.processing.org/u/MonteliaRO)\
**Replies:** 23\
**Last updated:** [March 3, 2020, 8:43pm UTC](https://discourse.processing.org/t/why-cant-i-use-the-back-button-in-state-2/18360 "2020-03-03T20:43:14Z")

</div>

I want to go back to start 0 when I’m in start 2, why is that not possible? Code::point\_down: float mainx1 = 300; float mainy1 = 400; float mainw1 = 500; float mainh1 = 250; float mainx2 = 900; float mainy2 = 400; floa…

---

## [Orbit view with RealSense and PointCloudViewer](https://discourse.processing.org/t/orbit-view-with-realsense-and-pointcloudviewer/18354)

<div class="topic-metadata">

**Author:** [@joalca80](https://discourse.processing.org/u/joalca80)\
**Replies:** 5\
**Last updated:** [March 3, 2020, 7:38pm UTC](https://discourse.processing.org/t/orbit-view-with-realsense-and-pointcloudviewer/18354 "2020-03-03T19:38:22Z")

</div>

Hi there, And thanks Cansik for a great library! I am very new to Processing and programming over all but I am trying to figure out something that is probably super simple for you guys who have been working with it for…

---

## [Dist from mouse to ellipse](https://discourse.processing.org/t/dist-from-mouse-to-ellipse/18157)

<div class="topic-metadata">

**Author:** [@NotConsumable](https://discourse.processing.org/u/NotConsumable)\
**Replies:** 2\
**Last updated:** [March 3, 2020, 6:55pm UTC](https://discourse.processing.org/t/dist-from-mouse-to-ellipse/18157 "2020-03-03T18:55:17Z")

</div>

i am trying to make 4 different circles appear around my mouse depending how far away i am from a randomly occurring ellipse and i was wondering how i would implement a dist function within an if statement in order to ma…

---

## [Unable to use camera functions](https://discourse.processing.org/t/unable-to-use-camera-functions/18355)

<div class="topic-metadata">

**Author:** [@ghy](https://discourse.processing.org/u/ghy)\
**Replies:** 1\
**Last updated:** [March 3, 2020, 6:33pm UTC](https://discourse.processing.org/t/unable-to-use-camera-functions/18355 "2020-03-03T18:33:20Z")

</div>

/\*\* https://github.com/fiebrink1/wekinator\_examples/blob/master/inputs/VideoInput/SimpleVideoInputWithProcessing\_100Inputs/SimpleVideoInputWithProcessing\_100Inputs.pde REALLY simple processing sketch for using webcam i…

---

## [Change color of one rect in grid](https://discourse.processing.org/t/change-color-of-one-rect-in-grid/18349)

<div class="topic-metadata">

**Author:** [@Roy1825](https://discourse.processing.org/u/Roy1825)\
**Replies:** 3\
**Last updated:** [March 3, 2020, 4:10pm UTC](https://discourse.processing.org/t/change-color-of-one-rect-in-grid/18349 "2020-03-03T16:10:39Z")

</div>

Hi everyone! I created a grid of rects using a 2d array. I now want to be able to click on a rect and have it change its color. With the code I have now, all rects change color when clicked. What am I doing wrong? int …

---

## [Questions about processing 3, Asteroids (the game) and AI](https://discourse.processing.org/t/questions-about-processing-3-asteroids-the-game-and-ai/18348)

<div class="topic-metadata">

**Author:** [@gabs](https://discourse.processing.org/u/gabs)\
**Replies:** 1\
**Last updated:** [March 3, 2020, 3:43pm UTC](https://discourse.processing.org/t/questions-about-processing-3-asteroids-the-game-and-ai/18348 "2020-03-03T15:43:54Z")

</div>

Hey y’all, This is my first post to this site and I’m pretty new to processing in general. I honestly don’t know where to start with this (it’s a project for my robotics course, high school) and all i really know how to…

---

## [How to get next vertex from array](https://discourse.processing.org/t/how-to-get-next-vertex-from-array/18284)

<div class="topic-metadata">

**Author:** [@ddownn](https://discourse.processing.org/u/ddownn)\
**Replies:** 1\
**Last updated:** [March 2, 2020, 2:09pm UTC](https://discourse.processing.org/t/how-to-get-next-vertex-from-array/18284 "2020-03-02T14:09:48Z")

</div>

I have an array of points, and in a loop through them I want to get a reference to the next point that is a vertex. It seems like I’m close here but what am I doing wrong? nVertices is intended to represent the vertices…

---

## [Use gpu to generate sound in processing (like in shadertoy)](https://discourse.processing.org/t/use-gpu-to-generate-sound-in-processing-like-in-shadertoy/18283)

<div class="topic-metadata">

**Author:** [@bitCrasher](https://discourse.processing.org/u/bitCrasher)\
**Replies:** 5\
**Last updated:** [March 3, 2020, 2:20pm UTC](https://discourse.processing.org/t/use-gpu-to-generate-sound-in-processing-like-in-shadertoy/18283 "2020-03-03T14:20:02Z")

</div>

hi to all…someone know if it’s possible to use the function mainSound() in a shader and use the vec2 output to generate an audio signal? if you see the second tab of this link: https://www.shadertoy.com/view/ldfSW2 yo…

---

## [Looking to the code of Processing](https://discourse.processing.org/t/looking-to-the-code-of-processing/18110)

<div class="topic-metadata">

**Author:** [@mario60](https://discourse.processing.org/u/mario60)\
**Replies:** 6\
**Last updated:** [March 3, 2020, 1:05pm UTC](https://discourse.processing.org/t/looking-to-the-code-of-processing/18110 "2020-03-03T13:05:53Z")

</div>

Hi, my first post on this board. I am very curious about Processing, and I would like to know something more on its underlying code. How has it been developed, how do I get to know its core code. I see a number of boo…

---

## [Boids nearest 7 neighbours](https://discourse.processing.org/t/boids-nearest-7-neighbours/18272)

<div class="topic-metadata">

**Author:** [@Blackclo](https://discourse.processing.org/u/Blackclo)\
**Replies:** 4\
**Last updated:** [March 3, 2020, 12:24pm UTC](https://discourse.processing.org/t/boids-nearest-7-neighbours/18272 "2020-03-03T12:24:29Z")

</div>

I’m trying to adapt https://www.processing.org/examples/flocking.html limiting the number of neighbours a boid can see to 7 based on closest distance. But I am struggling can someone help

---

## [Vertical Pixel Sorting on image](https://discourse.processing.org/t/vertical-pixel-sorting-on-image/17419)

<div class="topic-metadata">

**Author:** [@Alexx](https://discourse.processing.org/u/Alexx)\
**Replies:** 7\
**Last updated:** [March 3, 2020, 9:50am UTC](https://discourse.processing.org/t/vertical-pixel-sorting-on-image/17419 "2020-03-03T09:50:40Z")

</div>

Hi. I’m new to Processing. Hope someone is able to help me. I have two answer: In my sketch the pixel sorting work on width, but I I need it to be vertical non horizontal … how? The pixel sorting start and finishing a…

---

## [Golf game mechanics](https://discourse.processing.org/t/golf-game-mechanics/18285)

<div class="topic-metadata">

**Author:** [@Dr.Dremur](https://discourse.processing.org/u/Dr.Dremur)\
**Replies:** 7\
**Last updated:** [March 3, 2020, 12:34am UTC](https://discourse.processing.org/t/golf-game-mechanics/18285 "2020-03-03T00:34:15Z")

</div>

This is my first post since I can’t find what I’m looking for, I am currently trying to create a 2D golf game for my Programming final, and would still like to continue it after its submitted. What I’m trying to accompl…

---

## [Creating a frame timer](https://discourse.processing.org/t/creating-a-frame-timer/18165)

<div class="topic-metadata">

**Author:** [@NotConsumable](https://discourse.processing.org/u/NotConsumable)\
**Replies:** 13\
**Last updated:** [February 27, 2020, 8:22am UTC](https://discourse.processing.org/t/creating-a-frame-timer/18165 "2020-02-27T08:22:30Z")

</div>

I am trying to create a timer that makes an ellipse disappear 2 seconds or 120 frames after the mouse has been pressed, the ellipse and text appear whenever i press my mouse, but they disappear far too fast about 1 frame…

---

## [G4P - Defining handleButtonEvents(..) in a Class](https://discourse.processing.org/t/g4p-defining-handlebuttonevents-in-a-class/18262)

<div class="topic-metadata">

**Author:** [@MauiMana](https://discourse.processing.org/u/MauiMana)\
**Replies:** 2\
**Last updated:** [March 1, 2020, 7:32pm UTC](https://discourse.processing.org/t/g4p-defining-handlebuttonevents-in-a-class/18262 "2020-03-01T19:32:19Z")

</div>

I’m coding native java classes using the Processing 3 IDE. Using G4P as my GUI library I’m trying to encapsulate one of my logical GUI components inside its own class, including the event handler for associated events. H…

---

## [Unfolding Not working with processing 3](https://discourse.processing.org/t/unfolding-not-working-with-processing-3/18320)

<div class="topic-metadata">

**Author:** [@singhv3](https://discourse.processing.org/u/singhv3)\
**Replies:** 3\
**Last updated:** [March 2, 2020, 10:17pm UTC](https://discourse.processing.org/t/unfolding-not-working-with-processing-3/18320 "2020-03-02T22:17:56Z")

</div>

Hello everyone, I am new to Processing and I am trying to work with the unfolding library. I downloaded the available 0.9.6 version from the unfolding site but it is not working fine with processing 3. Any help will be …

---

## [When you re-load and play a new sound with minim, the old sound will still play ...?](https://discourse.processing.org/t/when-you-re-load-and-play-a-new-sound-with-minim-the-old-sound-will-still-play/18280)

<div class="topic-metadata">

**Author:** [@EvilDuck](https://discourse.processing.org/u/EvilDuck)\
**Replies:** 2\
**Last updated:** [March 2, 2020, 5:39pm UTC](https://discourse.processing.org/t/when-you-re-load-and-play-a-new-sound-with-minim-the-old-sound-will-still-play/18280 "2020-03-02T17:39:20Z")

</div>

I have this; a new sound is loaded, the old one will still play can this be fixed, or is it just the way minim works … ? I want to be able to load a new sound to save memory Code: for ( int i = 0; i \< 2; i++ ) { …

---

## [How to achieve this style of visual?](https://discourse.processing.org/t/how-to-achieve-this-style-of-visual/18282)

<div class="topic-metadata">

**Author:** [@AphexBor](https://discourse.processing.org/u/AphexBor)\
**Replies:** 4\
**Last updated:** [March 2, 2020, 11:48am UTC](https://discourse.processing.org/t/how-to-achieve-this-style-of-visual/18282 "2020-03-02T11:48:33Z")

</div>

Can anyone point me the direction of how to create this style of creative coding? I think the original artist was using Perlin noise but all my attempts have been useless! If anyone could even tell me what this is called…

---

## [Help - Cant figure this out](https://discourse.processing.org/t/help-cant-figure-this-out/18291)

<div class="topic-metadata">

**Author:** [@GKBeginner](https://discourse.processing.org/u/GKBeginner)\
**Replies:** 4\
**Last updated:** [March 2, 2020, 7:02am UTC](https://discourse.processing.org/t/help-cant-figure-this-out/18291 "2020-03-02T07:02:27Z")

</div>

This is supposed to produce vertical lines of varying colors and lengths and I can only get it to produce lines of the same color and length. I have looked at it over and over and I can’t figure out what I am doing wron…

---

## [Processing software not opening](https://discourse.processing.org/t/processing-software-not-opening/4922)

<div class="topic-metadata">

**Author:** [@Ashu1414](https://discourse.processing.org/u/Ashu1414)\
**Replies:** 5\
**Last updated:** [November 4, 2018, 5:22am UTC](https://discourse.processing.org/t/processing-software-not-opening/4922 "2018-11-04T05:22:32Z")

</div>

I have downloaded processing software 1.5.1 but when I tried to open the exe file a message saying “The application requires at least java development kit (not jre) 1.5.0” is showing I have downloaded it nut its not work…

---

## [xyScope Library](https://discourse.processing.org/t/xyscope-library/14369)

<div class="topic-metadata">

**Author:** [@mattiasu96](https://discourse.processing.org/u/mattiasu96)\
**Replies:** 4\
**Last updated:** [March 2, 2020, 3:09am UTC](https://discourse.processing.org/t/xyscope-library/14369 "2020-03-02T03:09:54Z")

</div>

I’m trying to use the xyScope Library: https://teddavis.org/xyscope/ . I’d like to build something like the video demo of the library: https://vimeo.com/226597331 I managed to use an already written example from the li…

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

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