# Latest

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

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

**Page:** 122

---

## [Android controlP5 button issue](https://discourse.processing.org/t/android-controlp5-button-issue/27001)

<div class="topic-metadata">

**Author:** [@jafal](https://discourse.processing.org/u/jafal)\
**Replies:** 12\
**Last updated:** [August 6, 2022, 3:26pm UTC](https://discourse.processing.org/t/android-controlp5-button-issue/27001 "2022-08-06T15:26:06Z")

</div>

In Android is producing a strange behavior. Need to click twice, one for highlight and other to call the action. Also if a button is highlighted and you press in other part of the screen, the result is that the button …

---

## [Quad in WEBGL is hidden or shown with diagonal line](https://discourse.processing.org/t/quad-in-webgl-is-hidden-or-shown-with-diagonal-line/38233)

<div class="topic-metadata">

**Author:** [@yedu](https://discourse.processing.org/u/yedu)\
**Replies:** 3\
**Last updated:** [August 6, 2022, 8:14am UTC](https://discourse.processing.org/t/quad-in-webgl-is-hidden-or-shown-with-diagonal-line/38233 "2022-08-06T08:14:18Z")

</div>

In the following code, I expect to see two quads displayed on the canvas, but only the blue one shows up, and it shows up with a diagonal line between its two vertexes. How can I get rid of the diagonal line? How come …

---

## [I wanted to know if it is possible to download a zip or other archive to work with it in the future](https://discourse.processing.org/t/i-wanted-to-know-if-it-is-possible-to-download-a-zip-or-other-archive-to-work-with-it-in-the-future/38234)

<div class="topic-metadata">

**Author:** [@urlxd](https://discourse.processing.org/u/urlxd)\
**Replies:** 2\
**Last updated:** [August 6, 2022, 5:06am UTC](https://discourse.processing.org/t/i-wanted-to-know-if-it-is-possible-to-download-a-zip-or-other-archive-to-work-with-it-in-the-future/38234 "2022-08-06T05:06:59Z")

</div>

hello, I wanted to know if it is possible to download a zip or other archive to work with it in the future. Or somehow with folders if they are called “1-1”, “1-2”, “1-3”. It is not convenient to work when everything i…

---

## [Detect Right and left mouse click](https://discourse.processing.org/t/detect-right-and-left-mouse-click/38239)

<div class="topic-metadata">

**Author:** [@jensemand](https://discourse.processing.org/u/jensemand)\
**Replies:** 3\
**Last updated:** [August 5, 2022, 6:12pm UTC](https://discourse.processing.org/t/detect-right-and-left-mouse-click/38239 "2022-08-05T18:12:12Z")

</div>

Hi, I’ve got the problem that I want to detect via a boolean when I press either my left or my right mouse bottom, however, it seems I can’t do it with keyCode. It would really help a lot if someone could make a small p…

---

## [Disable display](https://discourse.processing.org/t/disable-display/38236)

<div class="topic-metadata">

**Author:** [@mothsa](https://discourse.processing.org/u/mothsa)\
**Replies:** 1\
**Last updated:** [August 5, 2022, 3:25pm UTC](https://discourse.processing.org/t/disable-display/38236 "2022-08-05T15:25:21Z")

</div>

Hi everyone, This is my first time using processing, and I’d like to generate png files when running processing code from command-line. This part works fine, but I’m having trouble disabling previews. I saw this tutoria…

---

## [Processing error with display attached to MacBook](https://discourse.processing.org/t/processing-error-with-display-attached-to-macbook/38216)

<div class="topic-metadata">

**Author:** [@steve\_j](https://discourse.processing.org/u/steve_j)\
**Replies:** 3\
**Last updated:** [August 5, 2022, 11:51am UTC](https://discourse.processing.org/t/processing-error-with-display-attached-to-macbook/38216 "2022-08-05T11:51:36Z")

</div>

Processing has stopped working when i have a high res monitor attached to my M1 macbook. This only occurs when using a USB C out, HDMI works fine at 3840 x 2160 Running USB C out to a 3840 x 2160 display works fine als…

---

## [Noise() periodicity different in each dimension?](https://discourse.processing.org/t/noise-periodicity-different-in-each-dimension/38223)

<div class="topic-metadata">

**Author:** [@jeremym](https://discourse.processing.org/u/jeremym)\
**Replies:** 11\
**Last updated:** [August 4, 2022, 11:28pm UTC](https://discourse.processing.org/t/noise-periodicity-different-in-each-dimension/38223 "2022-08-04T23:28:56Z")

</div>

Through a bit of trial and error I’ve discovered that the period of perlin noise produced by the noise() function differs in each dimension. Specifically, the period in the x dimension is 4096 ,the period in the y dimens…

---

## [macOS exported application "Unable to load java runtime environment"](https://discourse.processing.org/t/macos-exported-application-unable-to-load-java-runtime-environment/38136)

<div class="topic-metadata">

**Author:** [@clauscarnival](https://discourse.processing.org/u/clauscarnival)\
**Replies:** 7\
**Last updated:** [August 4, 2022, 10:37pm UTC](https://discourse.processing.org/t/macos-exported-application-unable-to-load-java-runtime-environment/38136 "2022-08-04T22:37:16Z")

</div>

Hello there, I have run into trouble with my exported sketch. I hope this is the right place for this. If I click on the exported app I get the warning “Unable to load java runtime environment”. But if I open the exec…

---

## [Programmatically step through every permutation of a 4x4 black and white grid](https://discourse.processing.org/t/programmatically-step-through-every-permutation-of-a-4x4-black-and-white-grid/38133)

<div class="topic-metadata">

**Author:** [@heyneff](https://discourse.processing.org/u/heyneff)\
**Replies:** 8\
**Last updated:** [August 2, 2022, 8:41am UTC](https://discourse.processing.org/t/programmatically-step-through-every-permutation-of-a-4x4-black-and-white-grid/38133 "2022-08-02T08:41:21Z")

</div>

I’ve been getting refamiliarized with processing after a long stint away and have hit the limits of combining tutorials and my foggy memory. My goal is: 1) create a 4 x 4 grid 2) Programmatically step through all 16k+ b…

---

## [Problem with lines/curves in P3D](https://discourse.processing.org/t/problem-with-lines-curves-in-p3d/38151)

<div class="topic-metadata">

**Author:** [@arTwirr](https://discourse.processing.org/u/arTwirr)\
**Replies:** 5\
**Last updated:** [August 4, 2022, 2:58pm UTC](https://discourse.processing.org/t/problem-with-lines-curves-in-p3d/38151 "2022-08-04T14:58:32Z")

</div>

Hi, I started using processing a few days ago and encountered a problem. In order to use Spout, I had to change renderer to P3D, but P3D lines/curves work a bit differently than in default renderer. There happens a bug …

---

## [Searching the internet](https://discourse.processing.org/t/searching-the-internet/38219)

<div class="topic-metadata">

**Author:** [@TheGreatTardonio](https://discourse.processing.org/u/TheGreatTardonio)\
**Replies:** 0\
**Last updated:** [August 4, 2022, 12:15pm UTC](https://discourse.processing.org/t/searching-the-internet/38219 "2022-08-04T12:15:38Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Let’s say I’m writing a program and I want it to be able to search the internet, for example I want it to search google with “What’s X lightyear…

---

## [Change shape when changing directions](https://discourse.processing.org/t/change-shape-when-changing-directions/34315)

<div class="topic-metadata">

**Author:** [@marina\_kdot](https://discourse.processing.org/u/marina_kdot)\
**Replies:** 7\
**Last updated:** [August 4, 2022, 8:27am UTC](https://discourse.processing.org/t/change-shape-when-changing-directions/34315 "2022-08-04T08:27:24Z")

</div>

I am working through “Coding Art” and there is an extra task I am not able to solve until now. I am really a beginner and this task seems quite hard without coding experience at all. I have Particles moving in a circle …

---

## [Why does the frameRate drop so much when I load about 100 pictures into the program](https://discourse.processing.org/t/why-does-the-framerate-drop-so-much-when-i-load-about-100-pictures-into-the-program/38196)

<div class="topic-metadata">

**Author:** [@urlxd](https://discourse.processing.org/u/urlxd)\
**Replies:** 8\
**Last updated:** [August 3, 2022, 5:28am UTC](https://discourse.processing.org/t/why-does-the-framerate-drop-so-much-when-i-load-about-100-pictures-into-the-program/38196 "2022-08-03T05:28:04Z")

</div>

hello, i would like to know. why does the frameRate drop so much when I load about 100 pictures into the program. And how to fix it. Pictures from one color, with squares there is no such thing. :neutral\_face:

---

## [Can't open Processing 4 from Raspberry Pi 4](https://discourse.processing.org/t/cant-open-processing-4-from-raspberry-pi-4/38200)

<div class="topic-metadata">

**Author:** [@hyang](https://discourse.processing.org/u/hyang)\
**Replies:** 2\
**Last updated:** [August 3, 2022, 7:42pm UTC](https://discourse.processing.org/t/cant-open-processing-4-from-raspberry-pi-4/38200 "2022-08-03T19:42:24Z")

</div>

I am trying to install and run the Processing 4.0b8-Linux-arm64 on my Raspberry Pi 4 Model B with 1.5GHz 64-bit quad-core ARMv8 CPU. After downloading the package from the Processing download page, I extracted everythin…

---

## [Does anyone know how to convert processing to p5.js?](https://discourse.processing.org/t/does-anyone-know-how-to-convert-processing-to-p5-js/38212)

<div class="topic-metadata">

**Author:** [@Dazsha](https://discourse.processing.org/u/Dazsha)\
**Replies:** 1\
**Last updated:** [August 3, 2022, 5:03pm UTC](https://discourse.processing.org/t/does-anyone-know-how-to-convert-processing-to-p5-js/38212 "2022-08-03T17:03:25Z")

</div>

please format code with \</\> button \* homework policy \* asking questions This is the processing code that I’d like to convert Particle\[\] particles; float alpha; void setup() { size(1112, 834); background(0); …

---

## [How to fix ClassCastException error in Processing?](https://discourse.processing.org/t/how-to-fix-classcastexception-error-in-processing/38208)

<div class="topic-metadata">

**Author:** [@michele\_rinaldi](https://discourse.processing.org/u/michele_rinaldi)\
**Replies:** 1\
**Last updated:** [August 3, 2022, 2:24pm UTC](https://discourse.processing.org/t/how-to-fix-classcastexception-error-in-processing/38208 "2022-08-03T14:24:35Z")

</div>

Hi! I’m working on a project that involves two PCs that simultaneously share and exchange the webcam source and send it, modified, to the other PC. The script I’m relying on I found at https://github.com/torb-xyz/proce…

---

## [Download empty projects! - Bug!?](https://discourse.processing.org/t/download-empty-projects-bug/38210)

<div class="topic-metadata">

**Author:** [@mandor](https://discourse.processing.org/u/mandor)\
**Replies:** 1\
**Last updated:** [August 3, 2022, 1:50pm UTC](https://discourse.processing.org/t/download-empty-projects-bug/38210 "2022-08-03T13:50:24Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hello, I am trying to download a project from p5.js online editor, and indeed it download all files of project folder, but those files are empty…

---

## [Creating variation in grid with random();](https://discourse.processing.org/t/creating-variation-in-grid-with-random/38175)

<div class="topic-metadata">

**Author:** [@asymmetric](https://discourse.processing.org/u/asymmetric)\
**Replies:** 8\
**Last updated:** [August 3, 2022, 11:06am UTC](https://discourse.processing.org/t/creating-variation-in-grid-with-random/38175 "2022-08-03T11:06:04Z")

</div>

Hi! I’m wondering how I can go about creating a grid like the example in the screenshot below. I’m interested in morphing the grid with randomness. How do I go about designing varying cells and joining them together as…

---

## [Brick Game/Interactions](https://discourse.processing.org/t/brick-game-interactions/38198)

<div class="topic-metadata">

**Author:** [@searchingforananswer](https://discourse.processing.org/u/searchingforananswer)\
**Replies:** 3\
**Last updated:** [August 3, 2022, 8:33am UTC](https://discourse.processing.org/t/brick-game-interactions/38198 "2022-08-03T08:33:21Z")

</div>

Hello everyone! I’m new at coding and processing. I’m looking for an urgent answer for a problem occured while i’m trying to do a Bricker Game. I’m at the phase where i try to the interactions with the ball and the paddl…

---

## [BlendMode（MULTIPLY) is slow in Firefox](https://discourse.processing.org/t/blendmode-multiply-is-slow-in-firefox/38156)

<div class="topic-metadata">

**Author:** [@Chi3010](https://discourse.processing.org/u/Chi3010)\
**Replies:** 4\
**Last updated:** [August 3, 2022, 3:29am UTC](https://discourse.processing.org/t/blendmode-multiply-is-slow-in-firefox/38156 "2022-08-03T03:29:19Z")

</div>

Hello! I have noticed quite a difference in rendering speed between browsers depending on blendMode. When I run the following code, it runs fast in Chrome and Edge, but slow in Firefox. function setup() { let c = cr…

---

## [Image Division Raster](https://discourse.processing.org/t/image-division-raster/38146)

<div class="topic-metadata">

**Author:** [@jeykech](https://discourse.processing.org/u/jeykech)\
**Replies:** 4\
**Last updated:** [August 2, 2022, 3:02pm UTC](https://discourse.processing.org/t/image-division-raster/38146 "2022-08-02T15:02:18Z")

</div>

hello guys, I am interested in creating a similar effect like this: I am interested in recreating this irregular grid effect that follows the brightness of different area…

---

## [How to access object by using it's name in string format?](https://discourse.processing.org/t/how-to-access-object-by-using-its-name-in-string-format/38182)

<div class="topic-metadata">

**Author:** [@Ghostsss](https://discourse.processing.org/u/Ghostsss)\
**Replies:** 9\
**Last updated:** [August 2, 2022, 2:46pm UTC](https://discourse.processing.org/t/how-to-access-object-by-using-its-name-in-string-format/38182 "2022-08-02T14:46:12Z")

</div>

Hello, In the following example: I want to get the p2.y using str. I searched a lot but couldn’t find how to do this. (I am new to java) Please Help. void setup(){ cord p1 = new cord(2,3); cord p2 = new cord(77,88)…

---

## [Why is my code not working when I'm trying to show and hide the navbar](https://discourse.processing.org/t/why-is-my-code-not-working-when-im-trying-to-show-and-hide-the-navbar/38195)

<div class="topic-metadata">

**Author:** [@dija\_321](https://discourse.processing.org/u/dija_321)\
**Replies:** 0\
**Last updated:** [August 2, 2022, 2:18pm UTC](https://discourse.processing.org/t/why-is-my-code-not-working-when-im-trying-to-show-and-hide-the-navbar/38195 "2022-08-02T14:18:45Z")

</div>

HTML: \<!doctype html\> navbar Home CSS: .container{ background-color: black; height:100vh; width:0vw; } JS: l…

---

## [How can I change Image background with mouse click?](https://discourse.processing.org/t/how-can-i-change-image-background-with-mouse-click/38189)

<div class="topic-metadata">

**Author:** [@steven](https://discourse.processing.org/u/steven)\
**Replies:** 6\
**Last updated:** [August 2, 2022, 1:04pm UTC](https://discourse.processing.org/t/how-can-i-change-image-background-with-mouse-click/38189 "2022-08-02T13:04:33Z")

</div>

I just want to make a 2D rpg games with the background of the game can change in different stages of the game. Please send help:((

---

## [Processing performance always worse on Pi 4](https://discourse.processing.org/t/processing-performance-always-worse-on-pi-4/36148)

<div class="topic-metadata">

**Author:** [@arcadeperfect](https://discourse.processing.org/u/arcadeperfect)\
**Replies:** 6\
**Last updated:** [August 1, 2022, 8:27pm UTC](https://discourse.processing.org/t/processing-performance-always-worse-on-pi-4/36148 "2022-08-01T20:27:18Z")

</div>

Hi, I’m trying to use a pi to make a graphical clock with processing. On the old pre-made OS image that had processing 3.4 preinstalled, simple sketches would run at a perfect 60 fps. That image runs the older Raspian …

---

## [An object-oriented wrapper for P5](https://discourse.processing.org/t/an-object-oriented-wrapper-for-p5/38180)

<div class="topic-metadata">

**Author:** [@SanzSeraph](https://discourse.processing.org/u/SanzSeraph)\
**Replies:** 6\
**Last updated:** [August 1, 2022, 3:04pm UTC](https://discourse.processing.org/t/an-object-oriented-wrapper-for-p5/38180 "2022-08-01T15:04:00Z")

</div>

I love the simplicity of p5 and the fact that it shies away from an object-oriented API. This actually makes it conceptually closer to how lower level languages work. However, I’m wondering if it would be valuable to ha…

---

## [Changing image background with given specific time](https://discourse.processing.org/t/changing-image-background-with-given-specific-time/38186)

<div class="topic-metadata">

**Author:** [@steven](https://discourse.processing.org/u/steven)\
**Replies:** 2\
**Last updated:** [August 1, 2022, 2:51pm UTC](https://discourse.processing.org/t/changing-image-background-with-given-specific-time/38186 "2022-08-01T14:51:56Z")

</div>

I’m 3rd year college student and I need a help about changing the image background with given specific time.

---

## [How to translate an object in Z - but keep its screen X and Y pos?](https://discourse.processing.org/t/how-to-translate-an-object-in-z-but-keep-its-screen-x-and-y-pos/38171)

<div class="topic-metadata">

**Author:** [@zenglenn](https://discourse.processing.org/u/zenglenn)\
**Replies:** 9\
**Last updated:** [July 31, 2022, 9:43pm UTC](https://discourse.processing.org/t/how-to-translate-an-object-in-z-but-keep-its-screen-x-and-y-pos/38171 "2022-07-31T21:43:51Z")

</div>

How would I move a 3d point away / toward the camera - but have its position locked on a particular screen x y coordinate?

---

## [Problems loading proyects with debian 11 (web editor & vscode)](https://discourse.processing.org/t/problems-loading-proyects-with-debian-11-web-editor-vscode/38178)

<div class="topic-metadata">

**Author:** [@carmavals](https://discourse.processing.org/u/carmavals)\
**Replies:** 0\
**Last updated:** [July 31, 2022, 8:27pm UTC](https://discourse.processing.org/t/problems-loading-proyects-with-debian-11-web-editor-vscode/38178 "2022-07-31T20:27:01Z")

</div>

Hi! I am having problems loading my proyects everytime I work on the web editor or in my code editor(vscode with the p5 extension). It runs slow every time I open it or save it and have to start again the laptop, but it …

---

## [Clip function crashes live html canvas (unresolved)](https://discourse.processing.org/t/clip-function-crashes-live-html-canvas-unresolved/38150)

<div class="topic-metadata">

**Author:** [@canslp](https://discourse.processing.org/u/canslp)\
**Replies:** 8\
**Last updated:** [July 31, 2022, 8:29am UTC](https://discourse.processing.org/t/clip-function-crashes-live-html-canvas-unresolved/38150 "2022-07-31T08:29:14Z")

</div>

not sure quite how to even phrase this question but i’m trying to use the clip function and it works fine on local processing, but in my live html canvas (with processing.js) invoking it in any capacity, even just using …

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

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