# Processing

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

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

**Page:** 239

---

## [Java.awt.Robot coordinates](https://discourse.processing.org/t/java-awt-robot-coordinates/4967)

<div class="topic-metadata">

**Author:** [@germaine](https://discourse.processing.org/u/germaine)\
**Replies:** 4\
**Last updated:** [February 7, 2020, 7:46pm UTC](https://discourse.processing.org/t/java-awt-robot-coordinates/4967 "2020-02-07T19:46:43Z")

</div>

I’ve been playing with the Robot.mouseMove() function to move the mouse cursor around. The x,y coordinates you put in the function move the cursor to any location on the screen. However, I want the cursor to move from o…

---

## [Access Webcam with FaceOSC + Processing Simultaneously](https://discourse.processing.org/t/access-webcam-with-faceosc-processing-simultaneously/17401)

<div class="topic-metadata">

**Author:** [@jaredeh](https://discourse.processing.org/u/jaredeh)\
**Replies:** 1\
**Last updated:** [February 7, 2020, 7:46pm UTC](https://discourse.processing.org/t/access-webcam-with-faceosc-processing-simultaneously/17401 "2020-02-07T19:46:20Z")

</div>

Hi all ~ I’m using FaceOSC to get facial recognition data into Processing and doing some stuff with that data. I would also like to access the Capture image of my webcam in the same Processing sketch. Unfortunately it s…

---

## [G4P controls loose their positions in proscene while resizing the window!](https://discourse.processing.org/t/g4p-controls-loose-their-positions-in-proscene-while-resizing-the-window/17109)

<div class="topic-metadata">

**Author:** [@H\_Bacardi](https://discourse.processing.org/u/H_Bacardi)\
**Replies:** 10\
**Last updated:** [February 7, 2020, 7:44pm UTC](https://discourse.processing.org/t/g4p-controls-loose-their-positions-in-proscene-while-resizing-the-window/17109 "2020-02-07T19:44:39Z")

</div>

Hello, im new in processing and i need your help. I want to manipulate a loaded object in proscene with a GUI. For my design are the g4p controls the best and i love the GUI builder. But i have at the momet this problem…

---

## [AP Project Help](https://discourse.processing.org/t/ap-project-help/17599)

<div class="topic-metadata">

**Author:** [@Thaunagamer](https://discourse.processing.org/u/Thaunagamer)\
**Replies:** 2\
**Last updated:** [February 7, 2020, 7:29pm UTC](https://discourse.processing.org/t/ap-project-help/17599 "2020-02-07T19:29:16Z")

</div>

Hi, I know helping people fully solve their answer with their code might be a forbidden taboo and that I should try and debugging and using println(); to solve my problems. But I have tried many different solutions invol…

---

## [Capturing Net Client Error if Server Not Running](https://discourse.processing.org/t/capturing-net-client-error-if-server-not-running/17536)

<div class="topic-metadata">

**Author:** [@redeployed](https://discourse.processing.org/u/redeployed)\
**Replies:** 6\
**Last updated:** [February 7, 2020, 1:25am UTC](https://discourse.processing.org/t/capturing-net-client-error-if-server-not-running/17536 "2020-02-07T01:25:29Z")

</div>

Hi, I’m trying to program a client application based on the SharedCanvasClient example. My current task is to handle the case where the server might not be running. When the server example is not running and I run the …

---

## [X11Util.Display: Shutdown](https://discourse.processing.org/t/x11util-display-shutdown/7292)

<div class="topic-metadata">

**Author:** [@joey](https://discourse.processing.org/u/joey)\
**Replies:** 9\
**Last updated:** [February 6, 2020, 2:24pm UTC](https://discourse.processing.org/t/x11util-display-shutdown/7292 "2020-02-06T14:24:22Z")

</div>

X11Util.Display: Shutdown (JVM shutdown: true, open (no close attempt): 2/2, reusable (open, marked uncloseable): 0, pending (open in creation order): 2) X11Util: Open X11 Display Connections: 2 X11Util: Open\[0\]: Named…

---

## [Can I Export My App?](https://discourse.processing.org/t/can-i-export-my-app/17581)

<div class="topic-metadata">

**Author:** [@iamjustcurious](https://discourse.processing.org/u/iamjustcurious)\
**Replies:** 2\
**Last updated:** [February 6, 2020, 12:51pm UTC](https://discourse.processing.org/t/can-i-export-my-app/17581 "2020-02-06T12:51:42Z")

</div>

Hi, I have finished my app with processing. Is there any way to build or export my app to Windows? I don’t want to open the Processing and run it from there. Another Question Can I export to Android? If so, how? Ple…

---

## [Trying to color an image using a palette](https://discourse.processing.org/t/trying-to-color-an-image-using-a-palette/17572)

<div class="topic-metadata">

**Author:** [@pacoruiz](https://discourse.processing.org/u/pacoruiz)\
**Replies:** 2\
**Last updated:** [February 6, 2020, 10:12am UTC](https://discourse.processing.org/t/trying-to-color-an-image-using-a-palette/17572 "2020-02-06T10:12:50Z")

</div>

Hi. Im trying to make an sketch that takes an image and an array of five colors and change all pixels and substitute them for the color of the array that have hue and saturation more closer to that point, letting the br…

---

## [How to save high score?](https://discourse.processing.org/t/how-to-save-high-score/17566)

<div class="topic-metadata">

**Author:** [@nati1704](https://discourse.processing.org/u/nati1704)\
**Replies:** 2\
**Last updated:** [February 6, 2020, 6:50am UTC](https://discourse.processing.org/t/how-to-save-high-score/17566 "2020-02-06T06:50:54Z")

</div>

Hey, I have to make a little game for school project. I have little problem - I have no idea how to save a high score I need a txt document right, but how do I insert data from the document into the game? Thanks

---

## [Creating array of colors with lerpColor](https://discourse.processing.org/t/creating-array-of-colors-with-lerpcolor/17554)

<div class="topic-metadata">

**Author:** [@debxyz](https://discourse.processing.org/u/debxyz)\
**Replies:** 2\
**Last updated:** [February 5, 2020, 7:55pm UTC](https://discourse.processing.org/t/creating-array-of-colors-with-lerpcolor/17554 "2020-02-05T19:55:24Z")

</div>

@Chrisir (I don’t know what happened to my response as I had withdrawn the topic. But am reposting the response here…) No problem at all!! I was just now working on this and have arrived at the following solution. M…

---

## [ControlP5 Button Labels Made Upper Case](https://discourse.processing.org/t/controlp5-button-labels-made-upper-case/17558)

<div class="topic-metadata">

**Author:** [@spflanze](https://discourse.processing.org/u/spflanze)\
**Replies:** 1\
**Last updated:** [February 5, 2020, 3:17am UTC](https://discourse.processing.org/t/controlp5-button-labels-made-upper-case/17558 "2020-02-05T03:17:14Z")

</div>

I am using the ControlP5 library to create buttons on the GUI. ControlP5 alters all characters I put in a button’s label to be in upper case. This is undesirable for me. Can this be prevented?

---

## [Getting Started With Processing?](https://discourse.processing.org/t/getting-started-with-processing/17556)

<div class="topic-metadata">

**Author:** [@JohnDoe1972](https://discourse.processing.org/u/JohnDoe1972)\
**Replies:** 3\
**Last updated:** [February 4, 2020, 10:14pm UTC](https://discourse.processing.org/t/getting-started-with-processing/17556 "2020-02-04T22:14:37Z")

</div>

Hey Guys, I’ve just started reading through ‘Getting Started with Processing’ and have successfully drawn a circle :slight\_smile: The very next example ‘Example 2-2 Make circles’ however gives an error.‘Cannot find a typ…

---

## [Tracing a point on a moving circle](https://discourse.processing.org/t/tracing-a-point-on-a-moving-circle/17544)

<div class="topic-metadata">

**Author:** [@ndelong91](https://discourse.processing.org/u/ndelong91)\
**Replies:** 1\
**Last updated:** [February 4, 2020, 7:35pm UTC](https://discourse.processing.org/t/tracing-a-point-on-a-moving-circle/17544 "2020-02-04T19:35:05Z")

</div>

I am trying to create an animation of a cardioid, I currently have 2 circles: one is set to (0, 0) translated to width/2, height/2 (center). the other is moving around the stationary I would like to start at point(-1…

---

## [Check For USB Port Connection](https://discourse.processing.org/t/check-for-usb-port-connection/17406)

<div class="topic-metadata">

**Author:** [@fredstout](https://discourse.processing.org/u/fredstout)\
**Replies:** 21\
**Last updated:** [February 4, 2020, 6:43pm UTC](https://discourse.processing.org/t/check-for-usb-port-connection/17406 "2020-02-04T18:43:34Z")

</div>

My sketch seems to work well unless I forget to plug in the USB-based input (Arduino). If I fail to connect the USB, my sketch fails in a most ungracious manner(appears to lockup in a loop). Can someone help with the c…

---

## [Escaping string path](https://discourse.processing.org/t/escaping-string-path/17549)

<div class="topic-metadata">

**Author:** [@plux](https://discourse.processing.org/u/plux)\
**Replies:** 1\
**Last updated:** [February 4, 2020, 5:50pm UTC](https://discourse.processing.org/t/escaping-string-path/17549 "2020-02-04T17:50:33Z")

</div>

Hello, I have the following string that gives me error (replaced some with “abc” for privacy) String dir = "D:\\OneDrive - Abc abc abc abc \\ABC\\processing-3.0.1\\abc\\CsvPaddingAutomator"; Error: Not expecting symbol 'O…

---

## [Distance Checking of Static Objects](https://discourse.processing.org/t/distance-checking-of-static-objects/17519)

<div class="topic-metadata">

**Author:** [@zavierboyles](https://discourse.processing.org/u/zavierboyles)\
**Replies:** 1\
**Last updated:** [February 4, 2020, 8:34am UTC](https://discourse.processing.org/t/distance-checking-of-static-objects/17519 "2020-02-04T08:34:26Z")

</div>

Hi. I’m trying to draw an array of 9 flowers in such a way that there is no overlap and the centres are on within the boundaries of the canvas. I’ve come up with a method so that the flowers are at least spawning far en…

---

## [Using selectOutput](https://discourse.processing.org/t/using-selectoutput/17534)

<div class="topic-metadata">

**Author:** [@spflanze](https://discourse.processing.org/u/spflanze)\
**Replies:** 1\
**Last updated:** [February 4, 2020, 1:50am UTC](https://discourse.processing.org/t/using-selectoutput/17534 "2020-02-04T01:50:51Z")

</div>

I seek to add a file browser to my application. I see that the selectOutput, and selectInput, classes were made for it. In this document for selectOutput: https://processing.org/reference/selectOutput\_.html I see const…

---

## [Is it possible to develop for Oculus Quest with processing?](https://discourse.processing.org/t/is-it-possible-to-develop-for-oculus-quest-with-processing/17527)

<div class="topic-metadata">

**Author:** [@BernOC](https://discourse.processing.org/u/BernOC)\
**Replies:** 1\
**Last updated:** [February 4, 2020, 12:29am UTC](https://discourse.processing.org/t/is-it-possible-to-develop-for-oculus-quest-with-processing/17527 "2020-02-04T00:29:25Z")

</div>

It’s probably easier to use something like Unity for this, but as part of a college module, we must use Processing. Thanks in advance

---

## [Avoiding tile overlap (of colorful plastic toy shapes)](https://discourse.processing.org/t/avoiding-tile-overlap-of-colorful-plastic-toy-shapes/17525)

<div class="topic-metadata">

**Author:** [@mortap](https://discourse.processing.org/u/mortap)\
**Replies:** 1\
**Last updated:** [February 3, 2020, 9:59pm UTC](https://discourse.processing.org/t/avoiding-tile-overlap-of-colorful-plastic-toy-shapes/17525 "2020-02-03T21:59:17Z")

</div>

Below is code I’m working on to display those little plastic toy shapes (hexagon, triangle, square, etc…) and I wanted to find a way to prevent a new shape from overlapping previous ones. So far I have the shapes display…

---

## [Moving circle with arrow keys](https://discourse.processing.org/t/moving-circle-with-arrow-keys/10586)

<div class="topic-metadata">

**Author:** [@S.L.C.S](https://discourse.processing.org/u/S.L.C.S)\
**Replies:** 6\
**Last updated:** [February 3, 2020, 7:37pm UTC](https://discourse.processing.org/t/moving-circle-with-arrow-keys/10586 "2020-02-03T19:37:29Z")

</div>

hello everyone, I have an assignment that says i have to make a circle that moves when the arrow keys are pressed and it shouldn’t leave the canvas, but i’m having a problem with keeping the circle within the canvas…i n…

---

## [Found some problem with color](https://discourse.processing.org/t/found-some-problem-with-color/17521)

<div class="topic-metadata">

**Author:** [@Daniele92](https://discourse.processing.org/u/Daniele92)\
**Replies:** 5\
**Last updated:** [February 3, 2020, 6:36pm UTC](https://discourse.processing.org/t/found-some-problem-with-color/17521 "2020-02-03T18:36:11Z")

</div>

color c= color(#2f4f4f); color b= color(115,10,100); color a= color(0,100,255); void setup() { size(500,500); background(255); for(int i = 0; i\<100; i++) { rett(int(random(width)), int(random(height)), …

---

## [Processing JavaDoc index.html](https://discourse.processing.org/t/processing-javadoc-index-html/17158)

<div class="topic-metadata">

**Author:** [@Thomas](https://discourse.processing.org/u/Thomas)\
**Replies:** 14\
**Last updated:** [February 3, 2020, 5:46pm UTC](https://discourse.processing.org/t/processing-javadoc-index-html/17158 "2020-02-03T17:46:13Z")

</div>

Hi all, I’m trying to generate a structured overview of my code in Processing (similar to a JavaDoc I believe). I added some doc comments, after which I do: ‘file --\> export application --\> windows’, from the PDE. Accor…

---

## [I need help I don’t know how to set it up](https://discourse.processing.org/t/i-need-help-i-don-t-know-how-to-set-it-up/17528)

<div class="topic-metadata">

**Author:** [@ImConfused](https://discourse.processing.org/u/ImConfused)\
**Replies:** 2\
**Last updated:** [February 3, 2020, 5:20pm UTC](https://discourse.processing.org/t/i-need-help-i-don-t-know-how-to-set-it-up/17528 "2020-02-03T17:20:13Z")

</div>

I have no clue how to setup this up I have to make a bunch of tiny squares change color

---

## [Problem with robot cursor](https://discourse.processing.org/t/problem-with-robot-cursor/2046)

<div class="topic-metadata">

**Author:** [@erwrow](https://discourse.processing.org/u/erwrow)\
**Replies:** 9\
**Last updated:** [February 3, 2020, 1:46pm UTC](https://discourse.processing.org/t/problem-with-robot-cursor/2046 "2020-02-03T13:46:14Z")

</div>

Greetings everyone! i was making a program that moves the camera and lets you ovserve an object from any direction (using w, a, s, d and the mouse, kinda like a game), to do that i use the robot class to restart the posi…

---

## [Problems with my video](https://discourse.processing.org/t/problems-with-my-video/17512)

<div class="topic-metadata">

**Author:** [@amprocessing](https://discourse.processing.org/u/amprocessing)\
**Replies:** 2\
**Last updated:** [February 3, 2020, 2:58am UTC](https://discourse.processing.org/t/problems-with-my-video/17512 "2020-02-03T02:58:44Z")

</div>

So, in my code I uses g4p guide in order to help me create a user interface and buttons, as I am a beginner. when the button is pressed, the video should begin to play, and the buttons disappears. The video begins to pla…

---

## [Easier way to write if else statement](https://discourse.processing.org/t/easier-way-to-write-if-else-statement/17250)

<div class="topic-metadata">

**Author:** [@MikkelS](https://discourse.processing.org/u/MikkelS)\
**Replies:** 6\
**Last updated:** [February 2, 2020, 9:44pm UTC](https://discourse.processing.org/t/easier-way-to-write-if-else-statement/17250 "2020-02-02T21:44:09Z")

</div>

Hey, I was just wondering if there exists an easier way to write the following code? if (lives == 3) { // image(heart, heartX1, heartY, heartWH, heartWH); image(heart, heartX2, heartY, heartWH, heartWH);…

---

## [Minimum and maximum random numbers](https://discourse.processing.org/t/minimum-and-maximum-random-numbers/16888)

<div class="topic-metadata">

**Author:** [@paulstgeorge](https://discourse.processing.org/u/paulstgeorge)\
**Replies:** 12\
**Last updated:** [February 2, 2020, 2:54pm UTC](https://discourse.processing.org/t/minimum-and-maximum-random-numbers/16888 "2020-02-02T14:54:09Z")

</div>

I want to generate two random numbers. The numbers will be used to limit a range of hues (minimum 0, maximum 360). I can do it like this: float start; float end; //… start = random(0,360); end = start + random(45,90)…

---

## [Drawn object stops moving away?](https://discourse.processing.org/t/drawn-object-stops-moving-away/17493)

<div class="topic-metadata">

**Author:** [@jedslater](https://discourse.processing.org/u/jedslater)\
**Replies:** 2\
**Last updated:** [February 2, 2020, 3:11am UTC](https://discourse.processing.org/t/drawn-object-stops-moving-away/17493 "2020-02-02T03:11:01Z")

</div>

Hi there! I’ve been working on some sketches using the contours of a 3D object to draw onto the canvas. In order to give the appearance of the object (in this case a box) moving into the distance, I increment the value o…

---

## [saveFrame() doesn't match real time](https://discourse.processing.org/t/saveframe-doesnt-match-real-time/17397)

<div class="topic-metadata">

**Author:** [@BrokenCode](https://discourse.processing.org/u/BrokenCode)\
**Replies:** 2\
**Last updated:** [February 1, 2020, 9:02pm UTC](https://discourse.processing.org/t/saveframe-doesnt-match-real-time/17397 "2020-02-01T21:02:14Z")

</div>

Hello everyone, I have a very tricky question here. Why saveFrame() doesn’t write all the frames as it should? I mean, if I have a grid of 28 tiles (println(points.size());), and I wait 1 second to fill each tile: if (…

---

## [Problem making the ticks fit on the grid](https://discourse.processing.org/t/problem-making-the-ticks-fit-on-the-grid/17501)

<div class="topic-metadata">

**Author:** [@Priscilla\_van\_Gritte](https://discourse.processing.org/u/Priscilla_van_Gritte)\
**Replies:** 7\
**Last updated:** [February 2, 2020, 12:24am UTC](https://discourse.processing.org/t/problem-making-the-ticks-fit-on-the-grid/17501 "2020-02-02T00:24:41Z")

</div>

Regards, I have problems with ticking shoes on the grid. For example using the following code. public void setup(){ size(1000, 600, JAVA2D); background(17,34,51); // Color de fondo principal rect(-1, 95,…

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

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