# Processing

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

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

**Page:** 355

---

## [G4P Label Array Test for multiple windows](https://discourse.processing.org/t/g4p-label-array-test-for-multiple-windows/4908)

<div class="topic-metadata">

**Author:** [@markcosmic](https://discourse.processing.org/u/markcosmic)\
**Replies:** 2\
**Last updated:** [October 27, 2018, 4:20am UTC](https://discourse.processing.org/t/g4p-label-array-test-for-multiple-windows/4908 "2018-10-27T04:20:11Z")

</div>

G4P Label Array Test I’ve been trying to make a label array with the G4P Library in Processing 3. I’m having a problem with the “setText()” to an Array. Here’s the sketch. I’ve documented to problem area. Maybe someone …

---

## [Sound library without any default delay](https://discourse.processing.org/t/sound-library-without-any-default-delay/4891)

<div class="topic-metadata">

**Author:** [@jensemand](https://discourse.processing.org/u/jensemand)\
**Replies:** 1\
**Last updated:** [October 26, 2018, 8:30pm UTC](https://discourse.processing.org/t/sound-library-without-any-default-delay/4891 "2018-10-26T20:30:14Z")

</div>

Hi I want to import a sound library so i can play different sound files. I have tried to import library already but there’s a default delay i want to get rid of so i just want to know if there is another library or way…

---

## [Processing Canvas in JAVAFX as FXnode](https://discourse.processing.org/t/processing-canvas-in-javafx-as-fxnode/4747)

<div class="topic-metadata">

**Author:** [@yagarea](https://discourse.processing.org/u/yagarea)\
**Replies:** 3\
**Last updated:** [October 26, 2018, 1:34pm UTC](https://discourse.processing.org/t/processing-canvas-in-javafx-as-fxnode/4747 "2018-10-26T13:34:53Z")

</div>

Hello, Is there a way how to make your existing PApplet as FXNode in JavaFX scene ?

---

## [Processing Array Circle Art](https://discourse.processing.org/t/processing-array-circle-art/4888)

<div class="topic-metadata">

**Author:** [@chisholmem](https://discourse.processing.org/u/chisholmem)\
**Replies:** 15\
**Last updated:** [October 26, 2018, 5:53pm UTC](https://discourse.processing.org/t/processing-array-circle-art/4888 "2018-10-26T17:53:51Z")

</div>

Hi there, I am currently trying to make a drawing of multiple colored circles in an array. I have ints set for different sets of colors, but for some reason, I can only get two to work at a time. Can someone tell me wher…

---

## [Missing Points when drawing](https://discourse.processing.org/t/missing-points-when-drawing/4775)

<div class="topic-metadata">

**Author:** [@dgm3333](https://discourse.processing.org/u/dgm3333)\
**Replies:** 14\
**Last updated:** [October 26, 2018, 4:00pm UTC](https://discourse.processing.org/t/missing-points-when-drawing/4775 "2018-10-26T16:00:24Z")

</div>

I’m trying to run various snipits of code to draw things on Windows 10. However I keep getting points missing (this isn’t isolated to the following code, it happens regularly). Attached is just one example. The points…

---

## [Waiting for input via OSC to continue function](https://discourse.processing.org/t/waiting-for-input-via-osc-to-continue-function/4893)

<div class="topic-metadata">

**Author:** [@flashbacker](https://discourse.processing.org/u/flashbacker)\
**Replies:** 7\
**Last updated:** [October 26, 2018, 3:40pm UTC](https://discourse.processing.org/t/waiting-for-input-via-osc-to-continue-function/4893 "2018-10-26T15:40:13Z")

</div>

Hi, what i’m trying to do is to wait for the feed back of a distant video player to continue some process on an other machine. This process is not in draw and is ran only once. Basically: boolean end = false; void setu…

---

## [selectInput selectOutput info](https://discourse.processing.org/t/selectinput-selectoutput-info/4453)

<div class="topic-metadata">

**Author:** [@FerrariLuigi](https://discourse.processing.org/u/FerrariLuigi)\
**Replies:** 2\
**Last updated:** [October 26, 2018, 3:30pm UTC](https://discourse.processing.org/t/selectinput-selectoutput-info/4453 "2018-10-26T15:30:56Z")

</div>

Dear all I have to use the selectInput function on my sketch. Unfortunately I can’t find a detailed description of it. I don’t understand, for example, how to direct the selectInput in a directory or how to use file f…

---

## [Making multiple of same image](https://discourse.processing.org/t/making-multiple-of-same-image/4406)

<div class="topic-metadata">

**Author:** [@ProcessingStarter](https://discourse.processing.org/u/ProcessingStarter)\
**Replies:** 2\
**Last updated:** [October 14, 2018, 1:44am UTC](https://discourse.processing.org/t/making-multiple-of-same-image/4406 "2018-10-14T01:44:52Z")

</div>

I am making a tic-tac-toe game and am trying to place an ‘X’ image into each box for starters. But when I Try to place an ‘X’ image more than once, the first one disappears. i made a switch case to place an X into every …

---

## [Array with 2 of the same value](https://discourse.processing.org/t/array-with-2-of-the-same-value/4892)

<div class="topic-metadata">

**Author:** [@Tristan](https://discourse.processing.org/u/Tristan)\
**Replies:** 3\
**Last updated:** [October 26, 2018, 11:18am UTC](https://discourse.processing.org/t/array-with-2-of-the-same-value/4892 "2018-10-26T11:18:20Z")

</div>

Hello, im trying to make an array using a for loop that contains two of the same values. It would like like this if you write it out. int \[\] cardSets= {0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10,…

---

## [Could u mind help me make brick game?](https://discourse.processing.org/t/could-u-mind-help-me-make-brick-game/4600)

<div class="topic-metadata">

**Author:** [@nacTF](https://discourse.processing.org/u/nacTF)\
**Replies:** 4\
**Last updated:** [October 26, 2018, 7:37am UTC](https://discourse.processing.org/t/could-u-mind-help-me-make-brick-game/4600 "2018-10-26T07:37:45Z")

</div>

i want to make special brickgame It is characteristic that the brick line is continuously generated and comes down from the top. i can make normal brickgame but its very hard to me I want you to give me answers or hi…

---

## [Array and key press](https://discourse.processing.org/t/array-and-key-press/4884)

<div class="topic-metadata">

**Author:** [@vanoevelenstef](https://discourse.processing.org/u/vanoevelenstef)\
**Replies:** 1\
**Last updated:** [October 26, 2018, 2:40am UTC](https://discourse.processing.org/t/array-and-key-press/4884 "2018-10-26T02:40:29Z")

</div>

The original code showed 8 letters and did the distorting on all the letters at once. I’m trying to do each letter part from eachother and doing the distorting per letter. I have added a key that once clicked, just shows…

---

## [Sound library: Error when instantiating SoundFile object](https://discourse.processing.org/t/sound-library-error-when-instantiating-soundfile-object/4836)

<div class="topic-metadata">

**Author:** [@RustedBot](https://discourse.processing.org/u/RustedBot)\
**Replies:** 1\
**Last updated:** [October 25, 2018, 8:04pm UTC](https://discourse.processing.org/t/sound-library-error-when-instantiating-soundfile-object/4836 "2018-10-25T20:04:22Z")

</div>

Processing: v3.4 Sound Library: v2.0.2 I’m trying to use the Sound library but when I instantiate a SoundFile object I receive this error in the console: ArrayIndexOutOfBoundsException: 16 Oct 24, 2018 8:53:33 PM com…

---

## [Rumble in game control plus](https://discourse.processing.org/t/rumble-in-game-control-plus/4880)

<div class="topic-metadata">

**Author:** [@Whahahahaha](https://discourse.processing.org/u/Whahahahaha)\
**Replies:** 1\
**Last updated:** [October 25, 2018, 6:11pm UTC](https://discourse.processing.org/t/rumble-in-game-control-plus/4880 "2018-10-25T18:11:04Z")

</div>

okay so in the game control plus library there are functions for rumble : (http://lagers.org.uk/gamecontrol/ref/classorg\_1\_1gamecontrolplus\_1\_1\_control\_device.html) but somehow I can’t see any of them with the getNumber…

---

## [Decrementing in draw problem](https://discourse.processing.org/t/decrementing-in-draw-problem/4879)

<div class="topic-metadata">

**Author:** [@Aquakitty](https://discourse.processing.org/u/Aquakitty)\
**Replies:** 3\
**Last updated:** [October 25, 2018, 5:51pm UTC](https://discourse.processing.org/t/decrementing-in-draw-problem/4879 "2018-10-25T17:51:25Z")

</div>

Hi, new to processing and programming with frames but not to programming so this is a bit embarrassing. I’ve managed to make ellipses that expand and contract with no problem by using a state, but I’ve had this other is…

---

## [Drawing tool, mouse cursor problem](https://discourse.processing.org/t/drawing-tool-mouse-cursor-problem/4862)

<div class="topic-metadata">

**Author:** [@seo](https://discourse.processing.org/u/seo)\
**Replies:** 5\
**Last updated:** [October 25, 2018, 11:59am UTC](https://discourse.processing.org/t/drawing-tool-mouse-cursor-problem/4862 "2018-10-25T11:59:05Z")

</div>

Hi! I am creating a simple drawing tool. I hope the user can intuitively know the size of the drawing tool through the cursor. However, the way I use is obscured by the picture in which the cursor is drawn. Is not there…

---

## [Problem with transport error 202](https://discourse.processing.org/t/problem-with-transport-error-202/4459)

<div class="topic-metadata">

**Author:** [@Volkmar](https://discourse.processing.org/u/Volkmar)\
**Replies:** 1\
**Last updated:** [October 25, 2018, 11:27am UTC](https://discourse.processing.org/t/problem-with-transport-error-202/4459 "2018-10-25T11:27:34Z")

</div>

Hi, since yesterday I can’t run my sketches! ERROR: transport error 202: listen failed: Permission denied ERROR: JDWP Transport dt\_socket failed to initialize, TRANSPORT\_INIT(510) JDWP exit error AGENT\_ERROR\_TRANSPORT…

---

## [Start, Exit and other buttons: main menu -\> game](https://discourse.processing.org/t/start-exit-and-other-buttons-main-menu-game/4834)

<div class="topic-metadata">

**Author:** [@SolDrakibane](https://discourse.processing.org/u/SolDrakibane)\
**Replies:** 1\
**Last updated:** [October 25, 2018, 10:11am UTC](https://discourse.processing.org/t/start-exit-and-other-buttons-main-menu-game/4834 "2018-10-25T10:11:08Z")

</div>

Alright - i need to make a main menu and want to have a start button, exit button and a highscore button (which pops up another menu). The thing is, i know how to make a button. But i can’t figure out how to make this bu…

---

## [Badly formed character constant](https://discourse.processing.org/t/badly-formed-character-constant/4832)

<div class="topic-metadata">

**Author:** [@somedude](https://discourse.processing.org/u/somedude)\
**Replies:** 3\
**Last updated:** [October 25, 2018, 10:03am UTC](https://discourse.processing.org/t/badly-formed-character-constant/4832 "2018-10-25T10:03:53Z")

</div>

im programming a character that moves on a background with the arrow keys and im having an issue i’ll leave the code on the description PImage bg, personagem; int px, py; boolean cima, baixo, esq, dir; void setup() {…

---

## [About processing with HTML Parsing](https://discourse.processing.org/t/about-processing-with-html-parsing/4401)

<div class="topic-metadata">

**Author:** [@sailor](https://discourse.processing.org/u/sailor)\
**Replies:** 2\
**Last updated:** [October 25, 2018, 9:58am UTC](https://discourse.processing.org/t/about-processing-with-html-parsing/4401 "2018-10-25T09:58:42Z")

</div>

I knew this page, http://www.aharef.info/2006/05/websites\_as\_graphs.htm, (original page where the animation were) some years ago (a snapshot is available here: https://web.archive.org/web/20150508185058/http://www.aharef…

---

## [Change a Class without changing it’s code?](https://discourse.processing.org/t/change-a-class-without-changing-it-s-code/4748)

<div class="topic-metadata">

**Author:** [@Lexyth](https://discourse.processing.org/u/Lexyth)\
**Replies:** 6\
**Last updated:** [October 25, 2018, 9:51am UTC](https://discourse.processing.org/t/change-a-class-without-changing-it-s-code/4748 "2018-10-25T09:51:22Z")

</div>

I have the following problem, i Need to change a Class that i have to Import from outside, But i can only Import and not Access it to change it. I also can‘t (could, But is much more complicated Solution) extend a new cl…

---

## [AudioFile ArrayIndexOutOvBoundsException: 3](https://discourse.processing.org/t/audiofile-arrayindexoutovboundsexception-3/4608)

<div class="topic-metadata">

**Author:** [@FerrariLuigi](https://discourse.processing.org/u/FerrariLuigi)\
**Replies:** 4\
**Last updated:** [October 25, 2018, 7:38am UTC](https://discourse.processing.org/t/audiofile-arrayindexoutovboundsexception-3/4608 "2018-10-25T07:38:08Z")

</div>

Dear all, I developed a very simple project: import processing.sound.\*; SoundFile f1; SoundFile f2; SoundFile f3; SoundFile f4; SoundFile f5; void setup() { loadAudioError(); } void draw() { } void loadAudioEr…

---

## [Unfolding maps in 2D renderer](https://discourse.processing.org/t/unfolding-maps-in-2d-renderer/4843)

<div class="topic-metadata">

**Author:** [@cooki](https://discourse.processing.org/u/cooki)\
**Replies:** 1\
**Last updated:** [October 25, 2018, 6:40am UTC](https://discourse.processing.org/t/unfolding-maps-in-2d-renderer/4843 "2018-10-25T06:40:37Z")

</div>

I am trying to run a sketch with a visualization of tweets on a map of Barcelona using the UnfoldingMaps library I made some time ago. I have been encountering the error: java.lang.NoSuchFieldError: quality I tried runni…

---

## [Font by data (Fontastic)](https://discourse.processing.org/t/font-by-data-fontastic/4840)

<div class="topic-metadata">

**Author:** [@vanoevelenstef](https://discourse.processing.org/u/vanoevelenstef)\
**Replies:** 0\
**Last updated:** [October 24, 2018, 9:01pm UTC](https://discourse.processing.org/t/font-by-data-fontastic/4840 "2018-10-24T21:01:08Z")

</div>

I’m a graphic designer and trying to create a font using Fontastic\_Library. The original version made a font using random function. I would like to draw the shapes using the mouseX and mouseY variables. Can’t figure it o…

---

## [Cp5 Textfield Focus](https://discourse.processing.org/t/cp5-textfield-focus/4734)

<div class="topic-metadata">

**Author:** [@seo](https://discourse.processing.org/u/seo)\
**Replies:** 2\
**Last updated:** [October 25, 2018, 5:08am UTC](https://discourse.processing.org/t/cp5-textfield-focus/4734 "2018-10-25T05:08:18Z")

</div>

Hi. I’m not used to English, sorry. cp5’s Textfield Focus is white and long. Is there a way to fix this? I really want to know. It will be really helpful if you let me know. Thanks.

---

## [selectInput() anomaly](https://discourse.processing.org/t/selectinput-anomaly/4504)

<div class="topic-metadata">

**Author:** [@moireGuy](https://discourse.processing.org/u/moireGuy)\
**Replies:** 1\
**Last updated:** [October 24, 2018, 8:30pm UTC](https://discourse.processing.org/t/selectinput-anomaly/4504 "2018-10-24T20:30:34Z")

</div>

Greetings all, I’ve encountered some anomalous behavior regarding the selectInput() function and the P3D renderer that I’m curious about. I’m running on a Windows 10 system. The following dummy code demonstrates the be…

---

## [Fatal error on trying to load program](https://discourse.processing.org/t/fatal-error-on-trying-to-load-program/4537)

<div class="topic-metadata">

**Author:** [@jonnno](https://discourse.processing.org/u/jonnno)\
**Replies:** 1\
**Last updated:** [October 24, 2018, 8:18pm UTC](https://discourse.processing.org/t/fatal-error-on-trying-to-load-program/4537 "2018-10-24T20:18:46Z")

</div>

about a year ago I used Processing to open DCC++ software. It worked fine A week ago I tried to open the same program and get an immediate error “an unexpected, unknown and unrecoverable error occurred while opening a …

---

## [What is the distance of the camera from the (x, y, 0) plane in P3D?](https://discourse.processing.org/t/what-is-the-distance-of-the-camera-from-the-x-y-0-plane-in-p3d/4388)

<div class="topic-metadata">

**Author:** [@Tsskyx](https://discourse.processing.org/u/Tsskyx)\
**Replies:** 3\
**Last updated:** [October 24, 2018, 8:05pm UTC](https://discourse.processing.org/t/what-is-the-distance-of-the-camera-from-the-x-y-0-plane-in-p3d/4388 "2018-10-24T20:05:20Z")

</div>

I’m making this simple 1st-person 3D environment and for that I need to know the distance of the camera (the 1st person) from the objects rendered on the screen. Alternatively, is there a way to move the camera so that …

---

## [Trying to replicate a creation - stuck with laying out PVectors along a curve](https://discourse.processing.org/t/trying-to-replicate-a-creation-stuck-with-laying-out-pvectors-along-a-curve/4725)

<div class="topic-metadata">

**Author:** [@henri](https://discourse.processing.org/u/henri)\
**Replies:** 9\
**Last updated:** [October 24, 2018, 7:58pm UTC](https://discourse.processing.org/t/trying-to-replicate-a-creation-stuck-with-laying-out-pvectors-along-a-curve/4725 "2018-10-24T19:58:47Z")

</div>

Hello, I am fairly new to Processing and coding in general. I have been trying to replicate a creation I found on the homepage of a studio called Yes. See www.yes.studio I have got quite close, managing to create a num…

---

## [Sorting algorithm method timeout occurred](https://discourse.processing.org/t/sorting-algorithm-method-timeout-occurred/4542)

<div class="topic-metadata">

**Author:** [@Marcus152](https://discourse.processing.org/u/Marcus152)\
**Replies:** 1\
**Last updated:** [October 24, 2018, 7:43pm UTC](https://discourse.processing.org/t/sorting-algorithm-method-timeout-occurred/4542 "2018-10-24T19:43:20Z")

</div>

Hey everybody! I’m trying to make a really stupid sorting algorithm as a joke, but I can’t seem to get it to work. It’s called “Supernatural Occurence Sort”, and basically, my idea was as follows: if nArr is sorted some…

---

## [Back/forward/extra mouse buttons](https://discourse.processing.org/t/back-forward-extra-mouse-buttons/4515)

<div class="topic-metadata">

**Author:** [@lmccandless](https://discourse.processing.org/u/lmccandless)\
**Replies:** 1\
**Last updated:** [October 24, 2018, 7:29pm UTC](https://discourse.processing.org/t/back-forward-extra-mouse-buttons/4515 "2018-10-24T19:29:24Z")

</div>

Trying to use the back/forward buttons on the side of my mouse, it doesn’t show up with mousePressed, key, or keyCode. Is this broken out anywhere?

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

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