# Latest

**URL:** https://discourse.processing.org/latest.md?no_subcategories=false&page=158

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

**Page:** 159

---

## [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…

---

## [How to crop to shape in hand-drawn image?](https://discourse.processing.org/t/how-to-crop-to-shape-in-hand-drawn-image/35088)

<div class="topic-metadata">

**Author:** [@jacobsmith](https://discourse.processing.org/u/jacobsmith)\
**Replies:** 0\
**Last updated:** [February 11, 2022, 3:46am UTC](https://discourse.processing.org/t/how-to-crop-to-shape-in-hand-drawn-image/35088 "2022-02-11T03:46:44Z")

</div>

I’m trying to make a p5.js version of something similar to https://www.youtube.com/watch?v=zBeHOAfemEA where you can draw a fish or other sea creature, take a picture, and have it appear on the screen “swimming” with oth…

---

## [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;…

---

## [Use of "F1" KEY in p5.js](https://discourse.processing.org/t/use-of-f1-key-in-p5-js/35055)

<div class="topic-metadata">

**Author:** [@Rolembeek](https://discourse.processing.org/u/Rolembeek)\
**Replies:** 4\
**Last updated:** [February 10, 2022, 2:39pm UTC](https://discourse.processing.org/t/use-of-f1-key-in-p5-js/35055 "2022-02-10T14:39:39Z")

</div>

Hi all, In my program I use the “h” key to bring up a kind of “Help Menu”. This works very well but I would like to replace it by a more “standard” use of the “F1” key (keyCode = 112). Whenever I use the F1 key the “nor…

---

## [Solarsystem Simulation (Early Access)](https://discourse.processing.org/t/solarsystem-simulation-early-access/28828)

<div class="topic-metadata">

**Author:** [@SamTech](https://discourse.processing.org/u/SamTech)\
**Replies:** 5\
**Last updated:** [February 10, 2022, 12:53pm UTC](https://discourse.processing.org/t/solarsystem-simulation-early-access/28828 "2022-02-10T12:53:59Z")

</div>

Most of the simulations of our solar system show us planets that are stably orbiting the sun. But they are actually not in a stable orbit. So I coded a simulation that takes real life data and calculates the orbits in ho…

---

## [Next creative technology 8x8 meetup is in March](https://discourse.processing.org/t/next-creative-technology-8x8-meetup-is-in-march/35072)

<div class="topic-metadata">

**Author:** [@tomchambers](https://discourse.processing.org/u/tomchambers)\
**Replies:** 0\
**Last updated:** [February 10, 2022, 10:22am UTC](https://discourse.processing.org/t/next-creative-technology-8x8-meetup-is-in-march/35072 "2022-02-10T10:22:19Z")

</div>

:framed\_picture::robot: 8x8 is a peer community of people who make art with technology. Each month we get together to share what we’ve been working on and get feedback. It’s all about coming together to learn from, share…

---

## [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…

---

## [Sketches disappearing from p5js web editor](https://discourse.processing.org/t/sketches-disappearing-from-p5js-web-editor/34544)

<div class="topic-metadata">

**Author:** [@basicvisual](https://discourse.processing.org/u/basicvisual)\
**Replies:** 4\
**Last updated:** [February 9, 2022, 5:30pm UTC](https://discourse.processing.org/t/sketches-disappearing-from-p5js-web-editor/34544 "2022-02-09T17:30:41Z")

</div>

Hi , I had a few sketches uploaded on p5js web editor. However when i logged into it post vacation , the sketches seem to have disappeared. Has anyone else faced similar problem ?

---

## [Can't load library](https://discourse.processing.org/t/cant-load-library/23466)

<div class="topic-metadata">

**Author:** [@H1rono\_K](https://discourse.processing.org/u/H1rono_K)\
**Replies:** 7\
**Last updated:** [February 9, 2022, 5:11pm UTC](https://discourse.processing.org/t/cant-load-library/23466 "2022-02-09T17:11:53Z")

</div>

Hi! This is my first topic in this forum, and I’m not English native speaker. So it may be difficult for you to understand what the problem is. But please help me. I want to use Processing.py from command-line. Refer to…

---

## [How to create this kind of curve?](https://discourse.processing.org/t/how-to-create-this-kind-of-curve/35011)

<div class="topic-metadata">

**Author:** [@liukov](https://discourse.processing.org/u/liukov)\
**Replies:** 12\
**Last updated:** [February 9, 2022, 3:23pm UTC](https://discourse.processing.org/t/how-to-create-this-kind-of-curve/35011 "2022-02-09T15:23:14Z")

</div>

Hello, I recently found about this animation on instagram and wonder how it was made. Do you have any idea how to create a similar shape ? By similar I mean a closed space-filling curve with pleats of similar size …

---

## [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. …

---

## [Embed a py.processing sketch to the web for easy sharing?](https://discourse.processing.org/t/embed-a-py-processing-sketch-to-the-web-for-easy-sharing/19060)

<div class="topic-metadata">

**Author:** [@abouffard](https://discourse.processing.org/u/abouffard)\
**Replies:** 6\
**Last updated:** [February 8, 2022, 9:53pm UTC](https://discourse.processing.org/t/embed-a-py-processing-sketch-to-the-web-for-easy-sharing/19060 "2022-02-08T21:53:37Z")

</div>

Hello, it took me Covid confinement to eventually start developing the little hitch-hiking mini-game I had in mind! I turned to Processing to develop it quickly (involves a moving car with random color, and a pedestria…

---

## [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

---

## [Hungry Flower Game: the buttons are not centered in browser, unlike they are in Brackets live preview](https://discourse.processing.org/t/hungry-flower-game-the-buttons-are-not-centered-in-browser-unlike-they-are-in-brackets-live-preview/35041)

<div class="topic-metadata">

**Author:** [@Persica](https://discourse.processing.org/u/Persica)\
**Replies:** 0\
**Last updated:** [February 8, 2022, 11:14am UTC](https://discourse.processing.org/t/hungry-flower-game-the-buttons-are-not-centered-in-browser-unlike-they-are-in-brackets-live-preview/35041 "2022-02-08T11:14:08Z")

</div>

Hey all, I made a game about a hungry flower here. The problem is that the buttons are no longer centered, nor the commanded size once placed on my website. To give an example I’ll attach how they appear in my brackets…

---

## [Sketch conversion Processing to p5.js](https://discourse.processing.org/t/sketch-conversion-processing-to-p5-js/35037)

<div class="topic-metadata">

**Author:** [@CoPiQuMi](https://discourse.processing.org/u/CoPiQuMi)\
**Replies:** 4\
**Last updated:** [February 8, 2022, 4:58pm UTC](https://discourse.processing.org/t/sketch-conversion-processing-to-p5-js/35037 "2022-02-08T16:58:23Z")

</div>

Hi everyone, My apologies if my message may no respect some of the rules of the community, this is my first one. I’ll try to do my best ! I’m trying to convert the following processing sketch to p5.js, I think I manage…

---

## [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…

---

## [It's like staring at the sun](https://discourse.processing.org/t/its-like-staring-at-the-sun/35040)

<div class="topic-metadata">

**Author:** [@hotfooted](https://discourse.processing.org/u/hotfooted)\
**Replies:** 5\
**Last updated:** [February 8, 2022, 11:20am UTC](https://discourse.processing.org/t/its-like-staring-at-the-sun/35040 "2022-02-08T11:20:09Z")

</div>

We need a night mode. 3am this site kills my eyes.

---

## [beginShape and custom shaders](https://discourse.processing.org/t/beginshape-and-custom-shaders/35021)

<div class="topic-metadata">

**Author:** [@matthewortega](https://discourse.processing.org/u/matthewortega)\
**Replies:** 3\
**Last updated:** [February 8, 2022, 10:58am UTC](https://discourse.processing.org/t/beginshape-and-custom-shaders/35021 "2022-02-08T10:58:16Z")

</div>

I have written a custom shader to be applied to shapes, and is applying correctly. For some reason, if I create custom shape using beginShape() the shader is not applied even though it hasn’t been reset. Any pointers on …

---

## [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…

[Previous page](https://discourse.processing.org/latest.md?no_subcategories=false&page=157)

[Next page](https://discourse.processing.org/latest.md?no_subcategories=false&page=159)
