# Latest

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

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

**Page:** 43

---

## [Shaded polygons in P2D renderer?](https://discourse.processing.org/t/shaded-polygons-in-p2d-renderer/44335)

<div class="topic-metadata">

**Author:** [@grege2](https://discourse.processing.org/u/grege2)\
**Replies:** 5\
**Last updated:** [April 30, 2024, 9:09pm UTC](https://discourse.processing.org/t/shaded-polygons-in-p2d-renderer/44335 "2024-04-30T21:09:06Z")

</div>

Hi all, Dumb question coming, apologies … Can anyone confirm whether shaded polygons are possible in any way, under the P2D renderer ? I mean just the traditional Gouraud-shaded style, sim. to this example examples | p…

---

## [Using array of images to spawn enemies in game](https://discourse.processing.org/t/using-array-of-images-to-spawn-enemies-in-game/44341)

<div class="topic-metadata">

**Author:** [@dsdsdsds](https://discourse.processing.org/u/dsdsdsds)\
**Replies:** 9\
**Last updated:** [April 30, 2024, 8:48pm UTC](https://discourse.processing.org/t/using-array-of-images-to-spawn-enemies-in-game/44341 "2024-04-30T20:48:43Z")

</div>

Hi, I’m new to Processing and I’m trying to create a part of the game where enemies appear on the left side of the screen and move towards the right side of the screen in a 5 second interval. I’m using an array of image…

---

## [G4P textArea Questions (delete text in textArea, textArea text jittering)](https://discourse.processing.org/t/g4p-textarea-questions-delete-text-in-textarea-textarea-text-jittering/28645)

<div class="topic-metadata">

**Author:** [@C-Level-Increment](https://discourse.processing.org/u/C-Level-Increment)\
**Replies:** 17\
**Last updated:** [April 29, 2024, 3:16pm UTC](https://discourse.processing.org/t/g4p-textarea-questions-delete-text-in-textarea-textarea-text-jittering/28645 "2024-04-29T15:16:34Z")

</div>

Hi There, first of all: the G4P GUI builder is awesome, thanks for such a great tool. I am using the tool together with the grafica library to make a graphic plotter applet with multiple windows (main, settings, help…)…

---

## [Trying to convert shadertoy 'ping pong feedback' buffer(?) to Processing](https://discourse.processing.org/t/trying-to-convert-shadertoy-ping-pong-feedback-buffer-to-processing/43863)

<div class="topic-metadata">

**Author:** [@psamead](https://discourse.processing.org/u/psamead)\
**Replies:** 13\
**Last updated:** [April 28, 2024, 11:27pm UTC](https://discourse.processing.org/t/trying-to-convert-shadertoy-ping-pong-feedback-buffer-to-processing/43863 "2024-04-28T23:27:19Z")

</div>

Hi my friends, I am trying to convert this shadertoy effect to the porcessing with shaders. In the shadertoy solution, it appears the Buffer A tap loads a channel with a buffer b and the Buffer C tap loads channel with…

---

## [Operations on TableRow object? Can't find sum](https://discourse.processing.org/t/operations-on-tablerow-object-cant-find-sum/44360)

<div class="topic-metadata">

**Author:** [@syzygy](https://discourse.processing.org/u/syzygy)\
**Replies:** 6\
**Last updated:** [April 28, 2024, 9:55pm UTC](https://discourse.processing.org/t/operations-on-tablerow-object-cant-find-sum/44360 "2024-04-28T21:55:52Z")

</div>

/\*data.csv looks like this- header 1, 1, 1, \*/ Table table; table = loadTable("…

---

## [Problem with storing packed-data in a texture](https://discourse.processing.org/t/problem-with-storing-packed-data-in-a-texture/44317)

<div class="topic-metadata">

**Author:** [@Jon](https://discourse.processing.org/u/Jon)\
**Replies:** 17\
**Last updated:** [April 26, 2024, 10:59pm UTC](https://discourse.processing.org/t/problem-with-storing-packed-data-in-a-texture/44317 "2024-04-26T22:59:35Z")

</div>

Hello forum members, I’m new to using shaders in Processing and need some help please. There is something I don’t understand about my code and I’m hoping one of you experts will be able to give me some guidance. In sum…

---

## [Export sketch (using G4P) successful, but app run fails](https://discourse.processing.org/t/export-sketch-using-g4p-successful-but-app-run-fails/44345)

<div class="topic-metadata">

**Author:** [@Marcel](https://discourse.processing.org/u/Marcel)\
**Replies:** 7\
**Last updated:** [April 26, 2024, 8:25pm UTC](https://discourse.processing.org/t/export-sketch-using-g4p-successful-but-app-run-fails/44345 "2024-04-26T20:25:51Z")

</div>

Hey There, I did searched for any similar problems on the forum but unlucky to find anything that could help me further. I’ve created a sketch, using G4P, exported the file successfully ( Processing feedback window : …

---

## [Editor.p5js.org server not available](https://discourse.processing.org/t/editor-p5js-org-server-not-available/44334)

<div class="topic-metadata">

**Author:** [@Laurent](https://discourse.processing.org/u/Laurent)\
**Replies:** 8\
**Last updated:** [April 26, 2024, 9:01am UTC](https://discourse.processing.org/t/editor-p5js-org-server-not-available/44334 "2024-04-26T09:01:52Z")

</div>

Hi everyone, Sorry if I’m repeating another recent published topic (that I’ve not found yet) but the online p5js editor (editor.p5js.org) is no more online. It’s actually what Cloudflare says. It seems the problem has b…

---

## [Help for Raspberry Pi Processing IDE](https://discourse.processing.org/t/help-for-raspberry-pi-processing-ide/44299)

<div class="topic-metadata">

**Author:** [@uwugirl](https://discourse.processing.org/u/uwugirl)\
**Replies:** 0\
**Last updated:** [April 17, 2024, 8:44am UTC](https://discourse.processing.org/t/help-for-raspberry-pi-processing-ide/44299 "2024-04-17T08:44:46Z")

</div>

Hi everyone, I recently saw a Arduino ultrasonic radar using arduino ide and processing. i am using raspberry pi 4b, and i had some trouble downloading the processing ide. when i downloaded it, it gave me this error. …

---

## [Missing overlay elements!](https://discourse.processing.org/t/missing-overlay-elements/44351)

<div class="topic-metadata">

**Author:** [@Unnikrishna](https://discourse.processing.org/u/Unnikrishna)\
**Replies:** 6\
**Last updated:** [April 25, 2024, 6:03pm UTC](https://discourse.processing.org/t/missing-overlay-elements/44351 "2024-04-25T18:03:28Z")

</div>

My background image is loading correctly. However, the overlay elements above the background image is not appearing. These are the overlay elements not appearing: Draw overlay, Draw Agent, Agent, Draw agents with dynami…

---

## [Analyze sound without playing it out loud](https://discourse.processing.org/t/analyze-sound-without-playing-it-out-loud/44339)

<div class="topic-metadata">

**Author:** [@lucedan](https://discourse.processing.org/u/lucedan)\
**Replies:** 1\
**Last updated:** [April 25, 2024, 11:35am UTC](https://discourse.processing.org/t/analyze-sound-without-playing-it-out-loud/44339 "2024-04-25T11:35:05Z")

</div>

Hello, I am creating a patch to add visuals to my musical composition. So, I am planning to have a number of musical channels (in and out) in SuperCollider. Then, I would like to listen to have Processing listen to thes…

---

## [Help: Arduino Joystick Shield tracing a wave](https://discourse.processing.org/t/help-arduino-joystick-shield-tracing-a-wave/44295)

<div class="topic-metadata">

**Author:** [@jzeng21](https://discourse.processing.org/u/jzeng21)\
**Replies:** 1\
**Last updated:** [April 25, 2024, 10:57am UTC](https://discourse.processing.org/t/help-arduino-joystick-shield-tracing-a-wave/44295 "2024-04-25T10:57:37Z")

</div>

The goal of my project is using a ardunino leonardo with a joystick shield to trace a wave in processing. The joystick is able to control the y axis of the cursor (red dot) and the x is static. A generated wave moves acr…

---

## [Array and PGraphics](https://discourse.processing.org/t/array-and-pgraphics/44344)

<div class="topic-metadata">

**Author:** [@Erif](https://discourse.processing.org/u/Erif)\
**Replies:** 4\
**Last updated:** [April 24, 2024, 8:05pm UTC](https://discourse.processing.org/t/array-and-pgraphics/44344 "2024-04-24T20:05:55Z")

</div>

Hi everyone, I’m trying to run this PGraphics example where the output is shown in an off-screen graphics buffer (3000x3000 canvas), however it seems the mouseX,mouseY coordinates are being taken from the actual 500x500…

---

## [Using p5 variables and functions outside setup and draw](https://discourse.processing.org/t/using-p5-variables-and-functions-outside-setup-and-draw/44336)

<div class="topic-metadata">

**Author:** [@slacle](https://discourse.processing.org/u/slacle)\
**Replies:** 2\
**Last updated:** [April 24, 2024, 11:28am UTC](https://discourse.processing.org/t/using-p5-variables-and-functions-outside-setup-and-draw/44336 "2024-04-24T11:28:48Z")

</div>

Just making sure… p5 variables such as width and height, and p5 functions such as rect() and fill() can be used outside setup() and draw() as long as they’re in a function that is called from within either setup() or dr…

---

## [I need help with my flappy bird game (second round not working)](https://discourse.processing.org/t/i-need-help-with-my-flappy-bird-game-second-round-not-working/44328)

<div class="topic-metadata">

**Author:** [@Sterling](https://discourse.processing.org/u/Sterling)\
**Replies:** 3\
**Last updated:** [April 23, 2024, 5:45am UTC](https://discourse.processing.org/t/i-need-help-with-my-flappy-bird-game-second-round-not-working/44328 "2024-04-23T05:45:16Z")

</div>

Hi, so I’m very new to p5.js and I’m trying to make a basic flappy bird game with two levels. This is pretty much my first project in p5. So my first level is working how I want it to, if the player survives until the t…

---

## [Player() class flies itself into the void on run](https://discourse.processing.org/t/player-class-flies-itself-into-the-void-on-run/44332)

<div class="topic-metadata">

**Author:** [@Superfixion16](https://discourse.processing.org/u/Superfixion16)\
**Replies:** 1\
**Last updated:** [April 23, 2024, 1:31am UTC](https://discourse.processing.org/t/player-class-flies-itself-into-the-void-on-run/44332 "2024-04-23T01:31:54Z")

</div>

Im working on creating movable players and wall collisions for my maze game, but whenever I run the code my player model instantly flies itself upwards. I know it’s something within my collision function, but I’ve looked…

---

## [New tab in Processing](https://discourse.processing.org/t/new-tab-in-processing/44330)

<div class="topic-metadata">

**Author:** [@Simon1](https://discourse.processing.org/u/Simon1)\
**Replies:** 6\
**Last updated:** [April 22, 2024, 7:57pm UTC](https://discourse.processing.org/t/new-tab-in-processing/44330 "2024-04-22T19:57:25Z")

</div>

Can someone please tell how to add code to a new tab please?

---

## [Feature Request - Mouse button logic](https://discourse.processing.org/t/feature-request-mouse-button-logic/44325)

<div class="topic-metadata">

**Author:** [@Renatolo](https://discourse.processing.org/u/Renatolo)\
**Replies:** 1\
**Last updated:** [April 22, 2024, 11:49am UTC](https://discourse.processing.org/t/feature-request-mouse-button-logic/44325 "2024-04-22T11:49:50Z")

</div>

Hey, I recently fixed a bug related to the mouseButton (source/events/mouse.js) variable and im currently thinking about implementing a new feature where I further change the logic arround this variable (mantaining its c…

---

## [Hide navigation bar?](https://discourse.processing.org/t/hide-navigation-bar/43400)

<div class="topic-metadata">

**Author:** [@dtmr](https://discourse.processing.org/u/dtmr)\
**Replies:** 13\
**Last updated:** [April 22, 2024, 9:36am UTC](https://discourse.processing.org/t/hide-navigation-bar/43400 "2024-04-22T09:36:47Z")

</div>

Is there a way? For Android 4 upwards (= Android without navigation by gestures)?

---

## [Simple animation question about framerate and stepmotion](https://discourse.processing.org/t/simple-animation-question-about-framerate-and-stepmotion/44275)

<div class="topic-metadata">

**Author:** [@bcabc](https://discourse.processing.org/u/bcabc)\
**Replies:** 5\
**Last updated:** [April 21, 2024, 10:12am UTC](https://discourse.processing.org/t/simple-animation-question-about-framerate-and-stepmotion/44275 "2024-04-21T10:12:53Z")

</div>

hi there - i am attempting to make an ellipse that grows from a small size to a large size, over and over again. i like the effect it makes when it leaves an imprint of its stroke at each step, similar to how a tree sho…

---

## [Digitech Retro Arcade Game Controller](https://discourse.processing.org/t/digitech-retro-arcade-game-controller/44313)

<div class="topic-metadata">

**Author:** [@tribblesontoast](https://discourse.processing.org/u/tribblesontoast)\
**Replies:** 5\
**Last updated:** [April 19, 2024, 7:40pm UTC](https://discourse.processing.org/t/digitech-retro-arcade-game-controller/44313 "2024-04-19T19:40:07Z")

</div>

Hi all, long time no see. Salient info: 2021 M1 Mac Sonoma 14.4.1 I have just received a Digitech Retro Arcade Game Controller that I’d like to incorporate into my processing projects. I assumed ( and after talking t…

---

## [Simulate book pages turning reacting to mouse (bezier)](https://discourse.processing.org/t/simulate-book-pages-turning-reacting-to-mouse-bezier/44284)

<div class="topic-metadata">

**Author:** [@slacle](https://discourse.processing.org/u/slacle)\
**Replies:** 21\
**Last updated:** [April 19, 2024, 8:24am UTC](https://discourse.processing.org/t/simulate-book-pages-turning-reacting-to-mouse-bezier/44284 "2024-04-19T08:24:48Z")

</div>

I’m trying to create a simulation of book pages that turn left or right depending on where the mouse is. Kind of as if the mouse is the wind and the pages go in its direction one by one. This is how it should look like: …

---

## [Solar system animation issue](https://discourse.processing.org/t/solar-system-animation-issue/44308)

<div class="topic-metadata">

**Author:** [@Ray0204](https://discourse.processing.org/u/Ray0204)\
**Replies:** 5\
**Last updated:** [April 19, 2024, 6:39am UTC](https://discourse.processing.org/t/solar-system-animation-issue/44308 "2024-04-19T06:39:34Z")

</div>

Hi, everyone, I encountered an issue while creating a solar system animation in Python mode. When running the program, instead of the new planets orbiting the sun, they rapidly flicker and then disappear. Upon single-fra…

---

## [How to open multiple windows?](https://discourse.processing.org/t/how-to-open-multiple-windows/44271)

<div class="topic-metadata">

**Author:** [@WillyGrz](https://discourse.processing.org/u/WillyGrz)\
**Replies:** 3\
**Last updated:** [April 19, 2024, 1:06am UTC](https://discourse.processing.org/t/how-to-open-multiple-windows/44271 "2024-04-19T01:06:18Z")

</div>

When you’re messing around for fun or something, I’m able to make the window move or resize if I want to. Is there a way to open multiple windows with the same code?

---

## [How make game independent of frame rate](https://discourse.processing.org/t/how-make-game-independent-of-frame-rate/44312)

<div class="topic-metadata">

**Author:** [@payalo](https://discourse.processing.org/u/payalo)\
**Replies:** 1\
**Last updated:** [April 18, 2024, 4:40pm UTC](https://discourse.processing.org/t/how-make-game-independent-of-frame-rate/44312 "2024-04-18T16:40:18Z")

</div>

how i can make game independent of frame rate? example: frame rate is 360 = all functions are perform 360 times per second frame rate is 240 = all functions are perform 240 times per second frame rate is 120 = all fu…

---

## [How can I delete unused assets ?](https://discourse.processing.org/t/how-can-i-delete-unused-assets/44288)

<div class="topic-metadata">

**Author:** [@slaine](https://discourse.processing.org/u/slaine)\
**Replies:** 2\
**Last updated:** [April 18, 2024, 12:05pm UTC](https://discourse.processing.org/t/how-can-i-delete-unused-assets/44288 "2024-04-18T12:05:30Z")

</div>

Hello, I’m Sylvie from France. I’m trying to use P5.js to create digital artworks. My knowledge of code is still basic but I’m learning. Here’s my problem: Yesterday, I created an account, and uploaded 78 PNG images fro…

---

## [Help on creating very simple game in Python mode](https://discourse.processing.org/t/help-on-creating-very-simple-game-in-python-mode/44279)

<div class="topic-metadata">

**Author:** [@givetosurfrider](https://discourse.processing.org/u/givetosurfrider)\
**Replies:** 2\
**Last updated:** [April 17, 2024, 6:00pm UTC](https://discourse.processing.org/t/help-on-creating-very-simple-game-in-python-mode/44279 "2024-04-17T18:00:21Z")

</div>

I am trying to create the simplest game in python mode for my class. I have created a very very simple “whack-a-mole” type game. It generally works except when i click outside of the circle, the score updates, but just w…

---

## [How to Access Class Properties in While Loop](https://discourse.processing.org/t/how-to-access-class-properties-in-while-loop/44282)

<div class="topic-metadata">

**Author:** [@Thundercat](https://discourse.processing.org/u/Thundercat)\
**Replies:** 26\
**Last updated:** [April 16, 2024, 1:50pm UTC](https://discourse.processing.org/t/how-to-access-class-properties-in-while-loop/44282 "2024-04-16T13:50:37Z")

</div>

Hi, I’ve got a sketch with a separate class file for buttons. I’m making an app, and I want to be able to click a button and run a void for serial communication. The void needs to be in its own loop so it can wait for se…

---

## [Programs not compiling anymore for ANDROID](https://discourse.processing.org/t/programs-not-compiling-anymore-for-android/44239)

<div class="topic-metadata">

**Author:** [@MPROCD](https://discourse.processing.org/u/MPROCD)\
**Replies:** 4\
**Last updated:** [April 14, 2024, 3:20pm UTC](https://discourse.processing.org/t/programs-not-compiling-anymore-for-android/44239 "2024-04-14T15:20:12Z")

</div>

Hello I have been working with Processing 3.5.3 for a long time and developed several APPS for my smartphone using the ANDROID mode. A few days ago, when I tried to compile a new Processing program, I got a lot of erro…

---

## [Information Storage in the Weighted Sum](https://discourse.processing.org/t/information-storage-in-the-weighted-sum/44277)

<div class="topic-metadata">

**Author:** [@seanc4s](https://discourse.processing.org/u/seanc4s)\
**Replies:** 0\
**Last updated:** [April 14, 2024, 9:25am UTC](https://discourse.processing.org/t/information-storage-in-the-weighted-sum/44277 "2024-04-14T09:25:10Z")

</div>

The weighted sum is used for a lot of things. I suppose currently it is most being used for neural networks. Maybe a billion trillion are calculated every day. And yet the neural network books don’t go any deeper than i…

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

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