# Processing

**URL:** https://discourse.processing.org/c/processing/6.md?page=92

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

**Page:** 93

---

## [Unable to launch Processing on Win 10 Pro 64 bit](https://discourse.processing.org/t/unable-to-launch-processing-on-win-10-pro-64-bit/8336)

<div class="topic-metadata">

**Author:** [@hificannon](https://discourse.processing.org/u/hificannon)\
**Replies:** 2\
**Last updated:** [February 11, 2022, 6:38pm UTC](https://discourse.processing.org/t/unable-to-launch-processing-on-win-10-pro-64-bit/8336 "2022-02-11T18:38:19Z")

</div>

Hello, When I attempt to launch Processing on Windows 10 Pro 64 bit the launch screen briefly appears and then closes. Processing has not written any preferences to my user folder. I’ve run the program from the Deskto…

---

## [Processing 3.5.4 crashing on startup](https://discourse.processing.org/t/processing-3-5-4-crashing-on-startup/20518)

<div class="topic-metadata">

**Author:** [@twistedpair](https://discourse.processing.org/u/twistedpair)\
**Replies:** 4\
**Last updated:** [February 11, 2022, 6:37pm UTC](https://discourse.processing.org/t/processing-3-5-4-crashing-on-startup/20518 "2022-02-11T18:37:45Z")

</div>

I am trying to open up the software in Windows 10, but it shows the splash screen for a couple seconds and closes down. I tried updating Java and redownloading Processing, which didn’t help. I went into the Appdata/roa…

---

## [Call the Java Compiler from Processing](https://discourse.processing.org/t/call-the-java-compiler-from-processing/35076)

<div class="topic-metadata">

**Author:** [@NumericPrime](https://discourse.processing.org/u/NumericPrime)\
**Replies:** 4\
**Last updated:** [February 11, 2022, 3:30pm UTC](https://discourse.processing.org/t/call-the-java-compiler-from-processing/35076 "2022-02-11T15:30:08Z")

</div>

I’m currently writing a library for a few friends of mine who use Processing and it would be cool if I were to include a possibiity to compile and run Java-code. I used a code I already used for another project. However…

---

## [Clear PGraphic after image()](https://discourse.processing.org/t/clear-pgraphic-after-image/35074)

<div class="topic-metadata">

**Author:** [@Omri](https://discourse.processing.org/u/Omri)\
**Replies:** 2\
**Last updated:** [February 11, 2022, 11:04am UTC](https://discourse.processing.org/t/clear-pgraphic-after-image/35074 "2022-02-11T11:04:32Z")

</div>

Hey, I have some problem I can’t figure out: I want to draw a circle on a screen by the mouseX mouseY cords (I want the draw to stay on the screen so I refresh the background un the draw function) , and above it I’m try…

---

## [Client socket nonsense](https://discourse.processing.org/t/client-socket-nonsense/33635)

<div class="topic-metadata">

**Author:** [@joepekoe](https://discourse.processing.org/u/joepekoe)\
**Replies:** 1\
**Last updated:** [February 11, 2022, 10:37am UTC](https://discourse.processing.org/t/client-socket-nonsense/33635 "2022-02-11T10:37:09Z")

</div>

Processing version: 3.5.4 Client got end-of-stream. Client SocketException: Socket closed Socket exception handling in Processing has proven to be nothing less than frustrating and an annoyance. An electronic chase a…

---

## [Problems with noise flow field](https://discourse.processing.org/t/problems-with-noise-flow-field/35082)

<div class="topic-metadata">

**Author:** [@alex119](https://discourse.processing.org/u/alex119)\
**Replies:** 0\
**Last updated:** [February 10, 2022, 9:28pm UTC](https://discourse.processing.org/t/problems-with-noise-flow-field/35082 "2022-02-10T21:28:49Z")

</div>

Hello, I try to follow the Perlin noise flow field video: I have a weird behaviour and I don’t understand why. First, here is the code, similar to the one from the video: flow\_field file: int cols, rows;…

---

## [Drawing inside a shape](https://discourse.processing.org/t/drawing-inside-a-shape/34685)

<div class="topic-metadata">

**Author:** [@yalaniv](https://discourse.processing.org/u/yalaniv)\
**Replies:** 10\
**Last updated:** [February 10, 2022, 7:13am UTC](https://discourse.processing.org/t/drawing-inside-a-shape/34685 "2022-02-10T07:13:32Z")

</div>

I want to paint inside a shape. let me explain : I want to write a big word on the screen, for example: BEST and I want to paint only in the parts of the letters (imagine that I paint on all the size of screen, than …

---

## [Telling the computer to hold down a key](https://discourse.processing.org/t/telling-the-computer-to-hold-down-a-key/34945)

<div class="topic-metadata">

**Author:** [@Grumpy\_Mike](https://discourse.processing.org/u/Grumpy_Mike)\
**Replies:** 10\
**Last updated:** [February 9, 2022, 11:40pm UTC](https://discourse.processing.org/t/telling-the-computer-to-hold-down-a-key/34945 "2022-02-09T23:40:37Z")

</div>

I have a friend who is disabled and can only use a commercial head mounted mouth joystick. With this he can use his tong to move the mouse pointer, and a blow down the tube for a click. Unfortunately he can’t do a doubl…

---

## [Processing 4 beta 4 crash on start](https://discourse.processing.org/t/processing-4-beta-4-crash-on-start/34872)

<div class="topic-metadata">

**Author:** [@hamoid](https://discourse.processing.org/u/hamoid)\
**Replies:** 1\
**Last updated:** [February 9, 2022, 11:43am UTC](https://discourse.processing.org/t/processing-4-beta-4-crash-on-start/34872 "2022-02-09T11:43:54Z")

</div>

Hi :slight\_smile: Downloaded Processing 4 beta 4, tried running it from the terminal and I’m greeted with this window, then it closes. Ubuntu 21.04. Any ideas? Not urgent, just wondering if an issue should be created on …

---

## [Getting data from Home wireless sensors](https://discourse.processing.org/t/getting-data-from-home-wireless-sensors/35063)

<div class="topic-metadata">

**Author:** [@PeterMc](https://discourse.processing.org/u/PeterMc)\
**Replies:** 0\
**Last updated:** [February 9, 2022, 11:01am UTC](https://discourse.processing.org/t/getting-data-from-home-wireless-sensors/35063 "2022-02-09T11:01:35Z")

</div>

has anyone managed to access data from a home sensor like the Ikea motion sensor (or similar)? If so how to you do it?

---

## [Performance issue when rendering multiple objects](https://discourse.processing.org/t/performance-issue-when-rendering-multiple-objects/34895)

<div class="topic-metadata">

**Author:** [@CaptainChameleon](https://discourse.processing.org/u/CaptainChameleon)\
**Replies:** 8\
**Last updated:** [February 9, 2022, 9:46am UTC](https://discourse.processing.org/t/performance-issue-when-rendering-multiple-objects/34895 "2022-02-09T09:46:13Z")

</div>

Hello there! I’m trying to recreate the solar system with Processing using somewhat realistic proportions (at scale) and real astronomical data. My goal is to instill a feeling of vastness; users should get an approximat…

---

## [How do i take a input that is space separated?](https://discourse.processing.org/t/how-do-i-take-a-input-that-is-space-separated/34905)

<div class="topic-metadata">

**Author:** [@Zan](https://discourse.processing.org/u/Zan)\
**Replies:** 25\
**Last updated:** [February 9, 2022, 9:40am UTC](https://discourse.processing.org/t/how-do-i-take-a-input-that-is-space-separated/34905 "2022-02-09T09:40:18Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hi, can anyone advise me on How do I take input that is space-separated? and then putting in a for loop to draw a circle

---

## [Empty pixels array when playing a movie](https://discourse.processing.org/t/empty-pixels-array-when-playing-a-movie/24235)

<div class="topic-metadata">

**Author:** [@protagoras](https://discourse.processing.org/u/protagoras)\
**Replies:** 3\
**Last updated:** [February 9, 2022, 9:36am UTC](https://discourse.processing.org/t/empty-pixels-array-when-playing-a-movie/24235 "2022-02-09T09:36:32Z")

</div>

Hi there, I’m trying to mess with some video using Processing, but I get an error whenever I try to use video.pixels, even after doing video.loadPixels() import processing.video.\*; Movie video; void setup() { loadP…

---

## [Animating spiral](https://discourse.processing.org/t/animating-spiral/35056)

<div class="topic-metadata">

**Author:** [@Prokyovec](https://discourse.processing.org/u/Prokyovec)\
**Replies:** 0\
**Last updated:** [February 8, 2022, 11:47pm UTC](https://discourse.processing.org/t/animating-spiral/35056 "2022-02-08T23:47:23Z")

</div>

Hey Everyone! I am a beginner in Processing and I have a homework to do which has to be done till friday xdd The point is I dont know what to do and I need your help :d Here is the final result how it should look like. …

---

## [Processing 4. Change editor window colour?](https://discourse.processing.org/t/processing-4-change-editor-window-colour/31717)

<div class="topic-metadata">

**Author:** [@JSGauthier](https://discourse.processing.org/u/JSGauthier)\
**Replies:** 9\
**Last updated:** [February 8, 2022, 6:53pm UTC](https://discourse.processing.org/t/processing-4-change-editor-window-colour/31717 "2022-02-08T18:53:17Z")

</div>

Hi there, Does anyone know hw to change the background colour in the editor window on P4 to a darker colour? I find the new tone of blue too bright and it tires my eyes. Thanks, JS

---

## [Bug with points?](https://discourse.processing.org/t/bug-with-points/35046)

<div class="topic-metadata">

**Author:** [@hanslas](https://discourse.processing.org/u/hanslas)\
**Replies:** 1\
**Last updated:** [February 8, 2022, 4:09pm UTC](https://discourse.processing.org/t/bug-with-points/35046 "2022-02-08T16:09:21Z")

</div>

I’ve tried this very simple code during a Processing introduction course One of the students has a windows machine with a windows build 1904.1466 on it it turns out that the drawn line (so the points) at the last part…

---

## [If statements in array](https://discourse.processing.org/t/if-statements-in-array/34670)

<div class="topic-metadata">

**Author:** [@Jimma](https://discourse.processing.org/u/Jimma)\
**Replies:** 2\
**Last updated:** [February 8, 2022, 1:03pm UTC](https://discourse.processing.org/t/if-statements-in-array/34670 "2022-02-08T13:03:26Z")

</div>

Hi all, First of all I am very inexperienced with processing and this is a first attempt to create a simple set of rules. My goal is to transfer between various states (A,B,C,D) and finally make the program terminate it…

---

## [Switch audio playing on face distance from cam](https://discourse.processing.org/t/switch-audio-playing-on-face-distance-from-cam/35027)

<div class="topic-metadata">

**Author:** [@LooSiuni](https://discourse.processing.org/u/LooSiuni)\
**Replies:** 4\
**Last updated:** [February 8, 2022, 9:48am UTC](https://discourse.processing.org/t/switch-audio-playing-on-face-distance-from-cam/35027 "2022-02-08T09:48:33Z")

</div>

So I have a code I am writing where I use OpenCV for face detection and I am switching between 2 scenes depending on the distance the face is from the camera. But I have to put one audio file to play for each of these, a…

---

## [Void error what is wrong?](https://discourse.processing.org/t/void-error-what-is-wrong/35030)

<div class="topic-metadata">

**Author:** [@SharkJulen](https://discourse.processing.org/u/SharkJulen)\
**Replies:** 5\
**Last updated:** [February 7, 2022, 9:38pm UTC](https://discourse.processing.org/t/void-error-what-is-wrong/35030 "2022-02-07T21:38:15Z")

</div>

please format code with \</\> button \* homework policy \* asking questions int y=290; int z=2; PImage pista1; PImage chico2; int contador=0; int x=0; int y=0; boolean clic=false void setup(){ size(600,400); pi…

---

## [Gluegen\_rt.dll: Can't find dependent libraries](https://discourse.processing.org/t/gluegen-rt-dll-cant-find-dependent-libraries/32971)

<div class="topic-metadata">

**Author:** [@yalaniv](https://discourse.processing.org/u/yalaniv)\
**Replies:** 3\
**Last updated:** [February 7, 2022, 6:08pm UTC](https://discourse.processing.org/t/gluegen-rt-dll-cant-find-dependent-libraries/32971 "2022-02-07T18:08:44Z")

</div>

I am trying to run some code someone gave me as an answer for a question, and I got the error attached at the end. When I search for the line in the subject in Google, I find answers that I am trying to run 32bit code o…

---

## [Image tracking processing](https://discourse.processing.org/t/image-tracking-processing/34864)

<div class="topic-metadata">

**Author:** [@doni](https://discourse.processing.org/u/doni)\
**Replies:** 21\
**Last updated:** [February 1, 2022, 8:55am UTC](https://discourse.processing.org/t/image-tracking-processing/34864 "2022-02-01T08:55:05Z")

</div>

hi forum. i just combining processing code brightest tracking to send x val to arduino but the servo wont move. this is the code import processing.video.\*; import processing.serial.\*; //import the serial library Captur…

---

## [Opening assets inside folders](https://discourse.processing.org/t/opening-assets-inside-folders/35010)

<div class="topic-metadata">

**Author:** [@JoseMY](https://discourse.processing.org/u/JoseMY)\
**Replies:** 3\
**Last updated:** [February 7, 2022, 7:15am UTC](https://discourse.processing.org/t/opening-assets-inside-folders/35010 "2022-02-07T07:15:03Z")

</div>

Hi! I’m doing a big project using processing. I have a bunch of files containing assets, and I want to store them in data folder/font\_assets data folder/sprite assets etc. But when I try to load them, everything fai…

---

## [Displaying, exporting generated svgs](https://discourse.processing.org/t/displaying-exporting-generated-svgs/35015)

<div class="topic-metadata">

**Author:** [@bcabc](https://discourse.processing.org/u/bcabc)\
**Replies:** 1\
**Last updated:** [February 7, 2022, 6:22am UTC](https://discourse.processing.org/t/displaying-exporting-generated-svgs/35015 "2022-02-07T06:22:10Z")

</div>

hi there - i have been through the examples of exporting svgs from processing, at this url: https://processing.org/reference/libraries/svg/index.html i am looking for a solution that falls between these examples, thou…

---

## [How to hide one side of a vertex?](https://discourse.processing.org/t/how-to-hide-one-side-of-a-vertex/34857)

<div class="topic-metadata">

**Author:** [@xerneas02](https://discourse.processing.org/u/xerneas02)\
**Replies:** 1\
**Last updated:** [February 6, 2022, 2:06pm UTC](https://discourse.processing.org/t/how-to-hide-one-side-of-a-vertex/34857 "2022-02-06T14:06:16Z")

</div>

Hello, I am working on little 3D project in processing and to do so i have create a cube using vertex (i don’t use box cause i want to be able to hide each face of the cube indivdualy) and i was wondering if it’s possib…

---

## [Windows64 export application is massive](https://discourse.processing.org/t/windows64-export-application-is-massive/35006)

<div class="topic-metadata">

**Author:** [@CodeMasterX](https://discourse.processing.org/u/CodeMasterX)\
**Replies:** 2\
**Last updated:** [February 6, 2022, 1:40pm UTC](https://discourse.processing.org/t/windows64-export-application-is-massive/35006 "2022-02-06T13:40:22Z")

</div>

Not really sure which tag to use but yeah. So I made a project that I want to show to a friend, however, he doesn’t have processing installed. So I exported the application and checked the files. the windows64 version w…

---

## [Serial Routine Crashing with Latest Java jre-8u261](https://discourse.processing.org/t/serial-routine-crashing-with-latest-java-jre-8u261/22798)

<div class="topic-metadata">

**Author:** [@PhilHaw](https://discourse.processing.org/u/PhilHaw)\
**Replies:** 10\
**Last updated:** [February 6, 2022, 1:39pm UTC](https://discourse.processing.org/t/serial-routine-crashing-with-latest-java-jre-8u261/22798 "2022-02-06T13:39:14Z")

</div>

After updating Java to the latest version jre8u261 a couple of my Processing apps now crash when I try to open a Serial (COM) port. They worked fine with jre8u251 that I had installed. The apps run ok in the Processing …

---

## [updatePixels() on P3D texture](https://discourse.processing.org/t/updatepixels-on-p3d-texture/34978)

<div class="topic-metadata">

**Author:** [@garrettlynch](https://discourse.processing.org/u/garrettlynch)\
**Replies:** 4\
**Last updated:** [February 6, 2022, 1:23pm UTC](https://discourse.processing.org/t/updatepixels-on-p3d-texture/34978 "2022-02-06T13:23:11Z")

</div>

Hi Is it possible to updatePixels() of a texture in P3D? Here is what I have but I’m only getting a black image or no image - works just fine if I load an image from file. I have tried moving setTexture to draw() to for…

---

## [Sphere caused an error: A library relies on native code that's not available](https://discourse.processing.org/t/sphere-caused-an-error-a-library-relies-on-native-code-thats-not-available/35007)

<div class="topic-metadata">

**Author:** [@yalaniv](https://discourse.processing.org/u/yalaniv)\
**Replies:** 0\
**Last updated:** [February 6, 2022, 12:33pm UTC](https://discourse.processing.org/t/sphere-caused-an-error-a-library-relies-on-native-code-thats-not-available/35007 "2022-02-06T12:33:07Z")

</div>

I copied a code from the examples: size(400, 400, P3D); noStroke(); lights(); translate(232, 192, 0); sphere(112); and got an error: A library relies on native code that’s not available. Or only works properly when t…

---

## [Needing help with coding an object following the player by turning towards him](https://discourse.processing.org/t/needing-help-with-coding-an-object-following-the-player-by-turning-towards-him/34997)

<div class="topic-metadata">

**Author:** [@SailorToei](https://discourse.processing.org/u/SailorToei)\
**Replies:** 4\
**Last updated:** [February 6, 2022, 12:19pm UTC](https://discourse.processing.org/t/needing-help-with-coding-an-object-following-the-player-by-turning-towards-him/34997 "2022-02-06T12:19:34Z")

</div>

Hello, originally this is a problem I found when doing 3D games. I got the formula xPos=sin(turn)\*speed+xPos and zPos=cos(turn)\*speed+zPos from here, it is a formula to move a playable figure. The turn is made from the c…

---

## [O P5.js \> websocket \> Processing \> OSC \> Unity](https://discourse.processing.org/t/o-p5-js-websocket-processing-osc-unity/35004)

<div class="topic-metadata">

**Author:** [@MaxMax](https://discourse.processing.org/u/MaxMax)\
**Replies:** 0\
**Last updated:** [February 6, 2022, 9:55am UTC](https://discourse.processing.org/t/o-p5-js-websocket-processing-osc-unity/35004 "2022-02-06T09:55:11Z")

</div>

Hi I need to send messages to different proccesing files and Unity + a websocket. I just can’t figure out how to send the received data from the websocket over to the processing file. This is my websocket: import webso…

[Previous page](https://discourse.processing.org/c/processing/6.md?page=91)

[Next page](https://discourse.processing.org/c/processing/6.md?page=93)
